#include <Any.hxx>


Public Member Functions | |
| void | setEltAtRank (int i, const Any *elem) |
| bool | operator== (const Any &other) const |
| AnyPtr | operator[] (int i) const |
| unsigned int | size () const |
| Any * | clone () const |
Public Member Functions inherited from YACS::ENGINE::ComposedAny | |
| AnyPtr | operator[] (const char *key) const |
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 | |
| template<class T > | |
| static ArrayAny * | New (const std::vector< T > &vec) |
| template<class T > | |
| static ArrayAny * | New (const T *val, unsigned int lgth) |
| static ArrayAny * | New (const TypeCode *typeOfContent, unsigned int lgth) |
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 TypeCodeArray *type, bool deepCpy) |
| static void | destroyReprAtPlace (char *data, const TypeCodeArray *type) |
| static AnyPtr | getOrBuildFromData (char *data, const TypeCodeArray *type) |
| static bool | takeInChargeStorageOf (TypeCode *type) |
Static Protected Member Functions inherited from YACS::ENGINE::Any | |
| static bool | IsNull (char *data) |
Protected Attributes | |
| char * | _data |
Protected Attributes inherited from YACS::ENGINE::Any | |
| TypeCode * | _type |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
| unsigned int | _cnt |
Private Member Functions | |
| ~ArrayAny () | |
| ArrayAny (const TypeCode *typeOfContent, unsigned int lgth) | |
| ArrayAny (char *data, TypeCodeArray *type) | |
| ArrayAny (const ArrayAny &other) | |
| ArrayAny (const int *val, unsigned int lgth) | |
| ArrayAny (const bool *val, unsigned int lgth) | |
| ArrayAny (const double *val, unsigned int lgth) | |
| ArrayAny (const std::vector< int > &val) | |
| ArrayAny (const std::vector< double > &val) | |
| ArrayAny (const std::vector< std::string > &val) | |
Friends | |
| class | TypeCodeArray |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
| static unsigned int | _totalCnt =0 |
|
private |
Definition at line 890 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), yacsorb.CORBAEngineTest::i, and size().
|
private |
Definition at line 901 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 908 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
private |
Definition at line 917 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
private |
Definition at line 926 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 933 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 940 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 947 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 954 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 961 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and yacsorb.CORBAEngineTest::i.
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 1008 of file Any.cxx.
References YACS::ENGINE::Any::ArrayAny.
|
staticprotected |
Definition at line 1034 of file Any.cxx.
References YACS::ENGINE::TypeCodeArray::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), and yacsorb.CORBAEngineTest::i.
Referenced by YACS::ENGINE::TypeCodeArray::destroyZippedAny().
|
staticprotected |
Definition at line 1042 of file Any.cxx.
References YACS::ENGINE::Any::ArrayAny.
Referenced by YACS::ENGINE::TypeCodeArray::getOrBuildAnyFromZippedData().
|
static |
Definition at line 324 of file Any.hxx.
References YACS::ENGINE::Any::ArrayAny.
|
static |
Definition at line 330 of file Any.hxx.
References YACS::ENGINE::Any::ArrayAny.
Definition at line 1013 of file Any.cxx.
References YACS::ENGINE::Any::ArrayAny.
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 983 of file Any.cxx.
References YACS::ENGINE::Any::_type, YACS::ENGINE::Any::getType(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::TypeCode::isA().
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 994 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getOrBuildAnyFromZippedData(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and yacsorb.CORBAEngineTest::i.
|
protectedvirtual |
Implements YACS::ENGINE::Any.
Definition at line 1018 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
staticprotected |
Definition at line 1026 of file Any.cxx.
References YACS::ENGINE::TypeCodeArray::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
Referenced by YACS::ENGINE::TypeCodeArray::putReprAtPlace().
|
virtual |
Implements YACS::ENGINE::ComposedAny.
Definition at line 975 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::ComposedAny::checkTypeOf(), YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), yacsorb.CORBAEngineTest::i, and YACS::ENGINE::Any::putMyReprAtPlace().
| unsigned int ArrayAny::size | ( | ) | const |
Definition at line 1003 of file Any.cxx.
References YACS::ENGINE::Any::_type.
Referenced by ~ArrayAny().
|
staticprotected |
Definition at line 1049 of file Any.cxx.
References YACS::ENGINE::Array, and YACS::ENGINE::TypeCode::kind().
|
friend |
|
protected |
Definition at line 281 of file Any.hxx.
Referenced by ArrayAny(), operator[](), putMyReprAtPlace(), setEltAtRank(), and ~ArrayAny().