1 #ifndef fhiclcpp_extended_value_h 2 #define fhiclcpp_extended_value_h 10 #include "boost/any.hpp" 40 using complex_t = std::pair<std::string, std::string>;
48 boost::any
const value,
50 std::string
const& src = {})
51 : in_prolog{in_prolog}
55 , protection{protection}
60 boost::any
const value,
61 std::string
const& src = {})
62 : in_prolog{in_prolog}, tag{tag}, value{value},
src_info{src}
91 bool in_prolog{
false};
std::pair< std::string, std::string > complex_t
extended_value(bool const in_prolog, value_tag const tag, boost::any const value, Protection const protection, std::string const &src={})
void set_src_info(std::string const &src)
std::vector< extended_value > sequence_t
bool is_a(value_tag t) const
shims::map< std::string, extended_value > table_t
extended_value(bool const in_prolog, value_tag const tag, boost::any const value, std::string const &src={})
std::string to_string() const
std::string pretty_src_info() const
void set_prolog(bool new_prolog_state)