Tanl Linguistic Pipeline

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 >:
IXE::VarDefault< bool > IXE::Var< bool > IXE::Configuration::Item

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.


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.

Implements IXE::Configuration::Item.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.