SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Types | Public Member Functions | Protected Member Functions | List of all members
smtk::attribute::Evaluator Class Referenceabstract
Inheritance diagram for smtk::attribute::Evaluator:
[legend]

Public Types

enum  DependentEvaluationMode { EVALUATE_DEPENDENTS = 0, DO_NOT_EVALUATE_DEPENDENTS = 1 }
 
using ValueType = boost::variant< std::string, int, double, std::vector< std::string >, std::vector< int >, std::vector< double > >
 

Public Member Functions

 smtkTypenameMacroBase (smtk::attribute::Evaluator)
 
 Evaluator (smtk::attribute::ConstAttributePtr att)
 
virtual bool canEvaluate (smtk::io::Logger &log)=0
 
virtual bool evaluate (ValueType &result, smtk::io::Logger &log, const std::size_t &element=0, const DependentEvaluationMode &evaluationMode=DependentEvaluationMode::EVALUATE_DEPENDENTS)=0
 
virtual bool doesEvaluate (std::size_t element)=0
 
virtual bool doesEvaluate ()=0
 
virtual std::size_t numberOfEvaluatableElements ()=0
 

Protected Member Functions

smtk::attribute::ConstWeakAttributePtr attribute () const
 

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