MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
EE_Value Class Reference

#include <evaluator_impl.h>

Inheritance diagram for EE_Value:
Collaboration diagram for EE_Value:

Public Member Functions

 EE_Value (TypedValue Val)
 
 ~EE_Value (void)
 
TypedValue Eval (void) const
 
std::ostream & Output (std::ostream &out) const
 
- Public Member Functions inherited from ExpressionElement
virtual ~ExpressionElement (void)
 

Private Attributes

TypedValue m_Val
 

Additional Inherited Members

- Public Types inherited from ExpressionElement
enum  EEFlags { EE_NONE = 0x0U, EE_CONSTIFY = 0x1U, EE_OPTIMIZE = EE_CONSTIFY }
 
- Static Public Member Functions inherited from ExpressionElement
static unsigned GetFlags (void)
 
static void SetFlag (EEFlags f)
 
static void ClearFlag (EEFlags f)
 
static bool IsFlag (EEFlags f)
 
- Static Protected Attributes inherited from ExpressionElement
static unsigned m_uEEFlags
 

Detailed Description

Definition at line 48 of file evaluator_impl.h.

Constructor & Destructor Documentation

EE_Value::EE_Value ( TypedValue  Val)
inline

Definition at line 53 of file evaluator_impl.h.

References m_Val, and TypedValue::SetConst().

53 : m_Val(Val) { m_Val.SetConst(true); };
TypedValue m_Val
void SetConst(bool isConst=true, bool bForce=false)
Definition: mathp.cc:1275

Here is the call graph for this function:

EE_Value::~EE_Value ( void  )
inline

Definition at line 55 of file evaluator_impl.h.

55 {};

Member Function Documentation

TypedValue EE_Value::Eval ( void  ) const
inlinevirtual

Implements ExpressionElement.

Definition at line 58 of file evaluator_impl.h.

References m_Val.

59  {
60  return m_Val;
61  };
TypedValue m_Val
std::ostream& EE_Value::Output ( std::ostream &  out) const
inlinevirtual

Implements ExpressionElement.

Definition at line 64 of file evaluator_impl.h.

References m_Val.

65  {
66  return out << m_Val;
67  };
TypedValue m_Val

Member Data Documentation

TypedValue EE_Value::m_Val
private

Definition at line 50 of file evaluator_impl.h.

Referenced by EE_Value(), Eval(), and Output().


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