# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLGEORGES::UType Class Reference

Georges type interface. More...

#include <u_type.h>

Inheritance diagram for NLGEORGES::UType:

NLMISC::CRefCount NLGEORGES::CType List of all members.

Public Types

enum  TType {
  UnsignedInt = 0, SignedInt, Double, String,
  Color, TypeCount
}

Public Methods

virtual TType getType () const=0
 Get the type of this type. More...

virtual const std::string & getDefault () const=0
 Get the default value of this type. More...

virtual const std::string & getMin () const=0
 Get the min value of this type. More...

virtual const std::string & getMax () const=0
 Get the max value of this type. More...

virtual const std::string & getIncrement () const=0
 Get the increment value of this type. More...

virtual uint getNumDefinition () const=0
 Get the definition count for this type. More...

virtual bool getDefinition (uint index, std::string &label, std::string &value) const=0
 Get a definition for this type. More...

virtual const std::string & getComment () const=0
 Get theh comments of type. More...


Detailed Description

Georges type interface.

Author:
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2002

Definition at line 42 of file u_type.h.


Member Enumeration Documentation

enum NLGEORGES::UType::TType
 

Enumeration values:
UnsignedInt 
SignedInt 
Double 
String 
Color 
TypeCount 

Definition at line 47 of file u_type.h.


Member Function Documentation

virtual const std::string& NLGEORGES::UType::getComment   const [pure virtual]
 

Get theh comments of type.

Implemented in NLGEORGES::CType.

virtual const std::string& NLGEORGES::UType::getDefault   const [pure virtual]
 

Get the default value of this type.

Implemented in NLGEORGES::CType.

virtual bool NLGEORGES::UType::getDefinition uint    index,
std::string &    label,
std::string &    value
const [pure virtual]
 

Get a definition for this type.

index is the index of the defnition you want to get. If the method returns true, label will be filled with the definition label and value will be filled with the defnition value. The method returns false if the index is invalid. In this case, label and value are not changed.

Implemented in NLGEORGES::CType.

virtual const std::string& NLGEORGES::UType::getIncrement   const [pure virtual]
 

Get the increment value of this type.

Implemented in NLGEORGES::CType.

virtual const std::string& NLGEORGES::UType::getMax   const [pure virtual]
 

Get the max value of this type.

Implemented in NLGEORGES::CType.

virtual const std::string& NLGEORGES::UType::getMin   const [pure virtual]
 

Get the min value of this type.

Implemented in NLGEORGES::CType.

virtual uint NLGEORGES::UType::getNumDefinition   const [pure virtual]
 

Get the definition count for this type.

Implemented in NLGEORGES::CType.

virtual TType NLGEORGES::UType::getType   const [pure virtual]
 

Get the type of this type.

Implemented in NLGEORGES::CType.


The documentation for this class was generated from the following file: