#include <TypeCode.hxx>


Protected Member Functions | |
| TypeCodeComposed (const TypeCodeComposed &other) | |
| TypeCodeComposed (DynType kind, const char *repositoryId, const char *name) | |
Protected Member Functions inherited from YACS::ENGINE::TypeCode | |
| TypeCode (const TypeCode &tc) | |
| TypeCode & | operator= (const TypeCode &tc) |
| virtual | ~TypeCode () |
Protected Member Functions inherited from YACS::ENGINE::RefCounter | |
| RefCounter () | |
| RefCounter (const RefCounter &other) | |
| virtual | ~RefCounter () |
Protected Attributes | |
| const std::string | _name |
| const std::string | _repoId |
| std::string | _shortName |
Protected Attributes inherited from YACS::ENGINE::TypeCode | |
| const DynType | _kind |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
| unsigned int | _cnt |
Additional Inherited Members | |
Public Member Functions inherited from YACS::ENGINE::TypeCode | |
| TypeCode (DynType kind) | |
| DynType | kind () const |
| const char * | getKindRepr () const |
| const TypeCode * | subContentType (int lev) const |
| virtual TypeCode * | clone () const |
| virtual void | putReprAtPlace (char *pt, const char *val, bool deepCpy) const |
| virtual void | destroyZippedAny (char *data) const |
| virtual AnyPtr | getOrBuildAnyFromZippedData (char *data) const |
| virtual const char * | name () const |
| virtual const char * | shortName () const |
| virtual const char * | id () const |
| virtual const TypeCode * | contentType () const |
| virtual int | isA (const char *repositoryId) const |
| virtual int | isA (const TypeCode *tc) const |
| virtual int | isAdaptable (const TypeCode *tc) const |
| Check if this TypeCode is adaptable to a given TypeCode (tc) More... | |
| virtual int | isEquivalent (const TypeCode *tc) const |
| Check if this TypeCode can be used in place of tc. More... | |
| virtual unsigned | getSizeInByteOfAnyReprInSeq () const |
| virtual std::string | getPrintStr () const |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
| unsigned int | getRefCnt () const |
| void | incrRef () const |
| bool | decrRef () const |
Static Public Member Functions inherited from YACS::ENGINE::TypeCode | |
| static const char * | getKindRepr (DynType kind) |
| static TypeCode * | interfaceTc (const char *id, const char *name) |
| static factory of object reference type given an id and a name More... | |
| static TypeCode * | interfaceTc (const char *id, const char *name, const std::list< TypeCodeObjref * > <c) |
| static factory of object reference type given an id, a name and a list of base types More... | |
| static TypeCode * | sequenceTc (const char *id, const char *name, TypeCode *content) |
| static factory of sequence type given an id, a name and a content type More... | |
| static TypeCode * | structTc (const char *id, const char *name) |
| static factory of struct type given an id and a name More... | |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
| static unsigned int | _totalCnt =0 |
Static Protected Attributes inherited from YACS::ENGINE::TypeCode | |
| static const char * | KIND_STR_REPR [] ={ "None", "double", "int", "string", "bool", "Objref", "Sequence", "Array","Struct" } |
Definition at line 108 of file TypeCode.hxx.
|
protected |
Definition at line 275 of file TypeCode.cxx.
|
protected |
Definition at line 281 of file TypeCode.cxx.
References _name, _shortName, and YACS::ENGINE::TypeCode::name().
|
protected |
Definition at line 114 of file TypeCode.hxx.
Referenced by YACS::ENGINE::TypeCodeObjref::name(), YACS::ENGINE::TypeCodeSeq::name(), YACS::ENGINE::TypeCodeArray::name(), YACS::ENGINE::TypeCodeStruct::name(), and TypeCodeComposed().
|
protected |
Definition at line 115 of file TypeCode.hxx.
Referenced by YACS::ENGINE::TypeCodeObjref::id(), YACS::ENGINE::TypeCodeSeq::id(), YACS::ENGINE::TypeCodeArray::id(), YACS::ENGINE::TypeCodeStruct::id(), YACS::ENGINE::TypeCodeObjref::isA(), YACS::ENGINE::TypeCodeStruct::isA(), YACS::ENGINE::TypeCodeStruct::isAdaptable(), and YACS::ENGINE::TypeCodeObjref::isEquivalent().
|
protected |
Definition at line 116 of file TypeCode.hxx.
Referenced by YACS::ENGINE::TypeCodeObjref::shortName(), YACS::ENGINE::TypeCodeSeq::shortName(), YACS::ENGINE::TypeCodeArray::shortName(), YACS::ENGINE::TypeCodeStruct::shortName(), and TypeCodeComposed().