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

Commentable Class Reference

Section or Entry - may have a comment. More...

#include <inifile.h>

Inheritance diagram for rs::ini::Commentable:

Inheritance graph
[legend]
Collaboration diagram for Commentable:

Collaboration graph
[legend]
List of all members.

Public Methods

 Commentable ()
virtual ~Commentable ()
void append (Comment *cmt)
void append (const std::string &text)
void dump (std::ostream &out) const
 write comment to stream. More...

bool comment_exists () const
 test if there is a comment. More...


Private Attributes

Commentcomment

Detailed Description

Section or Entry - may have a comment.

Definition at line 89 of file inifile.h.


Constructor & Destructor Documentation

Commentable   [inline]
 

Definition at line 94 of file inifile.h.

virtual ~Commentable   [inline, virtual]
 

Definition at line 95 of file inifile.h.


Member Function Documentation

void append Comment   cmt [inline]
 

Definition at line 97 of file inifile.h.

Referenced by Commentable::append().

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

append/create a comment

Parameters:
text  one line of comment

Definition at line 105 of file inifile.h.

void dump std::ostream &    out const [inline]
 

write comment to stream.

Reimplemented in Entry, and Section.

Definition at line 108 of file inifile.h.

bool comment_exists   const [inline]
 

test if there is a comment.

Returns:
true, if a comment exists

Definition at line 118 of file inifile.h.


Member Data Documentation

Comment* comment [private]
 

Definition at line 91 of file inifile.h.


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