: 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 |
| virtual AnyPtr | operator[] (const char *key) const =0 |
| virtual bool | operator== (const Any &other) const =0 |
| virtual int | getIntValue () const =0 |
| virtual bool | getBoolValue () const =0 |
| virtual double | getDoubleValue () const =0 |
| virtual std::string | getStringValue () const =0 |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
| unsigned int | getRefCnt () const |
| void | incrRef () const |
| bool | decrRef () const |
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(), YACS::ENGINE::ConditionInputPort::getValue(), 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 85 of file Any.hxx.
Referenced by YACS::ENGINE::ComposedAny::checkTypeOf(), 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(), operator<<(), YACS::ENGINE::AtomAny::operator==(), YACS::ENGINE::SequenceAny::operator==(), YACS::ENGINE::ArrayAny::operator==(), YACS::ENGINE::StructAny::operator==(), YACS::ENGINE::NeutralInit::put(), YACS::ENGINE::SequenceAny::removeUnsetItemsFromThis(), and YACS::ENGINE::StructAny::setEltAtRank().
|
staticprotected |
Definition at line 248 of file Any.cxx.
References YACS::ENGINE::SeqAlloc::DFT_CHAR_VAR, and yacsorb.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.
|
pure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ComposedAny, and YACS::ENGINE::AtomAny.
|
pure virtual |
Implemented in YACS::ENGINE::StructAny, YACS::ENGINE::ArrayAny, YACS::ENGINE::SequenceAny, and YACS::ENGINE::AtomAny.
|
protectedpure virtual |
|
friend |
Definition at line 81 of file Any.hxx.
Referenced by YACS::ENGINE::ArrayAny::clone(), YACS::ENGINE::ArrayAny::getOrBuildFromData(), and YACS::ENGINE::ArrayAny::New().
|
friend |
Definition at line 83 of file Any.hxx.
Referenced by YACS::ENGINE::SequenceAny::clone(), YACS::ENGINE::SequenceAny::New(), and YACS::ENGINE::SequenceAny::putReprAtPlace().
|
friend |
Definition at line 82 of file Any.hxx.
Referenced by YACS::ENGINE::StructAny::clone(), YACS::ENGINE::StructAny::getOrBuildFromData(), and YACS::ENGINE::StructAny::New().
|
protected |
Definition at line 106 of file Any.hxx.
Referenced by Any(), YACS::ENGINE::ArrayAny::ArrayAny(), YACS::ENGINE::AtomAny::AtomAny(), YACS::ENGINE::ComposedAny::checkTypeOf(), YACS::ENGINE::SequenceAny::clear(), YACS::ENGINE::ComposedAny::ComposedAny(), YACS::ENGINE::AtomAny::getBoolValue(), YACS::ENGINE::ComposedAny::getBoolValue(), YACS::ENGINE::AtomAny::getBytesValue(), 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::StructAny::operator[](), YACS::ENGINE::AtomAny::operator[](), YACS::ENGINE::SequenceAny::operator[](), YACS::ENGINE::ArrayAny::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::StructAny::setEltAtRank(), YACS::ENGINE::SequenceAny::setEltAtRank(), YACS::ENGINE::ArrayAny::setEltAtRank(), 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().