OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenDb Namespace Reference

Classes

struct  DbConsistency
 
struct  Op
 
struct  Blob
 
struct  NewCf
 
struct  NewCol
 
struct  ColList
 
struct  ColumnNameRange
 
struct  DbOpResult
 
class  GenDbIf
 
class  DbTableStatistics
 
class  IfErrors
 
class  GenDbIfStats
 

Typedefs

typedef boost::variant
< boost::blank, std::string,
uint64_t, uint32_t,
boost::uuids::uuid, uint8_t,
uint16_t, double, IpAddress,
Blob
DbDataValue
 
typedef std::vector< DbDataValueDbDataValueVec
 
typedef std::vector
< GenDb::DbDataType::type
DbDataTypeVec
 
typedef boost::ptr_vector< NewColNewColVec
 
typedef boost::ptr_vector
< ColList
ColListVec
 
typedef boost::tuple
< std::string, GenDb::Op::type,
DbDataValue
WhereIndexInfo
 
typedef std::vector
< WhereIndexInfo
WhereIndexInfoVec
 
typedef boost::tuple
< std::string, bool, bool,
bool > 
FieldNamesToReadInfo
 
typedef std::vector
< FieldNamesToReadInfo
FieldNamesToReadVec
 
typedef
boost::asio::ip::tcp::endpoint 
Endpoint
 

Enumerations

enum  DbDataValueType {
  DB_VALUE_BLANK = 0, DB_VALUE_STRING = 1, DB_VALUE_UINT64 = 2, DB_VALUE_UINT32 = 3,
  DB_VALUE_UUID = 4, DB_VALUE_UINT8 = 5, DB_VALUE_UINT16 = 6, DB_VALUE_DOUBLE = 7,
  DB_VALUE_INET = 8, DB_VALUE_BLOB = 9
}
 

Functions

bool operator== (const Blob &lhs, const Blob &rhs)
 
bool operator< (const Blob &lhs, const Blob &rhs)
 
std::ostream & operator<< (std::ostream &out, const Blob &value)
 
std::string DbDataValueVecToString (const GenDb::DbDataValueVec &v_db_value)
 
std::string DbDataValueToString (const GenDb::DbDataValue &db_value)
 
std::string bytes_to_hex (const uint8_t *byte_array, size_t size)
 
bool operator== (const ColList &lhs, const ColList &rhs)
 

Typedef Documentation

typedef boost::ptr_vector<ColList> GenDb::ColListVec

Definition at line 208 of file gendb_if.h.

Definition at line 101 of file gendb_if.h.

typedef boost::variant<boost::blank, std::string, uint64_t, uint32_t, boost::uuids::uuid, uint8_t, uint16_t, double, IpAddress, Blob> GenDb::DbDataValue

Definition at line 85 of file gendb_if.h.

typedef std::vector<DbDataValue> GenDb::DbDataValueVec

Definition at line 100 of file gendb_if.h.

typedef boost::asio::ip::tcp::endpoint GenDb::Endpoint

Definition at line 240 of file gendb_if.h.

typedef boost::tuple<std::string, bool, bool, bool> GenDb::FieldNamesToReadInfo

Definition at line 237 of file gendb_if.h.

Definition at line 238 of file gendb_if.h.

typedef boost::ptr_vector<NewCol> GenDb::NewColVec

Definition at line 186 of file gendb_if.h.

typedef boost::tuple<std::string, GenDb::Op::type, DbDataValue> GenDb::WhereIndexInfo

Definition at line 232 of file gendb_if.h.

Definition at line 233 of file gendb_if.h.

Enumeration Type Documentation

Enumerator
DB_VALUE_BLANK 
DB_VALUE_STRING 
DB_VALUE_UINT64 
DB_VALUE_UINT32 
DB_VALUE_UUID 
DB_VALUE_UINT8 
DB_VALUE_UINT16 
DB_VALUE_DOUBLE 
DB_VALUE_INET 
DB_VALUE_BLOB 

Definition at line 87 of file gendb_if.h.

Function Documentation

std::string GenDb::bytes_to_hex ( const uint8_t *  byte_array,
size_t  size 
)

Definition at line 116 of file gendb_if.cc.

std::string GenDb::DbDataValueToString ( const GenDb::DbDataValue db_value)

Definition at line 165 of file gendb_if.cc.

std::string GenDb::DbDataValueVecToString ( const GenDb::DbDataValueVec v_db_value)

Definition at line 102 of file gendb_if.cc.

Here is the call graph for this function:

bool GenDb::operator< ( const Blob &  lhs,
const Blob &  rhs 
)
inline

Definition at line 76 of file gendb_if.h.

std::ostream & GenDb::operator<< ( std::ostream &  out,
const Blob value 
)

Definition at line 128 of file gendb_if.cc.

Here is the call graph for this function:

bool GenDb::operator== ( const Blob &  lhs,
const Blob &  rhs 
)
inline

Definition at line 72 of file gendb_if.h.

bool GenDb::operator== ( const ColList &  lhs,
const ColList &  rhs 
)
inline

Definition at line 202 of file gendb_if.h.