|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIC::CIdentType Class ReferenceCIdentType define a type for objects and manage the allocation of class in the class factory.
More...
#include <abstract_interface.h>
Inheritance diagram for NLAIC::CIdentType:
List of all members.
Public Methods |
| CIdentType (NLMISC::IStream &) |
| throw(NLMISC::EStream). More...
|
| CIdentType (const char *ident) |
| Construct object with a name. More...
|
| CIdentType (const char *ident, const IClassFactory &classCFactory, const CTypeOfObject &objType, const CTypeOfOperator &opSupport) |
| Construct object. More...
|
| CIdentType (const CIdentType &i) |
| throw (NLAIE::CExceptionContainer);Copy contructor. More...
|
| ~CIdentType () |
| operator const char * () const |
| Get class type name. More...
|
void | operator= (const CIdentType &a) |
| Make equality. More...
|
bool | operator== (const CIdentType &a) const |
| Test the equality. More...
|
bool | operator< (const CIdentType &a) const |
| This test is need for the std::map. More...
|
bool | operator< (const char *a) const |
bool | operator> (const CIdentType &a) const |
sint32 | cmp (const CIdentType &a) const |
| operator const CTypeOfObject & () const |
| operator const CTypeOfOperator & () const |
sint32 | getIndex () const |
const IBasicInterface * | allocClass () const |
| Alloc an instance of a class. More...
|
const IClassFactory * | getFactory () const |
| Get the class factory associate. More...
|
void | addObjectType (sint32) |
|
virtual std::string | getClassName () |
virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Static Public Attributes |
CIdentType | VoidType = CIdentType("VOID",CTypeOfObject::tObject,CTypeOfOperator(0),-1) |
| Basic shared type need for lot of objects, and special for typing the retern method in the script. More...
|
Private Methods |
| CIdentType (const char *ident, const CTypeOfObject &objType, const CTypeOfOperator &opSupport, sint32 index) |
| Construct object with all atribut. It use when we serial object. More...
|
Private Attributes |
char * | _Ident |
| This is a string for naming the class. More...
|
CTypeOfObject * | _ObjType |
| This objects allow use to know what kind of objects it is (simple object, agent, scripted agent, operator ...). More...
|
CTypeOfOperator * | _OpSupport |
| This objects allow use to know what kind of operation we can do with it (add, sub ...). More...
|
sint32 | _Index |
| The index of objects in the class gactory map. More...
|
Friends |
class | CIdentTypeAlloc |
Detailed Description
CIdentType define a type for objects and manage the allocation of class in the class factory.
Not that class is manage in a std::map object and this class allow us to manage objects in the std::map.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 142 of file abstract_interface.h.
Constructor & Destructor Documentation
NLAIC::CIdentType::CIdentType |
( |
const char * |
ident |
) |
|
|
NLAIC::CIdentType::CIdentType |
( |
const CIdentType & |
i |
) |
|
|
NLAIC::CIdentType::~CIdentType |
( |
|
) |
|
|
Member Function Documentation
void NLAIC::CIdentType::addObjectType |
( |
sint32 |
|
) |
|
|
sint32 NLAIC::CIdentType::cmp |
( |
const CIdentType & |
a |
) |
const [inline] |
|
virtual std::string NLAIC::CIdentType::getClassName |
( |
|
) |
[inline, virtual] |
|
sint32 NLAIC::CIdentType::getIndex |
( |
|
) |
const [inline] |
|
NLAIC::CIdentType::operator const char * |
( |
|
) |
const [inline] |
|
NLAIC::CIdentType::operator const CTypeOfObject & |
( |
|
) |
const [inline] |
|
bool NLAIC::CIdentType::operator< |
( |
const char * |
a |
) |
const [inline] |
|
bool NLAIC::CIdentType::operator< |
( |
const CIdentType & |
a |
) |
const [inline] |
|
void NLAIC::CIdentType::operator= |
( |
const CIdentType & |
a |
) |
|
|
bool NLAIC::CIdentType::operator== |
( |
const CIdentType & |
a |
) |
const [inline] |
|
bool NLAIC::CIdentType::operator> |
( |
const CIdentType & |
a |
) |
const [inline] |
|
Friends And Related Function Documentation
friend class CIdentTypeAlloc [friend]
|
|
Member Data Documentation
char* NLAIC::CIdentType::_Ident [private]
|
|
sint32 NLAIC::CIdentType::_Index [private]
|
|
CIdentType NLAIC::CIdentType::VoidType = CIdentType("VOID",CTypeOfObject::tObject,CTypeOfOperator(0),-1) [static]
|
|
|
Basic shared type need for lot of objects, and special for typing the retern method in the script.
Definition at line 91 of file ident_type.cpp.
Referenced by NLAISCRIPT::COperandAnyObject::getConstraintTypeOf, NLAISCRIPT::COperandVoid::getConstraintTypeOf, NLAIAGENT::COperatorScript::getPrivateMember, NLAIAGENT::CActorScript::getPrivateMember, NLAIC::CBinaryType::getType, NLAIAGENT::CAgentScript::isDeflautProccessMsg, NLAIAGENT::CVectorGroupType::isMember, NLAIAGENT::IBaseGroupType::isMember, NLAIAGENT::CSeqFsmScript::isMember, NLAIAGENT::CFsmScript::isMember, NLAIAGENT::IObjectIA::isMember, NLAIAGENT::INombreDefine::isMember, NLAIAGENT::IVector::isMember, and NLAIAGENT::CActor::isMember. |
The documentation for this class was generated from the following files:
|
|