Confdump Agent  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Classes | Public Types | Public Member Functions | Private Attributes
Confdump::System::FixedTable::Specification Class Reference

Helper class to configure the parsing. More...

#include <FixedTable.hpp>

List of all members.

Classes

struct  ColumnHead
 Info about a column in the header line. More...

Public Types

typedef std::vector
< ColumnHead >::const_iterator 
ColumnHeadIterator

Public Member Functions

 Specification ()
 ~Specification ()
bool hasHeader () const
 Is the first line a list of the column names, aligned with them (always yes for now)
ParsingMode parsingMode () const
 Which algorithm to use to parse the table (always use the specified column heads for now)
Platform platform () const
 Which plateform the software is running on (always Linux for now)
SpecificationaddColumnHead (const std::string &name, unsigned skip, unsigned width)
 Required when using ParsingMode::UseSpecifiedHeaders, see ColumnHead for details.
ColumnHeadIterator columnHeadsBegin () const
ColumnHeadIterator columnHeadsEnd () const

Private Attributes

std::vector< ColumnHeadcolumnHeads_

Detailed Description

Helper class to configure the parsing.

Definition at line 69 of file FixedTable.hpp.


Member Typedef Documentation

Definition at line 97 of file FixedTable.hpp.


Constructor & Destructor Documentation

Definition at line 187 of file FixedTable.cpp.

Definition at line 191 of file FixedTable.cpp.


Member Function Documentation

FixedTable::Specification & Confdump::System::FixedTable::Specification::addColumnHead ( const std::string &  name,
unsigned  skip,
unsigned  width 
)

Is the first line a list of the column names, aligned with them (always yes for now)

Definition at line 76 of file FixedTable.hpp.

Referenced by Confdump::System::FixedTable::readAllInto().

Which algorithm to use to parse the table (always use the specified column heads for now)

Definition at line 78 of file FixedTable.hpp.

References Confdump::System::FixedTable::UseSpecifiedHeaders.

Referenced by Confdump::System::FixedTable::readHeaderFrom().

Which plateform the software is running on (always Linux for now)

Definition at line 81 of file FixedTable.hpp.

References Confdump::System::FixedTable::Linux.

Referenced by Confdump::System::FixedTable::readAllInto().


Member Data Documentation

Definition at line 102 of file FixedTable.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends