OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
config_cass2json_adapter.cc File Reference
#include "config_cass2json_adapter.h"
#include <assert.h>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/assign/list_of.hpp>
#include <string>
#include <iostream>
#include "base/string_util.h"
#include "config_cassandra_client.h"
#include "config_client_log.h"
#include "config_client_log_types.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
Include dependency graph for config_cass2json_adapter.cc:

Go to the source code of this file.

Macros

#define CONFIG_PARSE_ASSERT(t, condition)
 

Macro Definition Documentation

#define CONFIG_PARSE_ASSERT (   t,
  condition 
)
Value:
do { \
if (condition) \
break; \
CONFIG_CLIENT_WARN_LOG(ConfigurationMalformed ## t ## Warning ## Log, \
Category::CONFIG_CLIENT, c.key, c.value, type_, uuid_); \
CONFIG_CLIENT_TRACE(ConfigurationMalformed ## t ## Warning ## Trace, \
c.key, c.value, type_, uuid_); \
cout << "CONFIG_PARSE_ERROR " << __FILE__ << ":" << __LINE__ << " "; \
cout << type_ << " " << c.key << " " << c.value << " "; \
cout << uuid_ << endl; \
if (assert_on_parse_error_) \
assert(false); \
return; \
} while (false)
#define CONFIG_CLIENT_WARN_LOG(obj, category,...)
#define CONFIG_CLIENT_TRACE(obj,...)
Definition: trace.h:220

Definition at line 45 of file config_cass2json_adapter.cc.