class OmCommentCollector

The comment collector utility. More...

Definition#include <OmHeaders.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

The comment collector utility.

This class provides features to collect comments during a reading. Not this is complementary of the OmNode::resurrect method since comments can be scattered anywhere among parsable objects.

~OmCommentCollector ()

Destructor.

void collect (OmInputDevice & input_in)

Read comments from an input until there is no more. Store them as objects sequentially at the end of the collection.

OmNode * uncollect (OmNode * node_in)

Transfer the collected comments to a node. The collection becomes empty, and comments are appended to the list of comments of the node.


Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199.