conf::ConfIntNZ< T > Class Template Reference

Class implementing a non-zero integer directive type. More...

#include <directives.h>

Inheritance diagram for conf::ConfIntNZ< T >:

conf::ConfInt< T > conf::ConfValue< T > conf::ConfDir

List of all members.

Public Member Functions

 ConfIntNZ (std::string const &name, bool reloadable, T minvalue, T maxvalue)
 Constructor without default value.
 ConfIntNZ (std::string const &name, T const &defval, bool reloadable, T minvalue, T maxvalue)
 Constructor with default value.
 ConfIntNZ (std::string const &name, bool reloadable)
 ConfArray-specific constructor.

Protected Member Functions

virtual bool check (Conf &conf, T const &value) const
 Checks if the value != 0 then calls ConfInt<T>::check().


Detailed Description

template<class T>
class conf::ConfIntNZ< T >

This class is used to store integer values (the exact integer type is specified by the template parameter). It is exactly the same than ConfInt but it adds an additional check to ensure the value is non-zero.
The documentation for this class was generated from the following file:
Generated on Fri Apr 18 22:03:28 2008 for Epona API by  doxygen 1.5.3