Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Comment Class Reference

Comment in Inifile. More...

#include <inifile.h>

Collaboration diagram for Comment:

Collaboration graph
[legend]
List of all members.

Public Methods

 Comment (const std::string &text_)
 construct a line of comment. More...

virtual ~Comment ()
void append (Comment *comment)
 append comment to self. More...

void append (const std::string &text_)
 append text_ to self. More...

void dump (std::ostream &out) const
 write comment to stream. More...


Private Methods

void split_multiline ()

Private Attributes

std::string text
Comment * next

Detailed Description

Comment in Inifile.

Definition at line 62 of file inifile.h.


Constructor & Destructor Documentation

Comment const std::string &    text_ [inline]
 

construct a line of comment.

Definition at line 71 of file inifile.h.

Referenced by Comment::append().

virtual ~Comment   [inline, virtual]
 

Definition at line 72 of file inifile.h.


Member Function Documentation

void split_multiline   [private]
 

Definition at line 45 of file inifile.cpp.

Referenced by Comment::Comment().

void append Comment *    comment
 

append comment to self.

Definition at line 55 of file inifile.cpp.

Referenced by Commentable::append(), Comment::append(), and rs::ini::readInifile().

void append const std::string &    text_ [inline]
 

append text_ to self.

Definition at line 78 of file inifile.h.

void dump std::ostream &    out const
 

write comment to stream.

Definition at line 65 of file inifile.cpp.

Referenced by Commentable::dump().


Member Data Documentation

std::string text [private]
 

Definition at line 64 of file inifile.h.

Referenced by Comment::Comment(), Comment::dump(), and Comment::split_multiline().

Comment* next [private]
 

Definition at line 65 of file inifile.h.

Referenced by Comment::append(), and Comment::dump().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen