![]() |
Rosetta
2016.19
|
#include <config.hpp>
Public Member Functions | |
void | read (string const &file_name) |
Read config setting from the file. More... | |
bool | is_namespace_binding_requested (string const &namespace_) const |
check if user requested binding for given declaration More... | |
bool | is_namespace_skipping_requested (string const &namespace_) const |
bool | is_function_binding_requested (string const &function) const |
bool | is_function_skipping_requested (string const &function) const |
bool | is_class_binding_requested (string const &class_) const |
bool | is_class_skipping_requested (string const &class_) const |
Static Public Member Functions | |
static Config & | get () |
Public Attributes | |
string | root_module |
std::vector< string > | namespaces_to_bind |
std::vector< string > | classes_to_bind |
std::vector< string > | functions_to_bind |
std::vector< string > | namespaces_to_skip |
std::vector< string > | classes_to_skip |
std::vector< string > | functions_to_skip |
string | prefix |
uint | maximum_file_length |
Private Types | |
typedef std::string | string |
Private Member Functions | |
Config () | |
Config (string const &root_module_, std::vector< string > namespaces_to_bind_, std::vector< string > namespaces_to_skip_, string const &prefix_, uint maximum_file_length_) | |
|
private |
|
inlineprivate |
|
inlineprivate |
|
static |
Referenced by binder::is_binding_requested().
Referenced by binder::is_skipping_requested().
References begin, and basic::options::OptionKeys::cutoutdomain::end.
Referenced by binder::is_binding_requested().
References begin, and basic::options::OptionKeys::cutoutdomain::end.
Referenced by binder::is_skipping_requested().
check if user requested binding for given declaration
References binder::begins_with(), and basic::options::OptionKeys::in::file::s.
Referenced by binder::is_binding_requested(), and binder::EnumBinder::request_bindings_and_skipping().
References binder::begins_with(), and basic::options::OptionKeys::in::file::s.
Referenced by binder::is_skipping_requested().
void binder::Config::read | ( | string const & | file_name | ) |
Read config setting from the file.
Read config setting from file.
References demo.D060_Folding::f, ObjexxFCL::getline(), line, name, and ObjexxFCL::space().
Referenced by BinderVisitor::BinderVisitor().
std::vector<string> binder::Config::classes_to_bind |
std::vector<string> binder::Config::classes_to_skip |
std::vector<string> binder::Config::functions_to_bind |
std::vector<string> binder::Config::functions_to_skip |
uint binder::Config::maximum_file_length |
Referenced by BinderVisitor::BinderVisitor(), and binder::Context::generate().
std::vector<string> binder::Config::namespaces_to_bind |
Referenced by BinderVisitor::BinderVisitor().
std::vector<string> binder::Config::namespaces_to_skip |
Referenced by BinderVisitor::BinderVisitor().
string binder::Config::prefix |
Referenced by BinderVisitor::BinderVisitor(), yaml.scanner.Scanner::check_document_end(), yaml.scanner.Scanner::check_document_start(), binder::Context::generate(), yaml.scanner.Scanner::scan_anchor(), yaml.scanner.Scanner::scan_block_scalar(), yaml.scanner.Scanner::scan_directive_name(), yaml.scanner.Scanner::scan_flow_scalar(), and yaml.scanner.Scanner::scan_yaml_directive_number().
string binder::Config::root_module |
Referenced by BinderVisitor::BinderVisitor(), and binder::Context::generate().