# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAISCRIPT::CLoadHeapObject Class Reference

#include <object_load.h>

Inheritance diagram for NLAISCRIPT::CLoadHeapObject:

NLAISCRIPT::ILoadObject NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CLoadHeapObject ()
 CLoadHeapObject (const std::list< sint32 > &i, int n)
virtual const NLAIAGENT::IObjectIAgetObject (CCodeContext &context) const
 Get an compoment from the heap object. More...

virtual const NLAIAGENT::IBaseGroupTypegetParam (CCodeContext &context) const
 Get the argument define in the stack for an object stored in the heap. More...

NLAIC::IBasicInterface.
virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...


Static Public Attributes

const NLAIC::CIdentType IdLoadHeapObject

Private Attributes

std::list< sint32_I
sint32 _N

Constructor & Destructor Documentation

NLAISCRIPT::CLoadHeapObject::CLoadHeapObject   [inline]
 

Definition at line 181 of file object_load.h.

Referenced by clone, and newInstance.

NLAISCRIPT::CLoadHeapObject::CLoadHeapObject const std::list< sint32 > &    i,
int    n
[inline]
 

Definition at line 182 of file object_load.h.

References _N.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAISCRIPT::CLoadHeapObject::clone   const [inline, virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Implements NLAIC::IBasicType.

Definition at line 198 of file object_load.h.

References _N, CLoadHeapObject, and x.

const NLAIAGENT::IObjectIA * NLAISCRIPT::CLoadHeapObject::getObject CCodeContext   context const [virtual]
 

Get an compoment from the heap object.

Implements NLAISCRIPT::ILoadObject.

Definition at line 84 of file objects_load.cpp.

References _I, _N, and NLAIAGENT::IObjectIA::getStaticMember.

const NLAIAGENT::IBaseGroupType * NLAISCRIPT::CLoadHeapObject::getParam CCodeContext   context const [virtual]
 

Get the argument define in the stack for an object stored in the heap.

Implements NLAISCRIPT::ILoadObject.

Definition at line 79 of file objects_load.cpp.

virtual const NLAIC::CIdentType& NLAISCRIPT::CLoadHeapObject::getType   const [inline, virtual]
 

getType return a unique string how represente the class, it can be the name of the class.

This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).

Implements NLAIC::IBasicType.

Definition at line 193 of file object_load.h.

virtual void NLAISCRIPT::CLoadHeapObject::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 217 of file object_load.h.

References _N, NLMISC::IStream::serial, and NLMISC::IStream::serialCont.

virtual const NLAIC::IBasicType* NLAISCRIPT::CLoadHeapObject::newInstance   const [inline, virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Implements NLAIC::IBasicType.

Definition at line 204 of file object_load.h.

References CLoadHeapObject, and x.

virtual void NLAISCRIPT::CLoadHeapObject::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 210 of file object_load.h.

References _N, NLMISC::IStream::serial, NLMISC::IStream::serialCont, and sint32.


Member Data Documentation

std::list<sint32> NLAISCRIPT::CLoadHeapObject::_I [private]
 

Definition at line 178 of file object_load.h.

Referenced by getObject.

sint32 NLAISCRIPT::CLoadHeapObject::_N [private]
 

Definition at line 179 of file object_load.h.

Referenced by CLoadHeapObject, clone, getObject, load, and save.

const NLAIC::CIdentType NLAISCRIPT::CLoadHeapObject::IdLoadHeapObject [static]
 

Initial value:

Definition at line 256 of file opcode_register.cpp.


The documentation for this class was generated from the following files: