CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
test::Proj Class Referenceabstract

#include <Proj.hh>

+ Inheritance diagram for test::Proj:

Detailed Description

Definition at line 18 of file Proj.hh.

Public Member Functions

 Proj (fs::path _proj_dir, const BasicStructure< Site > &_prim, std::string _title, std::string _desc)
 
virtual ~Proj ()
 
std::string cd_and () const
 
virtual void check_init ()
 Check project initialization. More...
 
virtual void check_symmetry ()
 Check symmetry. More...
 
virtual void check_composition ()
 Check "casm composition". More...
 
virtual void check_bset ()=0
 Check "casm bset". More...
 
virtual void check_enum ()
 Check "casm enum". More...
 
virtual void check_select ()
 Check "casm select". More...
 
virtual void check_query ()
 Check "casm query". More...
 
void make ()
 Build a CASM project at 'proj_dir' using the prim. More...
 

Public Attributes

fs::path dir
 
BasicStructure< Siteprim
 
std::string title
 
std::string desc
 

Static Public Attributes

static std::vector< fs::path > & directory_list
 

Protected Member Functions

void _check_symmetry (int lat_pg_op, int lat_pg_class, int xtal_pg_op, int xtal_pg_class, int fg_op, int fg_class, std::string lat_pg_name, std::string xtal_pg_name)
 
template<typename Iterator >
void _check_composition_axes (Iterator begin, Iterator end)
 

Protected Attributes

Popen m_p
 
boost::smatch m_match
 
DirectoryStructure m_dirs
 
notstd::cloneable_ptr
< ProjectSettings
m_set
 

Constructor & Destructor Documentation

test::Proj::Proj ( fs::path  _proj_dir,
const BasicStructure< Site > &  _prim,
std::string  _title,
std::string  _desc 
)
inline

Definition at line 22 of file Proj.hh.

virtual test::Proj::~Proj ( )
inlinevirtual

Definition at line 32 of file Proj.hh.

Member Function Documentation

template<typename Iterator >
void test::Proj::_check_composition_axes ( Iterator  begin,
Iterator  end 
)
protected

Definition at line 101 of file Proj.hh.

void test::Proj::_check_symmetry ( int  lat_pg_op,
int  lat_pg_class,
int  xtal_pg_op,
int  xtal_pg_class,
int  fg_op,
int  fg_class,
std::string  lat_pg_name,
std::string  xtal_pg_name 
)
protected
std::string test::Proj::cd_and ( ) const
inline

Definition at line 39 of file Proj.hh.

virtual void test::Proj::check_bset ( )
pure virtual

Check "casm bset".

Implemented in test::FCCTernaryProj, and test::ZrOProj.

virtual void test::Proj::check_composition ( )
virtual

Check "casm composition".

Reimplemented in test::FCCTernaryProj, and test::ZrOProj.

virtual void test::Proj::check_enum ( )
virtual

Check "casm enum".

Reimplemented in test::FCCTernaryProj, and test::ZrOProj.

virtual void test::Proj::check_init ( )
virtual

Check project initialization.

virtual void test::Proj::check_query ( )
virtual

Check "casm query".

virtual void test::Proj::check_select ( )
virtual

Check "casm select".

virtual void test::Proj::check_symmetry ( )
virtual

Check symmetry.

Reimplemented in test::FCCTernaryProj, and test::ZrOProj.

void test::Proj::make ( )

Build a CASM project at 'proj_dir' using the prim.

Typically, proj_dir.filename() == title

Member Data Documentation

std::string test::Proj::desc

Definition at line 37 of file Proj.hh.

fs::path test::Proj::dir

Definition at line 34 of file Proj.hh.

std::vector<fs::path>& test::Proj::directory_list
static

Definition at line 69 of file Proj.hh.

DirectoryStructure test::Proj::m_dirs
protected

Definition at line 75 of file Proj.hh.

boost::smatch test::Proj::m_match
protected

Definition at line 74 of file Proj.hh.

Popen test::Proj::m_p
protected

Definition at line 73 of file Proj.hh.

notstd::cloneable_ptr<ProjectSettings> test::Proj::m_set
protected

Definition at line 76 of file Proj.hh.

BasicStructure<Site> test::Proj::prim

Definition at line 35 of file Proj.hh.

std::string test::Proj::title

Definition at line 36 of file Proj.hh.


The documentation for this class was generated from the following file: