Common Data class.
More...
#include <CommonData.h>
|
virtual int | PutInt (int key, int value)=0 |
|
virtual int | PutInt (const std::string &key, int value)=0 |
|
virtual int | GetInt (int key)=0 |
|
virtual int | GetInt (const std::string &key)=0 |
|
virtual std::map< int, int > & | GetIntIntMap ()=0 |
|
virtual std::map< std::string, int > & | GetStrIntMap ()=0 |
|
virtual int | PutStr (const std::string &key, const std::string &value)=0 |
|
virtual int | PutStr (int key, const std::string &value)=0 |
|
virtual std::string | GetStr (const std::string &key)=0 |
|
virtual std::string | GetStr (int key)=0 |
|
virtual std::map< int, std::string > & | GetIntStrMap ()=0 |
|
virtual std::map< std::string, std::string > & | GetStrStrMap ()=0 |
|
virtual int | PutBuf (int key, boost::shared_ptr< IoBuffer > value)=0 |
|
virtual int | PutBuf (const std::string &key, boost::shared_ptr< IoBuffer > value)=0 |
|
virtual boost::shared_ptr< IoBuffer > | GetBuf (int key)=0 |
|
virtual boost::shared_ptr< IoBuffer > | GetBuf (const std::string &key)=0 |
|
virtual std::map< int, boost::shared_ptr< IoBuffer > > & | GetIntBufMap ()=0 |
|
virtual std::map< std::string, boost::shared_ptr< IoBuffer > > & | GetStrBufMap ()=0 |
|
virtual int | PutObj (int key, boost::shared_ptr< Business > value)=0 |
|
virtual int | PutObj (const std::string &key, boost::shared_ptr< Business > value)=0 |
|
virtual boost::shared_ptr< Business > | GetObj (int key)=0 |
|
virtual boost::shared_ptr< Business > | GetObj (const std::string &key)=0 |
|
virtual std::map< int, boost::shared_ptr< Business > > & | GetIntObjMap ()=0 |
|
virtual std::map< std::string, boost::shared_ptr< Business > > & | GetStrObjMap ()=0 |
|
virtual boost::shared_ptr<IoBuffer> esnlib::CommonData::GetBuf |
( |
int |
key | ) |
|
|
pure virtual |
Get buffer value with integer key
- Parameters
-
- Returns
- The buffer value (a pointer of IO buffer)
virtual boost::shared_ptr<IoBuffer> esnlib::CommonData::GetBuf |
( |
const std::string & |
key | ) |
|
|
pure virtual |
Get buffer value with string key
- Parameters
-
- Returns
- The buffer value (a pointer of IO buffer)
virtual int esnlib::CommonData::GetInt |
( |
int |
key | ) |
|
|
pure virtual |
Get integer value with integer key
- Parameters
-
- Returns
- The integer value
virtual int esnlib::CommonData::GetInt |
( |
const std::string & |
key | ) |
|
|
pure virtual |
Get integer value with string key
- Parameters
-
- Returns
- The integer value
virtual std::map< int, boost::shared_ptr<IoBuffer> >& esnlib::CommonData::GetIntBufMap |
( |
| ) |
|
|
pure virtual |
Get the integer-buffer map
- Returns
- The integer-buffer map
virtual std::map<int, int>& esnlib::CommonData::GetIntIntMap |
( |
| ) |
|
|
pure virtual |
Get the integer-integer map
- Returns
- The integer-integer map
virtual std::map< int, boost::shared_ptr<Business> >& esnlib::CommonData::GetIntObjMap |
( |
| ) |
|
|
pure virtual |
Get the integer-object map
- Returns
- The integer-object map
virtual std::map<int, std::string>& esnlib::CommonData::GetIntStrMap |
( |
| ) |
|
|
pure virtual |
Get the integer-string map
- Returns
- The integer-string map
virtual boost::shared_ptr<Business> esnlib::CommonData::GetObj |
( |
int |
key | ) |
|
|
pure virtual |
Get object value with integer key
- Parameters
-
- Returns
- The object value (a pointer of Business object)
virtual boost::shared_ptr<Business> esnlib::CommonData::GetObj |
( |
const std::string & |
key | ) |
|
|
pure virtual |
Get object value with string key
- Parameters
-
- Returns
- The object value (a pointer of Business object)
virtual std::string esnlib::CommonData::GetStr |
( |
const std::string & |
key | ) |
|
|
pure virtual |
Get string value with string key
- Parameters
-
- Returns
- The string value
virtual std::string esnlib::CommonData::GetStr |
( |
int |
key | ) |
|
|
pure virtual |
Get string value with integer key
- Parameters
-
- Returns
- The string value
virtual std::map< std::string, boost::shared_ptr<IoBuffer> >& esnlib::CommonData::GetStrBufMap |
( |
| ) |
|
|
pure virtual |
Get the string-buffer map
- Returns
- The string-buffer map
virtual std::map<std::string, int>& esnlib::CommonData::GetStrIntMap |
( |
| ) |
|
|
pure virtual |
Get the string-integer map
- Returns
- The string-integer map
virtual std::map< std::string, boost::shared_ptr<Business> >& esnlib::CommonData::GetStrObjMap |
( |
| ) |
|
|
pure virtual |
Get the string-object map
- Returns
- The string-object map
virtual std::map<std::string, std::string>& esnlib::CommonData::GetStrStrMap |
( |
| ) |
|
|
pure virtual |
Get the string-string map
- Returns
- The string-string map
virtual int esnlib::CommonData::PutBuf |
( |
int |
key, |
|
|
boost::shared_ptr< IoBuffer > |
value |
|
) |
| |
|
pure virtual |
Put buffer value with integer key into map
- Parameters
-
key | The integer key |
value | The buffer value (a pointer of IO buffer) |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutBuf |
( |
const std::string & |
key, |
|
|
boost::shared_ptr< IoBuffer > |
value |
|
) |
| |
|
pure virtual |
Put buffer value with string key into map
- Parameters
-
key | The string key |
value | The buffer value (a pointer of IO buffer) |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutInt |
( |
int |
key, |
|
|
int |
value |
|
) |
| |
|
pure virtual |
Put integer value with integer key into map
- Parameters
-
key | The integer key |
value | The integer value |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutInt |
( |
const std::string & |
key, |
|
|
int |
value |
|
) |
| |
|
pure virtual |
Put integer value with string key into map
- Parameters
-
key | The string key |
value | The integer value |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutObj |
( |
int |
key, |
|
|
boost::shared_ptr< Business > |
value |
|
) |
| |
|
pure virtual |
Put object value with integer key into map
- Parameters
-
key | The integer key |
value | The object value (a pointer of Business object) |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutObj |
( |
const std::string & |
key, |
|
|
boost::shared_ptr< Business > |
value |
|
) |
| |
|
pure virtual |
Put object value with string key into map
- Parameters
-
key | The string key |
value | The object value (a pointer of Business object) |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutStr |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
pure virtual |
Put string value with string key into map
- Parameters
-
key | The string key |
value | The string value |
- Returns
- The size of the map
virtual int esnlib::CommonData::PutStr |
( |
int |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
pure virtual |
Put string value with integer key into map
- Parameters
-
key | The integer key |
value | The string value |
- Returns
- The size of the map
The documentation for this class was generated from the following file: