libvata2  [unstable] git snapshot
Public Member Functions | Public Attributes | Friends | List of all members
ParsedSection Struct Reference

Parsed data (single section) More...

#include <parser.hh>

+ Collaboration diagram for ParsedSection:

Public Member Functions

 ParsedSection ()
 
bool empty () const
 Is the section empty? More...
 
bool operator== (const ParsedSection &rhs) const
 Equality operator. More...
 
bool operator!= (const ParsedSection &rhs) const
 

Public Attributes

std::string type
 
KeyListStore dict
 
std::list< BodyLinebody
 

Friends

std::ostream & operator<< (std::ostream &os, const ParsedSection &parsec)
 Output stream operator. More...
 

Detailed Description

Parsed data (single section)

Definition at line 41 of file parser.hh.

Constructor & Destructor Documentation

ParsedSection ( )
inline

Definition at line 47 of file parser.hh.

Member Function Documentation

bool empty ( ) const
inline

Is the section empty?

Definition at line 50 of file parser.hh.

References ParsedSection::body, ParsedSection::dict, and ParsedSection::type.

bool operator!= ( const ParsedSection rhs) const
inline

Definition at line 91 of file parser.hh.

bool operator== ( const ParsedSection rhs) const
inline

Equality operator.

Definition at line 84 of file parser.hh.

References ParsedSection::body, ParsedSection::dict, and ParsedSection::type.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const ParsedSection parsec 
)
friend

Output stream operator.

Definition at line 53 of file parser.hh.

Member Data Documentation

std::list<BodyLine> body

Definition at line 45 of file parser.hh.

Referenced by ParsedSection::empty(), and ParsedSection::operator==().

Definition at line 44 of file parser.hh.

Referenced by ParsedSection::empty(), and ParsedSection::operator==().

std::string type

Definition at line 43 of file parser.hh.

Referenced by ParsedSection::empty(), and ParsedSection::operator==().


The documentation for this struct was generated from the following file: