Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ini_parser.hpp File Reference
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/detail/ptree_utils.hpp>
#include <boost/property_tree/detail/file_parser_error.hpp>
#include <fstream>
#include <string>
#include <sstream>
#include <stdexcept>
#include <locale>
Include dependency graph for ini_parser.hpp:

Classes

class  boost::property_tree::ini_parser::ini_parser_error
 Indicates an error parsing INI formatted data. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::property_tree
 
 boost::property_tree::ini_parser
 
 boost::property_tree::ini_parser::detail
 

Functions

bool boost::property_tree::ini_parser::validate_flags (int flags)
 Determines whether the flags are valid for use with the ini_parser. More...
 
template<class Ptree >
void boost::property_tree::ini_parser::read_ini (std::basic_istream< typename Ptree::key_type::value_type > &stream, Ptree &pt)
 Read INI from a the given stream and translate it to a property tree. More...
 
template<class Ptree >
void boost::property_tree::ini_parser::read_ini (const std::string &filename, Ptree &pt, const std::locale &loc=std::locale())
 Read INI from a the given file and translate it to a property tree. More...
 
template<class Ptree >
void boost::property_tree::ini_parser::detail::check_dupes (const Ptree &pt)
 
template<class Ptree >
void boost::property_tree::ini_parser::write_ini (std::basic_ostream< typename Ptree::key_type::value_type > &stream, const Ptree &pt, int flags=0)
 Translates the property tree to INI and writes it the given output stream. More...
 
template<class Ptree >
void boost::property_tree::ini_parser::write_ini (const std::string &filename, const Ptree &pt, int flags=0, const std::locale &loc=std::locale())
 Translates the property tree to INI and writes it the given file. More...