SIMLIB/C++
3.07
|
2D vector variable More...
#include <simlib2D.h>
Public Member Functions | |
Variable2D (Value2D x=Value2D(0, 0)) | |
Variable2D & | operator= (Value2D x) |
virtual Value2D | Value () override |
![]() | |
aContiBlock2D () | |
~aContiBlock2D () | |
virtual void | _Eval () |
void | Print () |
![]() | |
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 | |
Value2D | value |
![]() | |
bool | isEvaluated |
![]() | |
unsigned | _flags |
bool flags for internal use (TODO bitfield?) More... | |
Additional Inherited Members | |
![]() | |
enum | _Flags { _CLEAR_ALL_FLAGS = 0, _ALLOCATED_FLAG = 1<<0, _EVAL_FLAG = 1<<1, _HAS_NAME_FLAG = 1<<2 } |
2D vector variable
Definition at line 87 of file simlib2D.h.
Definition at line 91 of file simlib2D.h.
|
inline |
Definition at line 92 of file simlib2D.h.
References simlib3::Value2D::x().
|
inlineoverridevirtual |
Implements simlib3::aContiBlock2D.
Definition at line 94 of file simlib2D.h.
|
protected |
Definition at line 89 of file simlib2D.h.