#include <Any.hxx>


Public Member Functions | |
| void | setEltAtRank (int i, const Any *elem) throw (Exception) |
| bool | operator== (const Any &other) const |
| AnyPtr | operator[] (int i) const throw (Exception) |
| unsigned int | size () const |
| Any * | clone () const |
| template<class T > | |
| ArrayAny * | New (const std::vector< T > &vec) |
| template<class T > | |
| ArrayAny * | New (const T *val, unsigned int lgth) |
Public Member Functions inherited from YACS::ENGINE::ComposedAny | |
| AnyPtr | operator[] (const char *key) const throw (Exception) |
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 () |
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 throw (Exception) |
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) |
Protected Attributes | |
| char * | _data |
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 717 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), CORBAEngineTest::i, and size().
|
private |
Definition at line 728 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::SeqAlloc::DFT_CHAR_VAR, YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and CORBAEngineTest::i.
Referenced by clone(), getOrBuildFromData(), and New().
|
private |
Definition at line 735 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
private |
Definition at line 744 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
private |
Definition at line 753 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 760 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 767 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 774 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 781 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, and YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq().
|
private |
Definition at line 788 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and CORBAEngineTest::i.
|
virtual |
|
staticprotected |
Definition at line 861 of file Any.cxx.
References YACS::ENGINE::TypeCodeArray::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), and CORBAEngineTest::i.
Referenced by YACS::ENGINE::TypeCodeArray::destroyZippedAny().
|
staticprotected |
Definition at line 869 of file Any.cxx.
References ArrayAny(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::TypeCodeArray::getOrBuildAnyFromZippedData().
|
static |
|
static |
Definition at line 840 of file Any.cxx.
References ArrayAny().
| ArrayAny* YACS::ENGINE::ArrayAny::New | ( | const std::vector< T > & | vec | ) |
| ArrayAny* YACS::ENGINE::ArrayAny::New | ( | const T * | val, |
| unsigned int | lgth | ||
| ) |
|
virtual |
Implements YACS::ENGINE::Any.
Definition at line 810 of file Any.cxx.
References YACS::ENGINE::Any::_type, YACS::ENGINE::Any::getType(), CORBAEngineTest::i, and YACS::ENGINE::TypeCode::isA().
Implements YACS::ENGINE::Any.
Definition at line 821 of file Any.cxx.
References YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and CORBAEngineTest::i.
|
protectedvirtual |
Implements YACS::ENGINE::Any.
Definition at line 845 of file Any.cxx.
References _data, YACS::ENGINE::Any::_type, YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
|
staticprotected |
Definition at line 853 of file Any.cxx.
References YACS::ENGINE::TypeCodeArray::contentType(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), YACS::ENGINE::TypeCodeArray::getStaticLgth(), CORBAEngineTest::i, and YACS::ENGINE::TypeCode::putReprAtPlace().
Referenced by YACS::ENGINE::TypeCodeArray::putReprAtPlace().
Implements YACS::ENGINE::ComposedAny.
Definition at line 802 of file Any.cxx.
References YACS::ENGINE::TypeCode::contentType(), YACS::ENGINE::TypeCode::destroyZippedAny(), YACS::ENGINE::TypeCode::getSizeInByteOfAnyReprInSeq(), and CORBAEngineTest::i.
| unsigned int ArrayAny::size | ( | ) | const |
Definition at line 830 of file Any.cxx.
References YACS::ENGINE::Any::_type.
Referenced by ~ArrayAny().
|
staticprotected |
Definition at line 876 of file Any.cxx.
References YACS::ENGINE::Array, and YACS::ENGINE::TypeCode::kind().
|
friend |
|
protected |
Definition at line 268 of file Any.hxx.
Referenced by ArrayAny(), putMyReprAtPlace(), and ~ArrayAny().