API  Version 2.0.1
Low-Latency HFT API
 All Classes Functions Variables
API2::DerivedType< T > Class Template Reference

The DerivedType class. More...

#include <baseCommands.h>

Inheritance diagram for API2::DerivedType< T >:
API2::BaseType

Public Member Functions

getValue () const
 
T & getRefValue ()
 
void setValue (const T &value)
 
UNSIGNED_INTEGER getCount () const
 
UNSIGNED_INTEGER & getRefCount ()
 
void setCount (const UNSIGNED_INTEGER &value)
 
 DerivedType (const std::string &type)
 DerivedType. More...
 
 DerivedType ()
 DerivedType.
 
void printType ()
 printType
 
void serializeFun (char *buf, int &bytes)
 serializeFun More...
 
void deSerializeFun (const char *buf, int &offset)
 deSerializeFun More...
 
void serialize (const MapULong &mapULong, char *buf, int &bytes)
 serialize More...
 
void deSerialize (MapULong &val, const char *buf, int &offset)
 deSerialize More...
 
template<class M >
void serialize (const M &value, char *buf, int &bytes)
 serialize More...
 
template<class M >
void deSerialize (M &val, const char *buf, int &offset)
 deSerialize More...
 
void dump ()
 dump
 
std::string getKeyValueString ()
 getKeyValueString
 
template<class M >
std::string getKeyValueStringImpl (const M &val)
 getKeyValueStringImpl More...
 
std::string getKeyValueStringImpl (const API2::AccountDetail &val)
 
std::string getKeyValueStringImpl (const char &val)
 getKeyValueStringImpl More...
 
std::string getKeyValueStringImpl (const UNSIGNED_CHARACTER &val)
 getKeyValueStringImpl More...
 
std::string getKeyValueStringImpl (const MapULong &val)
 getKeyValueStringImpl More...
 
- Public Member Functions inherited from API2::BaseType
std::string getString () const
 
std::string & getRefString ()
 
void setString (const std::string &value)
 
 BaseType (const std::string &stringType)
 BaseType. More...
 
 BaseType ()
 BaseType.
 

Detailed Description

template<class T>
class API2::DerivedType< T >

The DerivedType class.

Constructor & Destructor Documentation

template<class T>
API2::DerivedType< T >::DerivedType ( const std::string &  type)
inline

DerivedType.

Parameters
type

Member Function Documentation

template<class T>
void API2::DerivedType< T >::deSerialize ( MapULong &  val,
const char *  buf,
int &  offset 
)
inline

deSerialize

Parameters
val
buf
offset
template<class T>
template<class M >
void API2::DerivedType< T >::deSerialize ( M &  val,
const char *  buf,
int &  offset 
)
inline

deSerialize

Parameters
val
buf
offset
template<class T>
void API2::DerivedType< T >::deSerializeFun ( const char *  buf,
int &  offset 
)
inlinevirtual

deSerializeFun

Parameters
buf
offset

Implements API2::BaseType.

template<class T>
template<class M >
std::string API2::DerivedType< T >::getKeyValueStringImpl ( const M &  val)
inline

getKeyValueStringImpl

Parameters
val
template<class T>
std::string API2::DerivedType< T >::getKeyValueStringImpl ( const char &  val)
inline

getKeyValueStringImpl

Parameters
val
template<class T>
std::string API2::DerivedType< T >::getKeyValueStringImpl ( const UNSIGNED_CHARACTER &  val)
inline

getKeyValueStringImpl

Parameters
val
template<class T>
std::string API2::DerivedType< T >::getKeyValueStringImpl ( const MapULong &  val)
inline

getKeyValueStringImpl

Parameters
val
template<class T>
void API2::DerivedType< T >::serialize ( const MapULong &  mapULong,
char *  buf,
int &  bytes 
)
inline

serialize

Parameters
mapULong
buf
bytes
template<class T>
template<class M >
void API2::DerivedType< T >::serialize ( const M &  value,
char *  buf,
int &  bytes 
)
inline

serialize

Parameters
value
buf
bytes
template<class T>
void API2::DerivedType< T >::serializeFun ( char *  buf,
int &  bytes 
)
inlinevirtual

serializeFun

Parameters
buf
bytes

Implements API2::BaseType.


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