OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
autogen_util.h File Reference
#include <stdint.h>
#include <time.h>
#include <sstream>
#include <string>
#include <boost/algorithm/string/trim.hpp>
#include <pugixml/pugixml.hpp>
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
#include "base/compiler.h"
Include dependency graph for autogen_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 autogen
 

Functions

static bool autogen::ParseString (const contrail_rapidjson::Value &node, std::string *s)
 
static bool autogen::ParseInteger (const char *nptr, int *valuep)
 
static bool autogen::ParseUnsignedLong (const char *nptr, uint64_t *valuep)
 
static bool autogen::ParseBoolean (const char *bptr, bool *valuep)
 
static bool autogen::ParseInteger (const pugi::xml_attribute &attr, int *valuep)
 
static bool autogen::ParseUnsignedLong (const pugi::xml_attribute &attr, uint64_t *valuep)
 
static bool autogen::ParseBoolean (const pugi::xml_attribute &attr, bool *valuep)
 
static bool autogen::ParseInteger (const pugi::xml_node &node, int *valuep)
 
static bool autogen::ParseUnsignedLong (const pugi::xml_node &node, uint64_t *valuep)
 
static bool autogen::ParseBoolean (const pugi::xml_node &node, bool *valuep)
 
static bool autogen::ParseDateTime (const pugi::xml_node &node, time_t *valuep)
 
static bool autogen::ParseTime (const pugi::xml_node &node, time_t *valuep)
 
static std::string autogen::FormatDateTime (const time_t *valuep)
 
static std::string autogen::FormatTime (const time_t *valuep)
 
static bool autogen::ParseInteger (const contrail_rapidjson::Value &node, int *valuep)
 
static bool autogen::ParseUnsignedLong (const contrail_rapidjson::Value &node, uint64_t *valuep)
 
static bool autogen::ParseBoolean (const contrail_rapidjson::Value &node, bool *valuep)
 
static bool autogen::ParseDateTime (const contrail_rapidjson::Value &node, time_t *valuep)
 
static bool autogen::ParseTime (const contrail_rapidjson::Value &node, time_t *valuep)