SIMLIB/C++  3.07
Public Member Functions | Protected Attributes | List of all members
simlib3::Variable3D Class Reference

3D vector variable More...

#include <simlib3D.h>

Inheritance diagram for simlib3::Variable3D:
Inheritance graph
[legend]
Collaboration diagram for simlib3::Variable3D:
Collaboration graph
[legend]

Public Member Functions

 Variable3D (const Value3D &x=Value3D(0, 0, 0))
 
Variable3Doperator= (const Value3D &x)
 
virtual Value3D Value () override
 
- Public Member Functions inherited from simlib3::aContiBlock3D
 aContiBlock3D ()
 
 ~aContiBlock3D ()
 
virtual void _Eval ()
 
void Print ()
 
- Public Member Functions inherited from simlib3::SimObject
bool TestAndSetFlag (bool new_value, unsigned n)
 internal method for flag manipulation is used for algebraic loop checking in continuous blocks More...
 
 SimObject ()
 constructor More...
 
virtual ~SimObject ()
 virtual destructor More...
 
void * operator new (size_t size)
 allocate object, set _flags More...
 
void operator delete (void *ptr)
 deallocate object More...
 
void * operator new[] (size_t size)=delete
 
void operator delete[] (void *ptr)=delete
 
bool isAllocated () const
 
virtual std::string Name () const
 get object name More...
 
bool HasName () const
 
void SetName (const std::string &name)
 assign the name More...
 
virtual void Output () const
 print object to default output More...
 

Protected Attributes

Value3D value
 
- Protected Attributes inherited from simlib3::aContiBlock3D
bool isEvaluated
 
- Protected Attributes inherited from simlib3::SimObject
unsigned _flags
 bool flags for internal use (TODO bitfield?) More...
 

Additional Inherited Members

- Public Types inherited from simlib3::SimObject
enum  _Flags { _CLEAR_ALL_FLAGS = 0, _ALLOCATED_FLAG = 1<<0, _EVAL_FLAG = 1<<1, _HAS_NAME_FLAG = 1<<2 }
 

Detailed Description

3D vector variable

Definition at line 89 of file simlib3D.h.

Constructor & Destructor Documentation

◆ Variable3D()

simlib3::Variable3D::Variable3D ( const Value3D x = Value3D(0,0,0))
inlineexplicit

Definition at line 93 of file simlib3D.h.

Member Function Documentation

◆ operator=()

Variable3D& simlib3::Variable3D::operator= ( const Value3D x)
inline

Definition at line 94 of file simlib3D.h.

References simlib3::Value3D::x().

◆ Value()

virtual Value3D simlib3::Variable3D::Value ( )
inlineoverridevirtual

Implements simlib3::aContiBlock3D.

Definition at line 95 of file simlib3D.h.

Member Data Documentation

◆ value

Value3D simlib3::Variable3D::value
protected

Definition at line 91 of file simlib3D.h.


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