: Interface for management of storage of data formated dynamically in its TypeCode. Warning virtual inheritance on Any daughter classes NOT supported. More...
#include <Any.hxx>
Public Member Functions | |
const TypeCode * | getType () const |
virtual Any * | clone () const =0 |
virtual AnyPtr | operator[] (int i) const =0 throw (Exception) |
virtual AnyPtr | operator[] (const char *key) const =0 throw (Exception) |
virtual bool | operator== (const Any &other) const =0 |
virtual int | getIntValue () const =0 throw (Exception) |
virtual bool | getBoolValue () const =0 throw (Exception) |
virtual double | getDoubleValue () const =0 throw (Exception) |
virtual std::string | getStringValue () const =0 throw (Exception) |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
unsigned int | getRefCnt () const |
void | incrRef () const |
bool | decrRef () |
Protected Member Functions | |
virtual | ~Any () |
Any (TypeCode *type) | |
Any (const Any &other) | |
virtual void | putMyReprAtPlace (char *data) const =0 |
Protected Member Functions inherited from YACS::ENGINE::RefCounter | |
RefCounter () | |
RefCounter (const RefCounter &other) | |
virtual | ~RefCounter () |
Static Protected Member Functions | |
static bool | IsNull (char *data) |
Protected Attributes | |
TypeCode * | _type |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
unsigned int | _cnt |
Friends | |
class | SeqAlloc |
class | ArrayAny |
class | StructAny |
class | SequenceAny |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
static unsigned int | _totalCnt =0 |
: Interface for management of storage of data formated dynamically in its TypeCode. Warning virtual inheritance on Any daughter classes NOT supported.
|
protectedvirtual |
|
protected |
|
protected |
|
pure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ArrayAny, YACS::ENGINE::SequenceAny, and YACS::ENGINE::AtomAny.
Referenced by YACS::ENGINE::AnyInputPort::AnyInputPort(), YACS::ENGINE::ConditionInputPort::ConditionInputPort(), YACS::ENGINE::InputPort::InputPort(), and YACS::ENGINE::DynParaLoop::putValueOnBranch().
|
pure virtual |
Implemented in YACS::ENGINE::ComposedAny, and YACS::ENGINE::AtomAny.
Referenced by YACS::ENGINE::convertToYacsBool< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::AnyInputPort::dump(), YACS::ENGINE::ConditionInputPort::dump(), YACS::ENGINE::SeqAnyInputPort::dump(), and operator<<().
|
pure virtual |
|
pure virtual |
Implemented in YACS::ENGINE::ComposedAny, and YACS::ENGINE::AtomAny.
Referenced by YACS::ENGINE::convertToYacsDouble< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsInt< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsBool< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::AnyInputPort::dump(), YACS::ENGINE::SeqAnyInputPort::dump(), operator<<(), YACS::ENGINE::VisitorSaveState::visitForLoop(), and YACS::ENGINE::VisitorSaveState::visitSwitch().
|
pure virtual |
Implemented in YACS::ENGINE::ComposedAny, and YACS::ENGINE::AtomAny.
Referenced by YACS::ENGINE::convertToYacsString< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsObjref< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::AnyInputPort::dump(), YACS::ENGINE::SeqAnyInputPort::dump(), and operator<<().
|
inline |
Definition at line 76 of file Any.hxx.
Referenced by YACS::ENGINE::convertToYacsDouble< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsInt< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsString< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsBool< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsObjref< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::AnyInputPort::dump(), YACS::ENGINE::SeqAnyInputPort::dump(), operator<<(), YACS::ENGINE::AtomAny::operator==(), YACS::ENGINE::SequenceAny::operator==(), YACS::ENGINE::ArrayAny::operator==(), YACS::ENGINE::StructAny::operator==(), and YACS::ENGINE::SequenceAny::removeUnsetItemsFromThis().
|
staticprotected |
Definition at line 90 of file Any.cxx.
References YACS::ENGINE::SeqAlloc::DFT_CHAR_VAR, and CORBAEngineTest::i.
Referenced by YACS::ENGINE::AtomAny::destroyReprAtPlace(), and YACS::ENGINE::SequenceAny::destroyReprAtPlace().
|
pure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ArrayAny, YACS::ENGINE::SequenceAny, and YACS::ENGINE::AtomAny.
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ArrayAny, YACS::ENGINE::SequenceAny, and YACS::ENGINE::AtomAny.
|
pure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ComposedAny, and YACS::ENGINE::AtomAny.
|
protectedpure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ArrayAny, YACS::ENGINE::SequenceAny, and YACS::ENGINE::AtomAny.
Referenced by YACS::ENGINE::SeqAlloc::construct().
|
friend |
|
protected |
Definition at line 97 of file Any.hxx.
Referenced by Any(), YACS::ENGINE::ArrayAny::ArrayAny(), YACS::ENGINE::AtomAny::AtomAny(), YACS::ENGINE::SequenceAny::clear(), YACS::ENGINE::ComposedAny::ComposedAny(), YACS::ENGINE::AtomAny::getBoolValue(), YACS::ENGINE::ComposedAny::getBoolValue(), YACS::ENGINE::AtomAny::getDoubleValue(), YACS::ENGINE::ComposedAny::getDoubleValue(), YACS::ENGINE::AtomAny::getIntValue(), YACS::ENGINE::ComposedAny::getIntValue(), YACS::ENGINE::AtomAny::getStringValue(), YACS::ENGINE::ComposedAny::getStringValue(), YACS::ENGINE::AtomAny::operator==(), YACS::ENGINE::SequenceAny::operator==(), YACS::ENGINE::ArrayAny::operator==(), YACS::ENGINE::StructAny::operator==(), YACS::ENGINE::SequenceAny::performCpy(), YACS::ENGINE::SequenceAny::popBack(), YACS::ENGINE::SequenceAny::pushBack(), YACS::ENGINE::AtomAny::putMyReprAtPlace(), YACS::ENGINE::SequenceAny::putMyReprAtPlace(), YACS::ENGINE::ArrayAny::putMyReprAtPlace(), YACS::ENGINE::StructAny::putMyReprAtPlace(), YACS::ENGINE::SequenceAny::realloc(), YACS::ENGINE::SequenceAny::SequenceAny(), YACS::ENGINE::ArrayAny::size(), YACS::ENGINE::StructAny::StructAny(), ~Any(), YACS::ENGINE::ArrayAny::~ArrayAny(), YACS::ENGINE::AtomAny::~AtomAny(), YACS::ENGINE::SequenceAny::~SequenceAny(), and YACS::ENGINE::StructAny::~StructAny().