dcrud  0.0.0
Distributed data and services
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Arguments Class Reference

#include <Arguments.hpp>

Collaboration diagram for Arguments:
Collaboration graph

Public Member Functions

 Arguments (void)
 
 ~Arguments ()
 
void clear ()
 
bool isEmpty () const
 
size_t getCount () const
 
void putNull (const std::string &key)
 
void put (const std::string &key, const byte &value)
 
void put (const std::string &key, const bool &value)
 
void put (const std::string &key, const unsigned short &value)
 
void put (const std::string &key, const unsigned int &value)
 
void put (const std::string &key, const uint64_t &value)
 
void put (const std::string &key, const float &value)
 
void put (const std::string &key, const double &value)
 
void put (const std::string &key, const std::string &value)
 
void put (const std::string &key, const ClassID &value)
 
void put (const std::string &key, const GUID &value)
 
void put (const std::string &key, const Shareable *value)
 
bool isNull (const std::string &key) const
 
bool get (const std::string &key, byte &value) const
 
bool get (const std::string &key, bool &value) const
 
bool get (const std::string &key, unsigned short &value) const
 
bool get (const std::string &key, unsigned int &value) const
 
bool get (const std::string &key, uint64_t &value) const
 
bool get (const std::string &key, float &value) const
 
bool get (const std::string &key, double &value) const
 
bool get (const std::string &key, std::string &value) const
 
bool get (const std::string &key, ClassID &value) const
 
bool get (const std::string &key, GUID &value) const
 
bool get (const std::string &key, Shareable *&value) const
 
void setMode (byte mode)
 
void setQueue (byte queue)
 
ClassID::Type getType (const std::string &key) const
 
void serialize (io::ByteBuffer &message) const
 

Detailed Description

Definition at line 15 of file Arguments.hpp.

Constructor & Destructor Documentation

Arguments ( void  )
~Arguments ( )

Member Function Documentation

void clear ( )
bool get ( const std::string &  key,
byte &  value 
) const
bool get ( const std::string &  key,
bool &  value 
) const
bool get ( const std::string &  key,
unsigned short &  value 
) const
bool get ( const std::string &  key,
unsigned int &  value 
) const
bool get ( const std::string &  key,
uint64_t &  value 
) const
bool get ( const std::string &  key,
float &  value 
) const
bool get ( const std::string &  key,
double &  value 
) const
bool get ( const std::string &  key,
std::string &  value 
) const
bool get ( const std::string &  key,
ClassID value 
) const
bool get ( const std::string &  key,
GUID value 
) const
bool get ( const std::string &  key,
Shareable *&  value 
) const
size_t getCount ( ) const
inline

Definition at line 28 of file Arguments.hpp.

28  {
29  return _args.size();
30  }
ClassID::Type getType ( const std::string &  key) const
bool isEmpty ( ) const
inline

Definition at line 24 of file Arguments.hpp.

24  {
25  return _args.empty();
26  }
bool isNull ( const std::string &  key) const
void put ( const std::string &  key,
const byte &  value 
)
void put ( const std::string &  key,
const bool &  value 
)
void put ( const std::string &  key,
const unsigned short &  value 
)
void put ( const std::string &  key,
const unsigned int &  value 
)
void put ( const std::string &  key,
const uint64_t &  value 
)
void put ( const std::string &  key,
const float &  value 
)
void put ( const std::string &  key,
const double &  value 
)
void put ( const std::string &  key,
const std::string &  value 
)
void put ( const std::string &  key,
const ClassID value 
)
void put ( const std::string &  key,
const GUID value 
)
void put ( const std::string &  key,
const Shareable value 
)
void putNull ( const std::string &  key)
void serialize ( io::ByteBuffer message) const
void setMode ( byte  mode)
void setQueue ( byte  queue)

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