claw::configuration_file::syntax_description Struct Reference

This class tells us how to parse the input file. More...

#include <configuration_file.hpp>

List of all members.

Public Types

typedef std::pair< char, char > paired_symbol
 Two symbols making a pair (like () or []).

Public Member Functions

 syntax_description ()
 Default constructor.

Public Attributes

char comment
 Symbol used to comment the rest of the line.
char assignment
 Symbol used to assign a value to a field.
paired_symbol section_name
 Pair of symbols around a section name.

Detailed Description

This class tells us how to parse the input file.

Definition at line 43 of file configuration_file.hpp.


Member Typedef Documentation

Two symbols making a pair (like () or []).

Definition at line 47 of file configuration_file.hpp.


Constructor & Destructor Documentation

claw::configuration_file::syntax_description::syntax_description (  ) 

Default constructor.

Definition at line 38 of file configuration_file.cpp.

00039   : comment('#'), assignment('='), section_name('[', ']')
00040 {
00041 
00042 } // configuration_file::syntax_description::syntax_description()


Member Data Documentation

Symbol used to assign a value to a field.

Definition at line 56 of file configuration_file.hpp.

Referenced by claw::configuration_file::process_line().

Symbol used to comment the rest of the line.

Definition at line 53 of file configuration_file.hpp.

Referenced by claw::configuration_file::escape_char(), and claw::configuration_file::escape_line().

Pair of symbols around a section name.

Definition at line 59 of file configuration_file.hpp.

Referenced by claw::configuration_file::process_line().


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

Generated on 9 Nov 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1