BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions
plugin.hpp File Reference
#include <graphene/app/application.hpp>
#include <boost/program_options.hpp>
#include <fc/io/json.hpp>

Go to the source code of this file.

Classes

class  graphene::app::abstract_plugin
 
class  graphene::app::plugin
 

Namespaces

 graphene
 
 graphene::app
 
 graphene::app::impl
 

Functions

template<typename T >
graphene::app::impl::dejsonify (const string &s)
 
#define DEFAULT_VALUE_VECTOR(value)   default_value({fc::json::to_string(value)}, fc::json::to_string(value))
 
#define LOAD_VALUE_SET(options, name, container, type)
 
template<typename T >
graphene::app::dejsonify (const string &s, uint32_t max_depth)
 

Macro Definition Documentation

#define DEFAULT_VALUE_VECTOR (   value)    default_value({fc::json::to_string(value)}, fc::json::to_string(value))

Definition at line 139 of file plugin.hpp.

#define LOAD_VALUE_SET (   options,
  name,
  container,
  type 
)
Value:
if( options.count(name) ) { \
const std::vector<std::string>& ops = options[name].as<std::vector<std::string>>(); \
std::transform(ops.begin(), ops.end(), std::inserter(container, container.end()), &graphene::app::impl::dejsonify<type>); \
}
typename impl::transform< List, Transformer >::type transform
Transform elements of a typelist.
Definition: typelist.hpp:170

Definition at line 140 of file plugin.hpp.