# 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  

NLAIFUZZY::CFuzzyFact Class Reference

#include <fuzzyfact.h>

Inheritance diagram for NLAIFUZZY::CFuzzyFact

Inheritance graph
[legend]
Collaboration diagram for NLAIFUZZY::CFuzzyFact:

Collaboration graph
[legend]
List of all members.

Public Methods

 CFuzzyFact (const CFuzzyFact &)
 CFuzzyFact (IFuzzySet *set, double value)
IFuzzySetset ()
CFuzzyVarvar ()
double value ()
virtual void getDebugString (char *)
virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual const CProcessResult& run ()
 Some where Run method define the process of the agen. More...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual bool isEqual (const NLAILOGIC::CBoolType &a) const
virtual std::vector<NLAILOGIC::IBaseVar *>* getVars ()
virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual void getDebugString (char *) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...

bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...


Static Public Attributes

const NLAIC::CIdentType IdFuzzyFact

Private Attributes

CFuzzyVar_Var
IFuzzySet_Set
double _Value

Constructor & Destructor Documentation

NLAIFUZZY::CFuzzyFact::CFuzzyFact ( const CFuzzyFact & cp )
 

Definition at line 36 of file fuzzyfact.cpp.

NLAIFUZZY::CFuzzyFact::CFuzzyFact ( IFuzzySet * set,
double value )
 

Definition at line 30 of file fuzzyfact.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyFact::clone ( void ) const [virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAIC::IBasicType.

Definition at line 90 of file fuzzyfact.cpp.

void NLAIFUZZY::CFuzzyFact::getDebugString ( char * txt ) const [virtual]
 

This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.

Reimplemented from NLAIC::IBasicType.

Definition at line 101 of file fuzzyfact.cpp.

void NLAIFUZZY::CFuzzyFact::getDebugString ( char * ) [virtual]
 

Definition at line 57 of file fuzzyfact.cpp.

const NLAIC::CIdentType & NLAIFUZZY::CFuzzyFact::getType ( void ) const [virtual]
 

getType return a unique string how represente the class, it can be the name of the class.

This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).

Reimplemented from NLAIC::IBasicType.

Definition at line 85 of file fuzzyfact.cpp.

std::vector< NLAILOGIC::IBaseVar *>* NLAIFUZZY::CFuzzyFact::getVars ( ) [virtual]
 

Definition at line 113 of file fuzzyfact.cpp.

bool NLAIFUZZY::CFuzzyFact::isEqual ( const NLAILOGIC::CBoolType & a ) const [virtual]
 

Definition at line 80 of file fuzzyfact.cpp.

bool NLAIFUZZY::CFuzzyFact::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const [virtual]
 

Definition at line 75 of file fuzzyfact.cpp.

bool NLAIFUZZY::CFuzzyFact::isTrue ( ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 108 of file fuzzyfact.cpp.

void NLAIFUZZY::CFuzzyFact::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 62 of file fuzzyfact.cpp.

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyFact::newInstance ( void ) const [virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Reimplemented from NLAIC::IBasicType.

Definition at line 96 of file fuzzyfact.cpp.

const NLAIAGENT::IObjectIA::CProcessResult & NLAIFUZZY::CFuzzyFact::run ( void ) [virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 70 of file fuzzyfact.cpp.

void NLAIFUZZY::CFuzzyFact::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 66 of file fuzzyfact.cpp.

IFuzzySet * NLAIFUZZY::CFuzzyFact::set ( )
 

Definition at line 42 of file fuzzyfact.cpp.

double NLAIFUZZY::CFuzzyFact::value ( )
 

Definition at line 47 of file fuzzyfact.cpp.

CFuzzyVar * NLAIFUZZY::CFuzzyFact::var ( )
 

Definition at line 52 of file fuzzyfact.cpp.


Member Data Documentation

const NLAIC::CIdentType CFuzzyFact::IdFuzzyFact [static]
 

Initializer:

NLAIC::CIdentType("FuzzyFact",NLAIC::CSelfClassFactory( CFuzzyFact(NULL,0) ),
                NLAIC::CTypeOfObject::tLogic  | 
                NLAIC::CTypeOfObject::tNombre,
                NLAIC::CTypeOfOperator::opEq  |
                NLAIC::CTypeOfOperator::opNot )

Definition at line 406 of file static_def_init.cpp.

IFuzzySet * NLAIFUZZY::CFuzzyFact::_Set [private]
 

Definition at line 40 of file fuzzyfact.h.

double NLAIFUZZY::CFuzzyFact::_Value [private]
 

Definition at line 41 of file fuzzyfact.h.

CFuzzyVar * NLAIFUZZY::CFuzzyFact::_Var [private]
 

Definition at line 39 of file fuzzyfact.h.


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