#include <xvr2/Net/SocketProtocol.h>
Definition at line 28 of file SocketProtocol.h.
Public Member Functions | |
SocketProtocol () | |
SocketProtocol (const SocketProtocol &sp) | |
int | id () |
const String & | name () |
const String & | name () 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 SocketProtocol & | protocol (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) |
xvr2::Net::SocketProtocol::SocketProtocol | ( | int | i, | |
const String & | n | |||
) | [protected] |
xvr2::Net::SocketProtocol::SocketProtocol | ( | ) |
xvr2::Net::SocketProtocol::SocketProtocol | ( | const SocketProtocol & | sp | ) |
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] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
int xvr2::Net::SocketProtocol::_id [protected] |
Definition at line 32 of file SocketProtocol.h.
String xvr2::Net::SocketProtocol::_name [protected] |
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] |