# 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  

NLAIC::CBinaryType Class Reference

CBinaryType is a basic binnary nomber manipulation. More...

#include <registry_type.h>

Inheritance diagram for NLAIC::CBinaryType:

NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIC::CTypeOfObject NLAIC::CTypeOfOperator List of all members.

Public Methods

 CBinaryType (uint32 bites)
 Construct with an initial nomber. More...

 CBinaryType (const CBinaryType &bites)
 Copy constroctor. More...

 CBinaryType (NLMISC::IStream &is)
 Construct from stream. More...

 CBinaryType ()
 defult constructor. More...

 operator uint () const
 Get value of class. More...

uint getValue () const
void addType (sint32 b)
binary method.
CBinaryType & operator= (sint32 bites)
operator OR.
CBinaryType & operator|= (sint32 bites)
CBinaryType & operator|= (const CBinaryType &bites)
CBinaryType operator| (sint32 bites)
CBinaryType operator| (const CBinaryType &bites)
operator AND.
CBinaryType & operator &= (sint32 bites)
CBinaryType & operator &= (const CBinaryType &bites)
CBinaryType operator & (sint32 bites)
CBinaryType operator & (const CBinaryType &bites)
operator XOR.
CBinaryType & operator^= (sint32 bites)
CBinaryType & operator^= (const CBinaryType &bites)
CBinaryType operator^ (sint32 bites)
CBinaryType operator^ (const CBinaryType &bites)
operator LSHIFT.
CBinaryType & operator<<= (sint32 bites)
CBinaryType operator<< (sint32 bites)
operator RSHIFT.
CBinaryType & operator>>= (sint32 bites)
CBinaryType operator>> (sint32 bites)
bool operator! ()
 Not operator. More...

IBasicInterface method.
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 getDebugString (std::string &t) 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 void load (NLMISC::IStream &is)
 Load the class from a stream. More...


Private Attributes

uint32 _Bites
 Binary nomber. More...


Detailed Description

CBinaryType is a basic binnary nomber manipulation.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 41 of file registry_type.h.


Constructor & Destructor Documentation

NLAIC::CBinaryType::CBinaryType uint32    bites [inline]
 

Construct with an initial nomber.

Definition at line 49 of file registry_type.h.

References _Bites.

Referenced by CBinaryType, NLAIC::CTypeOfObject::CTypeOfObject, NLAIC::CTypeOfOperator::CTypeOfOperator, operator &, operator &=, operator<<, operator<<=, operator=, operator>>, operator>>=, operator^, operator^=, operator|, and operator|=.

NLAIC::CBinaryType::CBinaryType const CBinaryType &    bites [inline]
 

Copy constroctor.

Definition at line 54 of file registry_type.h.

References _Bites, and CBinaryType.

NLAIC::CBinaryType::CBinaryType NLMISC::IStream   is [inline]
 

Construct from stream.

Definition at line 59 of file registry_type.h.

References load.

NLAIC::CBinaryType::CBinaryType   [inline]
 

defult constructor.

Definition at line 65 of file registry_type.h.

References _Bites.

Referenced by clone, newInstance, operator &, operator<<, operator>>, operator^, and operator|.


Member Function Documentation

void NLAIC::CBinaryType::addType sint32    b [inline]
 

Definition at line 229 of file registry_type.h.

References _Bites.

virtual const NLAIC::IBasicType* NLAIC::CBinaryType::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.

Reimplemented in NLAIC::CTypeOfObject.

Definition at line 202 of file registry_type.h.

References CBinaryType.

virtual void NLAIC::CBinaryType::getDebugString std::string &    t 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 216 of file registry_type.h.

References _Bites, NLAIC::stringGetBuild, and t.

virtual const NLAIC::CIdentType& NLAIC::CBinaryType::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.

Reimplemented in NLAIC::CTypeOfObject.

Definition at line 195 of file registry_type.h.

References NLAIC::CIdentType::VoidType.

uint NLAIC::CBinaryType::getValue   const [inline]
 

Definition at line 187 of file registry_type.h.

References _Bites.

Referenced by NLAIAGENT::CMainAgentScript::addDynamicAgent, NLAIAGENT::CAgentScript::addDynamicAgent, NLAIAGENT::CAgentScript::CAgentScript, NLAIAGENT::CAgentScript::createComponents, NLAIAGENT::CAgentScript::runTellParentNotify, NLAIAGENT::CAgentScript::sendMessage, NLAIAGENT::CAgentScript::setAgentManager, and NLAIAGENT::CAgentScript::setStaticMember.

virtual void NLAIC::CBinaryType::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 221 of file registry_type.h.

References _Bites, and NLMISC::IStream::serial.

Referenced by CBinaryType.

virtual const NLAIC::IBasicType* NLAIC::CBinaryType::newInstance   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Reimplemented in NLAIC::CTypeOfObject.

Definition at line 206 of file registry_type.h.

References CBinaryType.

CBinaryType NLAIC::CBinaryType::operator & const CBinaryType &    bites [inline]
 

Definition at line 120 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator & sint32    bites [inline]
 

Definition at line 116 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator &= const CBinaryType &    bites [inline]
 

Definition at line 111 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator &= sint32    bites [inline]
 

Definition at line 106 of file registry_type.h.

References _Bites, and CBinaryType.

NLAIC::CBinaryType::operator uint   const [inline]
 

Get value of class.

Definition at line 182 of file registry_type.h.

References _Bites.

bool NLAIC::CBinaryType::operator!   [inline]
 

Not operator.

Definition at line 175 of file registry_type.h.

References _Bites.

CBinaryType NLAIC::CBinaryType::operator<< sint32    bites [inline]
 

Definition at line 156 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator<<= sint32    bites [inline]
 

Definition at line 151 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator= sint32    bites [inline]
 

Definition at line 72 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator>> sint32    bites [inline]
 

Definition at line 169 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator>>= sint32    bites [inline]
 

Definition at line 164 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator^ const CBinaryType &    bites [inline]
 

Definition at line 143 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator^ sint32    bites [inline]
 

Definition at line 139 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator^= const CBinaryType &    bites [inline]
 

Definition at line 134 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator^= sint32    bites [inline]
 

Definition at line 128 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator| const CBinaryType &    bites [inline]
 

Definition at line 97 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType NLAIC::CBinaryType::operator| sint32    bites [inline]
 

Definition at line 91 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator|= const CBinaryType &    bites [inline]
 

Definition at line 86 of file registry_type.h.

References _Bites, and CBinaryType.

CBinaryType& NLAIC::CBinaryType::operator|= sint32    bites [inline]
 

Definition at line 81 of file registry_type.h.

References _Bites, and CBinaryType.

virtual void NLAIC::CBinaryType::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 210 of file registry_type.h.

References _Bites, and NLMISC::IStream::serial.


Member Data Documentation

uint32 NLAIC::CBinaryType::_Bites [private]
 

Binary nomber.

Definition at line 45 of file registry_type.h.

Referenced by addType, CBinaryType, getDebugString, getValue, load, operator &, operator &=, operator uint, operator!, operator<<, operator<<=, operator=, operator>>, operator>>=, operator^, operator^=, operator|, operator|=, and save.


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