cpp-hocon 0.3.0
Loading...
Searching...
No Matches
config_document_factory.hpp
1#pragma once
2
3#include "config_document.hpp"
4#include <hocon/config_parse_options.hpp>
5#include "../export.h"
6
10namespace hocon { namespace config_document_factory {
11
21 LIBCPP_HOCON_EXPORT std::shared_ptr<config_document> parse_file(std::string input_file_path,
22 config_parse_options options);
23
25 LIBCPP_HOCON_EXPORT std::shared_ptr<config_document> parse_file(std::string input_file_path);
26
34 LIBCPP_HOCON_EXPORT std::shared_ptr<config_document> parse_string(std::string s, config_parse_options options);
35
37 LIBCPP_HOCON_EXPORT std::shared_ptr<config_document> parse_string(std::string s);
38
39}} // namespace hocon::config_document_factory
Factory for creating config_document instances.
Definition: config.hpp:18