Lines Matching defs:section
96 /// Test if a given character is meant to be part of a section name.
101 /// a section name.
115 /// a section name.
773 class config::section::priv
786 friend class config::section;
787 };//end struct config::section::priv
789 // <config::section stuff>
791 /// Constructor for config::section.
793 /// @param name the name of the ini section.
794 config::section::section(const string& name)
798 /// Constructor for the config::section.
800 /// @param name the name of the ini section.
802 /// @param properties the properties of the section.
803 config::section::section(const string& name,
808 /// Get the name of the section.
810 /// @return the name of the section.
812 config::section::get_name() const
815 /// Get the properties of the section.
817 /// @return a vector of the properties of the section.
819 config::section::get_properties() const
822 /// Set the properties of the section.
826 config::section::set_properties(const properties_type& properties)
829 /// Add one property to this section.
831 /// @param prop the property to add to the section.
833 config::section::add_property(const property_sptr prop)
845 config::section::find_property(const string& prop_name) const
855 /// Destructor of config::section.
856 config::section::~section()
858 // /<config::section stuff>
1497 /// Read the name of a section.
1499 /// @param name out parameter. Is set to the name of the section
1577 /// Read an ini section.
1579 /// @return a pointer to a section iff it could be successfully
1616 config::section_sptr section(new config::section(name, properties));
1617 return section;
1694 /// @param section out parameter. This is set to the vector of
1708 if (config::section_sptr section = ctxt.read_section())
1709 sections.push_back(section);
1721 /// @param section out parameter. This is set to the vector of
1848 /// Serialize an ini section to an output stream.
1850 /// @param section the ini section to serialize.
1852 /// @param out the output stream to serialize the section to.
1854 write_section(const config::section& section,
1857 out << "[" << section.get_name() << "]\n";
1859 section.get_properties().begin();
1860 i != section.get_properties().end();