|
Core Library
1.7.0.0
Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.
|
Class to manage a section header line in an INI file. More...
#include <IniFileLines.h>
Public Member Functions | |
| SectionLine ()=default | |
| Default constructor. | |
| SectionLine (const SectionLine &)=default | |
| Copy constructor. | |
| SectionLine (const std::string §ion) | |
| Initialising constructor. | |
| ~SectionLine () override=default | |
| Virtual destructor. | |
| SectionLine & | operator= (const SectionLine &)=default |
| Copy assignment operator. | |
| SectionLine (SectionLine &&)=default | |
| Move constructor. | |
| SectionLine & | operator= (SectionLine &&)=default |
| Move assignment operator. | |
| const std::string & | Section () const |
| Get the section. More... | |
| void | Print (std::ostream &os, bool addLineFeed=true) const override |
| Virtual Print function. More... | |
Public Member Functions inherited from core_lib::ini_file::if_private::Line | |
| Line (Line const &)=default | |
| Line (Line &&)=default | |
| Line & | operator= (Line const &)=default |
| Line & | operator= (Line &&)=default |
Private Attributes | |
| std::string | m_section {} |
| The section. | |
Class to manage a section header line in an INI file.
|
overridevirtual |
Virtual Print function.
| [in,out] | os | - Stream to write to. |
| [in] | addLineFeed | - (Optional) add a line feed. |
Implements core_lib::ini_file::if_private::Line.
| const std::string & core_lib::ini_file::if_private::SectionLine::Section | ( | ) | const |
Get the section.