![]() |
Rosetta
3.6
|
#include <config.hpp>
Public Types | |
typedef std::string | string |
Public Member Functions | |
Config (string const &root_module_, std::vector< string > namespaces_to_bind_, std::vector< string > namespaces_to_skip_, string const &prefix_, uint maximum_file_length_) | |
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 |
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 |
typedef std::string binder::Config::string |
|
inline |
Referenced by binder::is_binding_requested().
Referenced by binder::is_skipping_requested().
Referenced by binder::is_binding_requested().
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().
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 binder::Context::generate().
std::vector<string> binder::Config::namespaces_to_bind |
std::vector<string> binder::Config::namespaces_to_skip |
string binder::Config::prefix |
Referenced by 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 binder::Context::generate().