EpcTools
An event based multi-threaded C++ development framework.
Macros | Functions
egetopt.cpp File Reference
#include <iostream>
#include "epctools.h"
#include "egetopt.h"
#include "rapidjson/filereadstream.h"
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/pointer.h"

Macros

#define RAPIDJSON_NAMESPACE   egetoptrapidjson
 
#define CMDLINE   "cmdline"
 
#define PROGRAM   "program"
 
#define RAW   "raw"
 
#define ARGS   "args"
 
#define CMDLINEARGS   CMDLINE "/" ARGS
 
#define CMDLINERAW   CMDLINE "/" RAW
 
#define FILEBUFFER   512
 
#define ADDRAW(__node__, __arg__, __allocator__)
 

Functions

template<typename T >
std::vector< T > _getArrayBool (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayInt (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayUInt (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayInt64 (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayUInt64 (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayFloat (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayDouble (RAPIDJSON_NAMESPACE::Value *value)
 
template<typename T >
std::vector< T > _getArrayString (RAPIDJSON_NAMESPACE::Value *value)
 
template std::vector< std::string > EGetOpt::getArray< std::string > (cpStr path) const
 

Macro Definition Documentation

#define ADDRAW (   __node__,
  __arg__,
  __allocator__ 
)
Value:
{ \
__node__[RAW].PushBack(RAPIDJSON_NAMESPACE::Value(__arg__, __allocator__), __allocator__); \
}
#define RAW
Definition: egetopt.cpp:31
#define ARGS   "args"
#define CMDLINE   "cmdline"
#define CMDLINEARGS   CMDLINE "/" ARGS
#define CMDLINERAW   CMDLINE "/" RAW
#define FILEBUFFER   512
#define PROGRAM   "program"
#define RAPIDJSON_NAMESPACE   egetoptrapidjson
#define RAW   "raw"

Function Documentation

template<typename T >
std::vector<T> _getArrayBool ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayDouble ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayFloat ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayInt ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayInt64 ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayString ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayUInt ( RAPIDJSON_NAMESPACE::Value *  value)
template<typename T >
std::vector<T> _getArrayUInt64 ( RAPIDJSON_NAMESPACE::Value *  value)
template std::vector<std::string> EGetOpt::getArray< std::string > ( cpStr  path) const