# 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::CMsgIStream Class Reference

#include <msg_stream.h>

Inheritance diagram for NLAIAGENT::CMsgIStream:

NLMISC::IStream List of all members.

Public Methods

 CMsgIStream (const IBaseGroupType &l)
 CMsgIStream (const CMsgIStream &ist)
virtual ~CMsgIStream ()
virtual void serial (uint8 &b) throw (NLMISC::EStream)
virtual void serial (sint8 &b) throw (NLMISC::EStream)
virtual void serial (uint16 &b) throw (NLMISC::EStream)
virtual void serial (sint16 &b) throw (NLMISC::EStream)
virtual void serial (uint32 &b) throw (NLMISC::EStream)
virtual void serial (sint32 &b) throw (NLMISC::EStream)
virtual void serial (uint64 &b) throw (NLMISC::EStream)
virtual void serial (sint64 &b) throw (NLMISC::EStream)
virtual void serial (float &b) throw (NLMISC::EStream)
virtual void serial (double &b) throw (NLMISC::EStream)
virtual void serial (bool &b) throw (NLMISC::EStream)
virtual void serial (IObjectIA &b) throw (NLMISC::EStream)
virtual void serial (IObjectIA *&b) throw (NLMISC::EStream)
virtual void serial (char &b) throw (NLMISC::EStream)
virtual void serial (std::string &b) throw (NLMISC::EStream)
virtual void serial (ucstring &b) throw (NLMISC::EStream)
virtual void serialBuffer (uint8 *buf, uint len) throw (NLMISC::EReadError)
 Method to be specified by the Deriver. More...

virtual void serialBit (bool &bit) throw (NLMISC::EReadError)
virtual sint32 getPos ()
 Get the location of the stream pointer. More...

bool isEnd () const

Private Attributes

const IBaseGroupType_List
CConstIteratorContener _It
sint32 _Len
sint32 _Pos

Constructor & Destructor Documentation

NLAIAGENT::CMsgIStream::CMsgIStream const IBaseGroupType   l [inline]
 

Definition at line 42 of file msg_stream.h.

References _It, _Len, _List, _Pos, NLMISC::IStream::IStream, and NLAISCRIPT::l.

Referenced by CMsgIStream.

NLAIAGENT::CMsgIStream::CMsgIStream const CMsgIStream &    ist [inline]
 

Definition at line 46 of file msg_stream.h.

References _It, _Len, _List, _Pos, CMsgIStream, and NLMISC::IStream::IStream.

virtual NLAIAGENT::CMsgIStream::~CMsgIStream   [inline, virtual]
 

Definition at line 50 of file msg_stream.h.


Member Function Documentation

virtual sint32 NLAIAGENT::CMsgIStream::getPos   [inline, virtual]
 

Get the location of the stream pointer.

NB: If the stream doesn't support the seek fonctionnality, it throw ESeekNotSupported. Default implementation: { throw ESeekNotSupported; }

Parameters:
offset  is the wanted offset from the origin.
origin  is the origin of the seek
Returns:
the new offset regarding from the origin.
See also:
ESeekNotSupported SeekOrigin seek

Reimplemented from NLMISC::IStream.

Definition at line 82 of file msg_stream.h.

References _Pos.

bool NLAIAGENT::CMsgIStream::isEnd   const [inline]
 

Definition at line 86 of file msg_stream.h.

References _It.

void NLAIAGENT::CMsgIStream::serial ucstring   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 126 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial std::string &    b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 119 of file msg_stream.cpp.

References s.

void NLAIAGENT::CMsgIStream::serial char &    b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 112 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial IObjectIA *&    b throw (NLMISC::EStream) [virtual]
 

Definition at line 137 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial IObjectIA   b throw (NLMISC::EStream) [virtual]
 

Definition at line 131 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial bool &    b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 105 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial double &    b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 99 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial float &    b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 93 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial sint64   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 87 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial uint64   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 81 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial sint32   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 75 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial uint32   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 69 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial sint16   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 63 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial uint16   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 57 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial sint8   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 51 of file msg_stream.cpp.

void NLAIAGENT::CMsgIStream::serial uint8   b throw (NLMISC::EStream) [virtual]
 

Reimplemented from NLMISC::IStream.

Definition at line 45 of file msg_stream.cpp.

virtual void NLAIAGENT::CMsgIStream::serialBit bool &    bit throw (NLMISC::EReadError) [inline, virtual]
 

Implements NLMISC::IStream.

Definition at line 78 of file msg_stream.h.

References _List.

virtual void NLAIAGENT::CMsgIStream::serialBuffer uint8   buf,
uint    len
throw (NLMISC::EReadError) [inline, virtual]
 

Method to be specified by the Deriver.

Warning:
Do not call these methods from outside, unless you really know what you are doing. Using them instead of serial() can lead to communication problems between different platforms !

Implements NLMISC::IStream.

Definition at line 74 of file msg_stream.h.

References _List.


Member Data Documentation

CConstIteratorContener NLAIAGENT::CMsgIStream::_It [private]
 

Definition at line 37 of file msg_stream.h.

Referenced by CMsgIStream, and isEnd.

sint32 NLAIAGENT::CMsgIStream::_Len [private]
 

Definition at line 38 of file msg_stream.h.

Referenced by CMsgIStream.

const IBaseGroupType& NLAIAGENT::CMsgIStream::_List [private]
 

Definition at line 36 of file msg_stream.h.

Referenced by CMsgIStream, serialBit, and serialBuffer.

sint32 NLAIAGENT::CMsgIStream::_Pos [private]
 

Definition at line 39 of file msg_stream.h.

Referenced by CMsgIStream, and getPos.


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