Classes | Public Member Functions | Protected Member Functions | Protected Attributes
DomainParser Class Reference

#include <domainParser.h>

List of all members.

Classes

struct  TreeItem
 An item in the parse tree. More...

Public Member Functions

 DomainParser ()
void dumpTree () const
std::string getName () const
 Returns the domain name as defined in the file.
bool parse (const std::string &filename)
 ~DomainParser ()

Protected Member Functions

void dumpItem (const TreeItem &it, unsigned int indent) const
void parseContent ()
TreeItem parseTreeItem (QStringList &tokens)
 Recursively parse a tree item.

Protected Attributes

std::string _name
TreeItem _parseTreeRoot

Detailed Description

Definition at line 9 of file domainParser.h.


Constructor & Destructor Documentation

Definition at line 6 of file domainParser.cpp.

Definition at line 10 of file domainParser.cpp.


Member Function Documentation

void DomainParser::dumpItem ( const TreeItem it,
unsigned int  indent 
) const [protected]

Definition at line 90 of file domainParser.cpp.

void DomainParser::dumpTree ( ) const

Definition at line 85 of file domainParser.cpp.

std::string DomainParser::getName ( ) const [inline]

Returns the domain name as defined in the file.

Definition at line 18 of file domainParser.h.

bool DomainParser::parse ( const std::string &  filename)

Definition at line 14 of file domainParser.cpp.

void DomainParser::parseContent ( ) [protected]

Definition at line 75 of file domainParser.cpp.

DomainParser::TreeItem DomainParser::parseTreeItem ( QStringList &  tokens) [protected]

Recursively parse a tree item.

A tree item should be '( stuff )'

Definition at line 48 of file domainParser.cpp.


Member Data Documentation

std::string DomainParser::_name [protected]

Definition at line 41 of file domainParser.h.

Definition at line 43 of file domainParser.h.


The documentation for this class was generated from the following files:


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Mon Oct 6 2014 07:52:06