NLMISC::CSerialCommand Struct Reference

#include <command.h>


Detailed Description

This class is only used to serialize easily a command for the admin service for example

Definition at line 156 of file command.h.

Public Member Functions

 CSerialCommand (std::string n, ICommand::TType t)
 CSerialCommand ()
void serial (IStream &f)

Data Fields

std::string Name
ICommand::TType Type


Constructor & Destructor Documentation

NLMISC::CSerialCommand::CSerialCommand  )  [inline]
 

Definition at line 158 of file command.h.

00158 : Name ("<Unknown>"), Type(ICommand::Unknown) { }

NLMISC::CSerialCommand::CSerialCommand std::string  n,
ICommand::TType  t
[inline]
 

Definition at line 159 of file command.h.

References t.

00159 : Name (n), Type(t) { }


Member Function Documentation

void NLMISC::CSerialCommand::serial IStream f  )  [inline]
 

Definition at line 164 of file command.h.

References NLMISC::IStream::serial(), and NLMISC::IStream::serialEnum().

00165         {
00166                 f.serial (Name);
00167                 f.serialEnum (Type);
00168         }


Field Documentation

std::string NLMISC::CSerialCommand::Name
 

Definition at line 161 of file command.h.

ICommand::TType NLMISC::CSerialCommand::Type
 

Definition at line 162 of file command.h.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 13:32:38 2004 for NeL by doxygen 1.3.6