DeSR Dependency Parser

IXE::conf< bool > Class Template Reference
[Configuration]

A conf<bool> is a Var for containing the value of a Boolean configuration variable. More...

#include <conf_bool.h>

Inheritance diagram for IXE::conf< bool >:

Inheritance graph
Collaboration diagram for IXE::conf< bool >:

Collaboration graph

List of all members.

Public Member Functions

 conf (char const *name, bool default_value)
conf< bool > & operator= (bool new_value)

Protected Member Functions

virtual void parseValue (char const *&line)
 Parse a Boolean value from the line of text.


Detailed Description

template<>
class IXE::conf< bool >

A conf<bool> is a Var for containing the value of a Boolean configuration variable.

Definition at line 43 of file conf_bool.h.


Member Function Documentation

void IXE::conf< bool >::parseValue ( char const *&  lines  )  [protected, virtual]

Parse a Boolean value from the line of text.

Acceptable values (regardless of case) are: f, false, n, no, off, on, t, true, y, yes

Parameters:
line The line of text to be parsed.

Definition at line 50 of file conf_bool.cpp.

References IXE::next_token_line().


The documentation for this class was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.