Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Namespaces | Functions
builder.h File Reference

Method builder. More...

#include <string>
#include <iostream>
#include <boost/lexical_cast.hpp>
#include <boost/program_options/options_description.hpp>
#include <camp/function.hpp>
#include <datatools/introspection/method.h>
#include <datatools/ioutils.h>

Go to the source code of this file.

Classes

class  datatools::introspection::method_builder
 This class uses the reflection API to build the description of a function or a class method. Special tags are expected in the reflection API of the function/method in order to generate the function introspective description. The mapped function may have or not a unique returned value. The mapped function can have an arbitrary number of input arguments. Only scalar argument/returned values of simple types (bool, integer, real, string) are supported for now. More...
 
class  datatools::introspection::method_args_builder
 This class uses a variable map from the command line to build a list of arguments for calling a function/method through the reflection API. More...
 

Namespaces

 datatools
 The Bayeux/datatools library top-level namespace.
 
 datatools::introspection
 Nested namespace of the Bayeux/datatools module library.
 

Functions

std::string datatools::introspection::function_builder_flag ()
 
std::string datatools::introspection::function_constness_flag ()
 
std::string datatools::introspection::function_description_tag ()
 
std::string datatools::introspection::name_tag ()
 
std::string datatools::introspection::description_tag ()
 
std::string datatools::introspection::type_tag ()
 
std::string datatools::introspection::layout_tag ()
 
std::string datatools::introspection::vector_fixed_size_tag ()
 
std::string datatools::introspection::implicit_unit_tag ()
 
std::string datatools::introspection::explicit_unit_dimension_tag ()
 
std::string datatools::introspection::preferred_unit_tag ()
 
std::string datatools::introspection::default_value_tag ()
 
std::string datatools::introspection::composed_tag (const std::string &prefix_, const std::string &what_)
 
std::string datatools::introspection::function_arg_prefix (std::size_t iarg_)
 
std::string datatools::introspection::function_arg_tag (std::size_t iarg_, const std::string &what_)
 
std::string datatools::introspection::function_returned_prefix ()
 
std::string datatools::introspection::function_returned_tag (const std::string &what_)
 

Detailed Description

Method builder.