ot_lib Namespace Reference


Classes

class  binaryWriter
class  exitHandler
class  mutexLockFunction
class  xmlTag
 XML tag class. More...
class  ot_obj
 OT_LIB base object class. More...
class  ot_objectFactoryCallback
class  ot_objectFactoryCallbackRegister
class  ot_objectFactory
class  ot_exception
class  ot_null
 OT_LIB Null type class. More...
class  ot_bool
 OT_LIB Boolean class. More...
class  ot_num
 OT_LIB Numeric type base class. More...
class  ot_int
 OT_LIB Integer class. More...
class  ot_uint
 OT_LIB Integer class. More...
class  ot_float
 OT_LIB Float class. More...
class  ot_string
 OT_LIB String class. More...
class  ot_container_element
class  ot_list
 OT_LIB Vector class. More...
class  ot_vector
 OT_LIB Vector class. More...
class  ot_map
 OT_LIB Map class. More...
class  ot_time
 OT_LIB time type class. More...
class  ot_rawData
 OT_LIB Raw data class. More...
class  ot_ior
 OT_LIB IOR class. More...
class  ot_path
class  ot_messageBase
class  ot_messageRequest
class  ot_messageResponse
class  ot_messageACTION
class  ot_messageACTIONRESP
class  ot_messageDUMP
class  ot_messageDUMPRESP
class  ot_messageERROR
class  ot_messageGET
class  ot_messageGETRESP
class  ot_messagePING
class  ot_messagePINGRESP
class  ot_messageSET
class  ot_messageSETRESP
class  ot_messageCodec
 OT_LIB Message Handler. More...
class  ot_messageCodecStd
 OT_LIB STD codec. More...
class  ot_messageCodecGZip
 OT_LIB GZIP codec. More...
class  ot_codecRepository
 OT_LIB codec repository. More...
class  ot_functionImplementation
 OT_LIB callback function. More...
class  ot_interfaceElement
class  ot_interfaceFunction
class  ot_interfaceAttribute
class  interfaceRepository
class  ot_interface
 OT_LIB interface class. More...
class  ot_manager
class  ot_functionManager
 OT_LIB function manager. More...
class  utilityTCP
class  clientTCPSession
class  serverTCPSocket
class  acceptTCPSocket
class  ot_socketServer
class  ot_socketManager

Enumerations

enum  OT_OBJECT_TYPE {
  OT_NULL, OT_INT, OT_UINT, OT_FLOAT,
  OT_STRING, OT_VECTOR, OT_MAP, OT_LIST,
  OT_TIME, OT_RAWDATA, OT_IOR, OT_BOOL,
  OT_PATH, OT_EX_INTERFACE_NOT_EX_FOUND, OT_EX_CODEC_DECODING_ERROR, OT_EX_ACCESS_DENY,
  OT_EX_FUNCTION_NOT_EX_FOUND, OT_EX_OUT_OF_MEMORY, OT_EX_ELEMENT_DELETION_ERROR, OT_EX_INVALID_INTERFACE_NAME,
  OT_EX_INVALID_ATTRIBUTE_NAME, OT_EX_INVALID_FUNCTION_NAME, OT_EX_INTERFACE_ALREADY_PRESENT, OT_EX_ELEMENT_ALREADY_PRESENT,
  OT_EX_INTERFACE_ELEMENT_NOT_FOUND, OT_EX_INTERFACE_FULL, OT_EX_INTERNAL_ERROR, OT_EX_ATTRIBUTE_LOCKED,
  OT_EX_ENCODING_ERROR, OT_EX_DECODING_ERROR, OT_EX_SOCKET_SERVER_INIT_FAILED, OT_EX_SOCKET_SERVER_BIND_FAILED,
  OT_EX_SOCKET_SERVER_SOCKET_CREATION_ERROR, OT_EX_SOCKET_UTILITY_CONNECTION_FAILED, OT_EX_SOCKET_UTILITY_WRITING_ERROR, OT_EX_SOCKET_UTILITY_READING_ERROR,
  OT_EX_CODEC_NOT_FOUND, OT_EX_CODEC_REGISTRATION_FAILED
}
enum  OT_IE_ACCESS { IE_PUBLIC, IE_PRIVATE, IE_DENY }
enum  OT_IE_STATUS { IE_LOCKED, IE_UNLOCKED }
enum  OT_MESSAGE_TYPE {
  ACTION, ACTIONRESP, GET, GETRESP,
  SET, SETRESP, PING, PINGRESP,
  DUMP, DUMPRESP, ERROR
}

