CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::SubExpressionLabeler Class Reference

#include <FunctionVisitor.hh>

+ Inheritance diagram for CASM::SubExpressionLabeler:

Detailed Description

Definition at line 151 of file FunctionVisitor.hh.

Public Member Functions

 SubExpressionLabeler (const std::string &_bset_name, const std::string &_template)
 
 SubExpressionLabeler (SubExpressionLabeler const &)=default
 
std::string type_name () const
 
virtual bool visit (Variable const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (Variable &host, BasisSet const *bset_ptr) const
 
virtual bool visit (OccupantFunction const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (OccupantFunction &host, BasisSet const *bset_ptr) const
 
virtual bool visit (PolynomialFunction const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (PolynomialFunction &host, BasisSet const *bset_ptr) const
 

Private Member Functions

bool _generic_visit (Function &host, BasisSet const *bset_ptr) const
 
bool _generic_visit (Function const &host, BasisSet const *bset_ptr) const
 
virtual bool _visit (const Array< Function * > &host_list, BasisSet const *bset_ptr) const
 

Private Attributes

std::string m_bset_name
 
std::vector< std::string > m_sub_strings
 

Constructor & Destructor Documentation

◆ SubExpressionLabeler() [1/2]

CASM::SubExpressionLabeler::SubExpressionLabeler ( const std::string &  _bset_name,
const std::string &  _template 
)

Definition at line 231 of file FunctionVisitor.cc.

◆ SubExpressionLabeler() [2/2]

CASM::SubExpressionLabeler::SubExpressionLabeler ( SubExpressionLabeler const &  )
default

Member Function Documentation

◆ _generic_visit() [1/2]

bool CASM::SubExpressionLabeler::_generic_visit ( Function host,
BasisSet const *  bset_ptr 
) const
privatevirtual

Reimplemented from CASM::FunctionVisitor.

Definition at line 239 of file FunctionVisitor.cc.

◆ _generic_visit() [2/2]

bool CASM::SubExpressionLabeler::_generic_visit ( Function const &  host,
BasisSet const *  bset_ptr 
) const
inlineprivatevirtual

Reimplemented from CASM::FunctionVisitor.

Definition at line 163 of file FunctionVisitor.hh.

◆ _visit()

virtual bool CASM::FunctionVisitor::_visit ( const Array< Function * > &  host_list,
BasisSet const *  bset_ptr 
) const
inlineprivatevirtualinherited

Definition at line 60 of file FunctionVisitor.hh.

◆ type_name()

std::string CASM::SubExpressionLabeler::type_name ( ) const
inlinevirtual

Implements CASM::FunctionVisitor.

Definition at line 158 of file FunctionVisitor.hh.

◆ visit() [1/6]

bool CASM::FunctionVisitor::visit ( OccupantFunction host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Reimplemented in CASM::OccFuncEvaluator, CASM::OccFuncBasisIndexer, and CASM::OccFuncLabeler.

Definition at line 40 of file FunctionVisitor.cc.

◆ visit() [2/6]

bool CASM::FunctionVisitor::visit ( OccupantFunction const &  host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Reimplemented in CASM::OccFuncEvaluator.

Definition at line 35 of file FunctionVisitor.cc.

◆ visit() [3/6]

bool CASM::FunctionVisitor::visit ( PolynomialFunction host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 50 of file FunctionVisitor.cc.

◆ visit() [4/6]

bool CASM::FunctionVisitor::visit ( PolynomialFunction const &  host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 45 of file FunctionVisitor.cc.

◆ visit() [5/6]

bool CASM::FunctionVisitor::visit ( Variable host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Reimplemented in CASM::VariableLabeler.

Definition at line 31 of file FunctionVisitor.cc.

◆ visit() [6/6]

bool CASM::FunctionVisitor::visit ( Variable const &  host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 26 of file FunctionVisitor.cc.

Member Data Documentation

◆ m_bset_name

std::string CASM::SubExpressionLabeler::m_bset_name
private

Definition at line 169 of file FunctionVisitor.hh.

◆ m_sub_strings

std::vector<std::string> CASM::SubExpressionLabeler::m_sub_strings
private

Definition at line 170 of file FunctionVisitor.hh.


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