#include <config_cass2json_adapter.h>
|
static std::string | GetJsonString (const contrail_rapidjson::Value &attr_value) |
|
Definition at line 21 of file config_cass2json_adapter.h.
◆ ConfigCass2JsonAdapter() [1/2]
◆ ConfigCass2JsonAdapter() [2/2]
ConfigCass2JsonAdapter::ConfigCass2JsonAdapter |
( |
const std::string & |
uuid, |
|
|
const std::string & |
type, |
|
|
const contrail_rapidjson::Document & |
doc |
|
) |
| |
◆ AddOneEntry()
void ConfigCass2JsonAdapter::AddOneEntry |
( |
contrail_rapidjson::Value * |
jsonObject, |
|
|
const std::string & |
obj_type, |
|
|
const JsonAdapterDataType & |
c, |
|
|
contrail_rapidjson::Document::AllocatorType & |
a |
|
) |
| |
|
private |
◆ assert_on_parse_error()
static bool ConfigCass2JsonAdapter::assert_on_parse_error |
( |
| ) |
|
|
inlinestatic |
◆ CreateJsonString() [1/2]
void ConfigCass2JsonAdapter::CreateJsonString |
( |
const std::string & |
obj_type, |
|
|
const CassColumnKVVec & |
cdvec |
|
) |
| |
|
private |
◆ CreateJsonString() [2/2]
void ConfigCass2JsonAdapter::CreateJsonString |
( |
const std::string & |
value_str | ) |
|
|
private |
◆ document()
const contrail_rapidjson::Document& ConfigCass2JsonAdapter::document |
( |
| ) |
const |
|
inline |
◆ GetJsonString()
string ConfigCass2JsonAdapter::GetJsonString |
( |
const contrail_rapidjson::Value & |
attr_value | ) |
|
|
staticprivate |
◆ set_assert_on_parse_error()
static void ConfigCass2JsonAdapter::set_assert_on_parse_error |
( |
bool |
flag | ) |
|
|
inlinestatic |
◆ type()
const std::string& ConfigCass2JsonAdapter::type |
( |
| ) |
const |
|
inline |
◆ uuid()
const std::string& ConfigCass2JsonAdapter::uuid |
( |
| ) |
const |
|
inline |
◆ allowed_properties
const set< string > ConfigCass2JsonAdapter::allowed_properties |
|
static |
Initial value:=
static const std::string parent_prefix
static const std::string prop_prefix
static const std::string map_prop_prefix
static const std::string ref_prefix
static const std::string list_prop_prefix
Definition at line 31 of file config_cass2json_adapter.h.
◆ assert_on_parse_error_
bool ConfigCass2JsonAdapter::assert_on_parse_error_ |
|
staticprivate |
◆ cassandra_client_
◆ fq_name_prefix
const string ConfigCass2JsonAdapter::fq_name_prefix = "fq_name" |
|
static |
◆ json_document_
contrail_rapidjson::Document ConfigCass2JsonAdapter::json_document_ |
|
private |
◆ list_prop_prefix
const string ConfigCass2JsonAdapter::list_prop_prefix = "propl:" |
|
static |
◆ map_prop_prefix
const string ConfigCass2JsonAdapter::map_prop_prefix = "propm:" |
|
static |
◆ parent_prefix
const string ConfigCass2JsonAdapter::parent_prefix = "parent:" |
|
static |
◆ parent_type_prefix
const string ConfigCass2JsonAdapter::parent_type_prefix = "parent_type" |
|
static |
◆ prop_prefix
const string ConfigCass2JsonAdapter::prop_prefix = "prop:" |
|
static |
◆ ref_prefix
const string ConfigCass2JsonAdapter::ref_prefix = "ref:" |
|
static |
◆ type_
std::string ConfigCass2JsonAdapter::type_ |
|
private |
◆ uuid_
std::string ConfigCass2JsonAdapter::uuid_ |
|
private |
The documentation for this class was generated from the following files: