#include <Any.hxx>


Public Member Functions | |
| Any * | clone () const |
| bool | operator== (const Any &other) const |
| AnyPtr | operator[] (int i) const |
| AnyPtr | operator[] (const char *key) const |
| void | setEltAtRank (int i, const Any *elem) |
| void | setEltAtRank (const char *key, const Any *elem) |
Public Member Functions inherited from YACS::ENGINE::Any | |
| const TypeCode * | getType () const |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
| unsigned int | getRefCnt () const |
| void | incrRef () const |
| bool | decrRef () const |
Static Public Member Functions | |
| static StructAny * | New (TypeCodeStruct *type) |
Protected Member Functions | |
| void | putMyReprAtPlace (char *data) const |
Protected Member Functions inherited from YACS::ENGINE::ComposedAny | |
| ComposedAny (const ComposedAny &other) | |
| ComposedAny (TypeCode *type, bool isNew=true) | |
| void | checkTypeOf (const Any *elem) const |
Protected Member Functions inherited from YACS::ENGINE::Any | |
| virtual | ~Any () |
| Any (TypeCode *type) | |
| Any (const Any &other) | |
Protected Member Functions inherited from YACS::ENGINE::RefCounter | |
| RefCounter () | |
| RefCounter (const RefCounter &other) | |
| virtual | ~RefCounter () |
Static Protected Member Functions | |
| static void | putReprAtPlace (char *data, const char *src, const TypeCodeStruct *type, bool deepCpy) |
| static void | destroyReprAtPlace (char *data, const TypeCodeStruct *type) |
| static AnyPtr | getOrBuildFromData (char *data, const TypeCodeStruct *type) |
Static Protected Member Functions inherited from YACS::ENGINE::Any | |
| static bool | IsNull (char *data) |
Private Member Functions | |
| ~StructAny () | |
| StructAny (TypeCodeStruct *type) | |
| StructAny (const StructAny &other) | |
| StructAny (char *data, TypeCodeStruct *type) | |
Private Attributes | |
| char * | _data |
Friends | |
| class | TypeCodeStruct |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
| static unsigned int | _totalCnt =0 |
Protected Attributes inherited from YACS::ENGINE::Any | |
| TypeCode * | _type |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
| unsigned int | _cnt |
|
private |
Definition at line 1156 of file Any.cxx.
References _data, YACS::ENGINE::TypeCodeStruct::_members, and YACS::ENGINE::Any::_type.
|
private |
Definition at line 1169 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::SeqAlloc::DFT_CHAR_VAR, YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and yacsorb.CORBAEngineTest::i.
|
private |
Definition at line 1176 of file Any.cxx.
References _data, YACS::ENGINE::TypeCodeStruct::_members, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and YACS::ENGINE::TypeCode::putReprAtPlace().
|
private |
Definition at line 1189 of file Any.cxx.
References _data, YACS::ENGINE::TypeCodeStruct::_members, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 1055 of file Any.cxx.
References YACS::ENGINE::Any::StructAny.
|
staticprotected |
Definition at line 1138 of file Any.cxx.
References YACS::ENGINE::TypeCodeStruct::_members.
Referenced by YACS::ENGINE::TypeCodeStruct::destroyZippedAny().
|
staticprotected |
Definition at line 1149 of file Any.cxx.
References YACS::ENGINE::Any::StructAny.
Referenced by YACS::ENGINE::TypeCodeStruct::getOrBuildAnyFromZippedData().
|
static |
Definition at line 1201 of file Any.cxx.
References YACS::ENGINE::Any::StructAny.
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 1060 of file Any.cxx.
References YACS::ENGINE::TypeCodeStruct::_members, YACS::ENGINE::Any::_type, YACS::ENGINE::Any::getType(), and YACS::ENGINE::TypeCode::isA().
|
virtual |
Reimplemented from YACS::ENGINE::ComposedAny.
Definition at line 1078 of file Any.cxx.
References _data, YACS::ENGINE::TypeCodeStruct::_members, and YACS::ENGINE::Any::_type.
|
virtual |
|
protectedvirtual |
Implements YACS::ENGINE::Any.
Definition at line 1115 of file Any.cxx.
References _data, YACS::ENGINE::TypeCodeStruct::_members, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
staticprotected |
Definition at line 1127 of file Any.cxx.
References YACS::ENGINE::TypeCodeStruct::_members.
Referenced by YACS::ENGINE::TypeCodeStruct::putReprAtPlace().
| void StructAny::setEltAtRank | ( | const char * | key, |
| const Any * | elem | ||
| ) |
Definition at line 1102 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCodeStruct::getMember(), YACS::ENGINE::Any::getType(), YACS::ENGINE::TypeCode::isA(), and YACS::ENGINE::Any::putMyReprAtPlace().
|
virtual |
Implements YACS::ENGINE::ComposedAny.
Definition at line 1096 of file Any.cxx.
Referenced by YACS::ENGINE::convertFromYacsStruct< NEUTRALImpl, YACS::ENGINE::Any * >::convert().
|
friend |
|
private |
Definition at line 308 of file Any.hxx.
Referenced by operator[](), putMyReprAtPlace(), setEltAtRank(), StructAny(), and ~StructAny().