CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JsonStringGenerator::JsonEntry Struct Reference

Public Member Functions

 JsonEntry (const std::string &key_escaped, const std::string &val)
 
 JsonEntry (const std::string &key_escaped, const std::string &val, const JsonVariant variant)
 
 JsonEntry (const std::string &key_escaped, const int val)
 
 JsonEntry (const std::string &key_escaped, const float val)
 
 JsonEntry (const std::string &key_escaped, const int64_t val)
 
std::string Format () const
 

Public Attributes

JsonVariant variant
 
std::string key_escaped
 
std::string str_val_escaped
 
int64_t int_val
 
float float_val
 

Detailed Description

Definition at line 32 of file json_document_write.h.

Constructor & Destructor Documentation

JsonStringGenerator::JsonEntry::JsonEntry ( const std::string &  key_escaped,
const std::string &  val 
)
inline

Definition at line 39 of file json_document_write.h.

JsonStringGenerator::JsonEntry::JsonEntry ( const std::string &  key_escaped,
const std::string &  val,
const JsonVariant  variant 
)
inline

Definition at line 46 of file json_document_write.h.

JsonStringGenerator::JsonEntry::JsonEntry ( const std::string &  key_escaped,
const int  val 
)
inline

Definition at line 54 of file json_document_write.h.

JsonStringGenerator::JsonEntry::JsonEntry ( const std::string &  key_escaped,
const float  val 
)
inline

Definition at line 61 of file json_document_write.h.

JsonStringGenerator::JsonEntry::JsonEntry ( const std::string &  key_escaped,
const int64_t  val 
)
inline

Definition at line 68 of file json_document_write.h.

Member Function Documentation

std::string JsonStringGenerator::JsonEntry::Format ( ) const
inline

Definition at line 75 of file json_document_write.h.

Here is the call graph for this function:

Member Data Documentation

float JsonStringGenerator::JsonEntry::float_val

Definition at line 37 of file json_document_write.h.

int64_t JsonStringGenerator::JsonEntry::int_val

Definition at line 36 of file json_document_write.h.

std::string JsonStringGenerator::JsonEntry::key_escaped

Definition at line 34 of file json_document_write.h.

std::string JsonStringGenerator::JsonEntry::str_val_escaped

Definition at line 35 of file json_document_write.h.

JsonVariant JsonStringGenerator::JsonEntry::variant

Definition at line 33 of file json_document_write.h.


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