Functions

bool isws (char c, char const *const wstr)
template<typename Container>
void stringtok (Container &l, string const &s, char const *const ws=" \t\n")
string getUserName (void)
ot_objbuildOTObjFromData (istream &s)
 OT_EXCEPTION_BUILDER (codecNotFound, OT_EX_CODEC_NOT_FOUND,"Codec not found")
 OT_EXCEPTION_BUILDER (codecRegistrationFailed, OT_EX_CODEC_REGISTRATION_FAILED,"Codec registration failed")


Enumeration Type Documentation

Enumerator:
IE_PUBLIC 
IE_PRIVATE 
IE_DENY 

Enumerator:
IE_LOCKED 
IE_UNLOCKED 

Enumerator:
ACTION 
ACTIONRESP 
GET 
GETRESP 
SET 
SETRESP 
PING 
PINGRESP 
DUMP 
DUMPRESP 
ERROR 

Enumerator:
OT_NULL 
OT_INT 
OT_UINT 
OT_FLOAT 
OT_STRING 
OT_VECTOR 
OT_MAP 
OT_LIST 
OT_TIME 
OT_RAWDATA 
OT_IOR 
OT_BOOL 
OT_PATH 
OT_EX_INTERFACE_NOT_EX_FOUND 
OT_EX_CODEC_DECODING_ERROR 
OT_EX_ACCESS_DENY 
OT_EX_FUNCTION_NOT_EX_FOUND 
OT_EX_OUT_OF_MEMORY 
OT_EX_ELEMENT_DELETION_ERROR 
OT_EX_INVALID_INTERFACE_NAME 
OT_EX_INVALID_ATTRIBUTE_NAME 
OT_EX_INVALID_FUNCTION_NAME 
OT_EX_INTERFACE_ALREADY_PRESENT 
OT_EX_ELEMENT_ALREADY_PRESENT 
OT_EX_INTERFACE_ELEMENT_NOT_FOUND 
OT_EX_INTERFACE_FULL 
OT_EX_INTERNAL_ERROR 
OT_EX_ATTRIBUTE_LOCKED 
OT_EX_ENCODING_ERROR 
OT_EX_DECODING_ERROR 
OT_EX_SOCKET_SERVER_INIT_FAILED 
OT_EX_SOCKET_SERVER_BIND_FAILED 
OT_EX_SOCKET_SERVER_SOCKET_CREATION_ERROR 
OT_EX_SOCKET_UTILITY_CONNECTION_FAILED 
OT_EX_SOCKET_UTILITY_WRITING_ERROR 
OT_EX_SOCKET_UTILITY_READING_ERROR 
OT_EX_CODEC_NOT_FOUND 
OT_EX_CODEC_REGISTRATION_FAILED 


Function Documentation

ot_obj* ot_lib::buildOTObjFromData ( istream &  s  ) 

string ot_lib::getUserName ( void   ) 

bool ot_lib::@40::isws ( char  c,
char const *const   wstr 
) [inline, static]

ot_lib::OT_EXCEPTION_BUILDER ( codecRegistrationFailed  ,
OT_EX_CODEC_REGISTRATION_FAILED  ,
"Codec registration failed"   
)

ot_lib::OT_EXCEPTION_BUILDER ( codecNotFound  ,
OT_EX_CODEC_NOT_FOUND  ,
"Codec not found"   
)

template<typename Container>
void ot_lib::stringtok ( Container &  l,
string const &  s,
char const *const   ws = " \t\n" 
) [inline]


Generated on Sun May 4 12:42:45 2008 for OT_LIB 4.1 by  doxygen 1.5.5