# 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  

NLAIAGENT::VectorType Class Reference

This class store a vector<double,double,double> in an IObjectIA. More...

#include <agent_3dvector.h>

Inheritance diagram for NLAIAGENT::VectorType:

NLAIAGENT::IVector NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 VectorType (double x, double y, double z)
 VectorType (const NLMISC::CVectorD &v)
 VectorType ()
 VectorType (const VectorType &a)
 VectorType (NLMISC::IStream &is)
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 const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual void getDebugString (std::string &text) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...

virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. More...


Static Public Attributes

const NLAIC::CIdentType IdVectorType

Detailed Description

This class store a vector<double,double,double> in an IObjectIA.

Author:
Chafik sameh , Portier Pierre , Saffray Alain , Nevrax France
Date:
2001

Definition at line 223 of file agent_3dvector.h.


Constructor & Destructor Documentation

NLAIAGENT::VectorType::VectorType double    x,
double    y,
double    z
[inline]
 

Definition at line 230 of file agent_3dvector.h.

References NLAIAGENT::IVector::IVector, NLAIAGENT::IVector::x, NLAIAGENT::IVector::y, and NLAIAGENT::IVector::z.

Referenced by VectorType.

NLAIAGENT::VectorType::VectorType const NLMISC::CVectorD   v [inline]
 

Definition at line 234 of file agent_3dvector.h.

References NLAIAGENT::IVector::IVector, and v.

NLAIAGENT::VectorType::VectorType   [inline]
 

Definition at line 238 of file agent_3dvector.h.

References NLAIAGENT::IVector::IVector.

Referenced by clone.

NLAIAGENT::VectorType::VectorType const VectorType &    a [inline]
 

Definition at line 242 of file agent_3dvector.h.

References NLAIAGENT::IVector::IVector, and VectorType.

NLAIAGENT::VectorType::VectorType NLMISC::IStream   is [inline]
 

Definition at line 246 of file agent_3dvector.h.

References NLAIAGENT::IVector::IVector.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::VectorType::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 250 of file agent_3dvector.h.

References VectorType.

Referenced by newInstance.

virtual void NLAIAGENT::VectorType::getDebugString std::string &    text const [inline, virtual]
 

This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.

Implements NLAIC::IBasicType.

Definition at line 264 of file agent_3dvector.h.

References NLAIAGENT::IVector::getValue, NLAIC::stringGetBuild, NLAIAGENT::IVector::x, NLAIAGENT::IVector::y, and NLAIAGENT::IVector::z.

const NLAIC::CIdentType & NLAIAGENT::VectorType::getType   const [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 381 of file agent_3dvector.cpp.

References IdVectorType.

virtual const NLAIC::IBasicType* NLAIAGENT::VectorType::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 256 of file agent_3dvector.h.

References clone.

const IObjectIA::CProcessResult & NLAIAGENT::VectorType::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 373 of file agent_3dvector.cpp.


Member Data Documentation

const NLAIC::CIdentType VectorType::IdVectorType [static]
 

Referenced by getType.


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