|
cpp-hocon
0.3.0
|
Public Member Functions | |
| parseable_string (std::string s, config_parse_options options) | |
| std::unique_ptr< std::istream > | reader () const override |
| shared_origin | create_origin () const override |
| void | post_construct (config_parse_options const &base_options) |
| std::shared_ptr< config_document > | parse_config_document () |
| shared_object | parse (config_parse_options const &options) const override |
| Parse whatever it is. More... | |
| shared_object | parse () const |
| shared_value | parse_value () const |
| config_parse_options const & | options () const override |
| Get the initial options, which can be modified then passed to parse(). More... | |
| std::shared_ptr< const config_origin > | origin () const override |
| Returns a config_origin describing the origin of the paresable item. More... | |
| virtual std::unique_ptr< std::istream > | reader (config_parse_options const &options) const |
| virtual config_syntax | guess_syntax () const |
| virtual config_syntax | content_type () const |
| virtual std::shared_ptr< config_parseable > | relative_to (std::string file_name) const |
| std::string | to_string () const |
| std::string | get_cur_dir () const |
| void | set_cur_dir (std::string dir) const |
| void | separate_filepath (const std::string &path, std::string *file_dir, std::string *file_name) const |
Static Public Member Functions | |
| static std::shared_ptr< parseable > | new_file (std::string input_file_path, config_parse_options options) |
| static std::shared_ptr< parseable > | new_string (std::string s, config_parse_options options) |
| static std::shared_ptr< parseable > | new_not_found (std::string what_not_found, std::string message, config_parse_options options) |
| static config_syntax | syntax_from_extension (std::string name) |
Definition at line 90 of file parseable.hpp.
|
overridevirtualinherited |
Get the initial options, which can be modified then passed to parse().
These options will have the right description, includer, and other parameters already set up.
Implements hocon::config_parseable.
|
overridevirtualinherited |
Returns a config_origin describing the origin of the paresable item.
Implements hocon::config_parseable.
|
overridevirtualinherited |
Parse whatever it is.
The options should come from config_parseable#options() but you could tweak them if you like.
| options | parse options, should be based on the ones from config_parseable#options() |
Implements hocon::config_parseable.
1.8.18