xvr2::Net::SocketProtocol Class Reference

#include <xvr2/Net/SocketProtocol.h>

Inheritance diagram for xvr2::Net::SocketProtocol:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 28 of file SocketProtocol.h.


Public Member Functions

 SocketProtocol ()
 SocketProtocol (const SocketProtocol &sp)
int id ()
const Stringname ()
const Stringname () const
const std::vector< String > & aliases () const
const std::vector< String > & aliases ()
virtual const char * getClassName ()
 Returns the name of the current class.
virtual std::string toString ()

Static Public Member Functions

static const std::vector
< SocketProtocol > & 
protocols ()
static SocketProtocolprotocol (int __id)
static void debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)
 Will print a debug message to the screen.
static void debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)

Protected Member Functions

 SocketProtocol (int i, const String &n)
void addAlias (const String &a)

Protected Attributes

int _id
String _name
std::vector< String_aliases
std::string __cls_name

Static Private Member Functions

static void loadProtocols ()

Friends

std::ostream & operator<< (std::ostream &stream, const Object &s)

Constructor & Destructor Documentation

xvr2::Net::SocketProtocol::SocketProtocol ( int  i,
const String n 
) [protected]

xvr2::Net::SocketProtocol::SocketProtocol (  ) 

xvr2::Net::SocketProtocol::SocketProtocol ( const SocketProtocol sp  ) 


Member Function Documentation

static void xvr2::Net::SocketProtocol::loadProtocols (  )  [static, private]

void xvr2::Net::SocketProtocol::addAlias ( const String a  )  [protected]

int xvr2::Net::SocketProtocol::id (  ) 

const String& xvr2::Net::SocketProtocol::name (  ) 

const String& xvr2::Net::SocketProtocol::name (  )  const

const std::vector<String>& xvr2::Net::SocketProtocol::aliases (  )  const

const std::vector<String>& xvr2::Net::SocketProtocol::aliases (  ) 

static const std::vector<SocketProtocol>& xvr2::Net::SocketProtocol::protocols (  )  [static]

static SocketProtocol& xvr2::Net::SocketProtocol::protocol ( int  __id  )  [static]

virtual const char* xvr2::Object::getClassName (  )  [virtual, inherited]

Returns the name of the current class.

static void xvr2::Object::debugmsg ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]

Will print a debug message to the screen.

static void xvr2::Object::debugmsgln ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]

virtual std::string xvr2::Object::toString (  )  [virtual, inherited]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

Definition at line 32 of file SocketProtocol.h.

Definition at line 33 of file SocketProtocol.h.

std::vector<String> xvr2::Net::SocketProtocol::_aliases [protected]

Definition at line 34 of file SocketProtocol.h.

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.


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

Generated on Fri Jun 20 22:56:03 2008 for X-VR2 SDK by  doxygen 1.5.5