The class represents a reference to the settings container section. More...
#include <settings.hpp>


Public Types | |
| typedef CharT | char_type | 
| Character type.  More... | |
| typedef std::basic_string < char_type >  | string_type | 
| String type.  More... | |
| typedef  property_tree::basic_ptree < std::string, string_type >  | property_tree_type | 
| Property tree type.  More... | |
| typedef  property_tree_type::path_type  | path_type | 
| Property tree path type.  More... | |
| typedef ref< true > | const_reference | 
| typedef ref< false > | reference | 
| typedef iter< true > | const_iterator | 
| typedef iter< false > | iterator | 
| typedef std::reverse_iterator < const_iterator >  | const_reverse_iterator | 
| typedef std::reverse_iterator < iterator >  | reverse_iterator | 
Public Member Functions | |
| basic_settings_section () | |
| Default constructor.  More... | |
| basic_settings_section (basic_settings_section const &that) | |
| Copy constructor.  More... | |
| bool | operator! () const BOOST_NOEXCEPT | 
| Checks if the section refers to the container.  More... | |
| iterator | begin () | 
| Returns an iterator over the nested subsections and parameters.  More... | |
| iterator | end () | 
| Returns an iterator over the nested subsections and parameters.  More... | |
| const_iterator | begin () const | 
| Returns an iterator over the nested subsections and parameters.  More... | |
| const_iterator | end () const | 
| Returns an iterator over the nested subsections and parameters.  More... | |
| reverse_iterator | rbegin () | 
| Returns a reverse iterator over the nested subsections and parameters.  More... | |
| reverse_iterator | rend () | 
| Returns a reverse iterator over the nested subsections and parameters.  More... | |
| const_reverse_iterator | rbegin () const | 
| Returns a reverse iterator over the nested subsections and parameters.  More... | |
| const_reverse_iterator | rend () const | 
| Returns a reverse iterator over the nested subsections and parameters.  More... | |
| bool | empty () const | 
| Checks if the container is empty (i.e.  More... | |
| reference | operator[] (std::string const §ion_name) | 
| Accessor to a single parameter.  More... | |
| const_reference | operator[] (std::string const §ion_name) const | 
| Accessor to a single parameter.  More... | |
| reference | operator[] (const char *section_name) | 
| Accessor to a single parameter.  More... | |
| const_reference | operator[] (const char *section_name) const | 
| Accessor to a single parameter.  More... | |
| property_tree_type const & | property_tree () const | 
| Accessor for the embedded property tree.  More... | |
| property_tree_type & | property_tree () | 
| Accessor for the embedded property tree.  More... | |
| bool | has_section (string_type const §ion_name) const | 
| Checks if the specified section is present in the container.  More... | |
| bool | has_parameter (string_type const §ion_name, string_type const ¶m_name) const | 
| Checks if the specified parameter is present in the container.  More... | |
| void | swap (basic_settings_section &that) | 
| Swaps two references to settings sections.  More... | |
Protected Member Functions | |
| basic_settings_section (property_tree_type *tree) | |
Protected Attributes | |
| property_tree_type * | m_ptree | 
| Parameters.  More... | |
Friends | |
| template<typename SectionT , bool IsConstV> | |
| struct | aux::basic_settings_section_iterator_base | 
| template<bool IsConstV> | |
| class | ref | 
| template<bool IsConstV> | |
| class | iter | 
The class represents a reference to the settings container section.
The section refers to a sub-tree of the library settings container. It does not own the referred sub-tree but allows for convenient access to parameters within the subsection.
| typedef CharT boost::basic_settings_section< CharT >::char_type | 
Character type.
| typedef iter< true > boost::basic_settings_section< CharT >::const_iterator | 
| typedef ref< true > boost::basic_settings_section< CharT >::const_reference | 
| typedef std::reverse_iterator< const_iterator > boost::basic_settings_section< CharT >::const_reverse_iterator | 
| typedef iter< false > boost::basic_settings_section< CharT >::iterator | 
| typedef property_tree_type::path_type boost::basic_settings_section< CharT >::path_type | 
Property tree path type.
| typedef property_tree::basic_ptree< std::string, string_type > boost::basic_settings_section< CharT >::property_tree_type | 
Property tree type.
| typedef ref< false > boost::basic_settings_section< CharT >::reference | 
| typedef std::reverse_iterator< iterator > boost::basic_settings_section< CharT >::reverse_iterator | 
| typedef std::basic_string< char_type > boost::basic_settings_section< CharT >::string_type | 
String type.
      
  | 
  inline | 
Default constructor.
Creates an empty settings container.
      
  | 
  inline | 
Copy constructor.
      
  | 
  inlineexplicitprotected | 
      
  | 
  inline | 
Returns an iterator over the nested subsections and parameters.
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::begin().
Referenced by boost::basic_settings_section< CharT >::rbegin().
      
  | 
  inline | 
Returns an iterator over the nested subsections and parameters.
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::begin().
      
  | 
  inline | 
Checks if the container is empty (i.e.
contains no sections and parameters).
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::empty().
      
  | 
  inline | 
Returns an iterator over the nested subsections and parameters.
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::end().
Referenced by boost::basic_settings_section< CharT >::rend().
      
  | 
  inline | 
Returns an iterator over the nested subsections and parameters.
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::end().
      
  | 
  inline | 
Checks if the specified parameter is present in the container.
| section_name | The name of the section in which the parameter resides | 
| param_name | The name of the parameter | 
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child_optional().
      
  | 
  inline | 
Checks if the specified section is present in the container.
| section_name | The name of the section | 
References boost::property_tree::basic_ptree< Key, Data, KeyCompare >::get_child_optional().
      
  | 
  inline | 
Checks if the section refers to the container.
Checks if the section refers to the container.
References boost::basic_settings_section< CharT >::m_ptree.
      
  | 
  inline | 
Accessor to a single parameter.
This operator should be used in conjunction with the subsequent subscript operator that designates the parameter name.
| section_name | The name of the section in which the parameter resides | 
      
  | 
  inline | 
Accessor to a single parameter.
This operator should be used in conjunction with the subsequent subscript operator that designates the parameter name.
| section_name | The name of the section in which the parameter resides | 
      
  | 
  inline | 
Accessor to a single parameter.
This operator should be used in conjunction with the subsequent subscript operator that designates the parameter name.
| section_name | The name of the section in which the parameter resides | 
      
  | 
  inline | 
Accessor to a single parameter.
This operator should be used in conjunction with the subsequent subscript operator that designates the parameter name.
| section_name | The name of the section in which the parameter resides | 
      
  | 
  inline | 
Accessor for the embedded property tree.
References boost::basic_settings_section< CharT >::m_ptree.
      
  | 
  inline | 
Accessor for the embedded property tree.
References boost::basic_settings_section< CharT >::m_ptree.
      
  | 
  inline | 
Returns a reverse iterator over the nested subsections and parameters.
References boost::basic_settings_section< CharT >::begin().
      
  | 
  inline | 
Returns a reverse iterator over the nested subsections and parameters.
References boost::basic_settings_section< CharT >::begin().
      
  | 
  inline | 
Returns a reverse iterator over the nested subsections and parameters.
References boost::basic_settings_section< CharT >::end().
      
  | 
  inline | 
Returns a reverse iterator over the nested subsections and parameters.
References boost::basic_settings_section< CharT >::end().
      
  | 
  inline | 
Swaps two references to settings sections.
References boost::basic_settings_section< CharT >::m_ptree, and boost::multiprecision::backends::p.
Referenced by boost::basic_settings< CharT >::basic_settings(), boost::basic_settings< CharT >::operator=(), and boost::swap().
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  protected |