|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAILOGIC::CValueSet Class Reference#include <valueset.h>
Inheritance diagram for NLAILOGIC::CValueSet:
List of all members.
Public Methods |
| CValueSet () |
| CValueSet (sint32) |
| Initialises a CValueSet of size <size> with values to NULL. More...
|
| CValueSet (const CValueSet &) |
| Copy constructor. More...
|
| CValueSet (std::vector< IBaseVar * > &) |
| Builds a CValueSet from values taken from a list of variables. More...
|
| CValueSet (CValueSet *, std::vector< sint32 > &) |
| Builds a CValueSet from another one, changing the positions of values pos = positiions in the new CValueSet of the existing one's variables. More...
|
| CValueSet (sint32, std::list< NLAIAGENT::IObjectIA * > *, std::vector< sint32 > &) |
virtual | ~CValueSet () |
virtual NLAIAGENT::IObjectIA * | getValue (sint32) |
void | setValue (sint32, NLAIAGENT::IObjectIA *) |
CValueSet * | unify (const CValueSet *) const |
| Tries tu unify two CValueSets Returns NULL if the unification fails. Returns a new unified CValueSet if it succeeds. More...
|
CValueSet * | unify (std::list< NLAIAGENT::IObjectIA * > *vals, std::vector< sint32 > &pos_vals) const |
CValueSet * | unify (CValueSet *vals, std::vector< sint32 > &pos_vals) const |
bool | operator== (CValueSet *) |
virtual NLAIAGENT::IObjectIA * | operator[] (sint32) |
sint32 | size () |
sint32 | undefined () const |
| Returns the number of NULL values (considered as undefined). More...
|
std::list< NLAIAGENT::IObjectIA * > * | getValues () |
| Return a list of the != NULL values of the object. More...
|
virtual void | getDebugString (std::string &) 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...
|
virtual const NLAIC::IBasicType * | clone () const |
| This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...
|
virtual const NLAIC::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
virtual const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual void | save (NLMISC::IStream &os) |
| Save the class in a stream. More...
|
virtual void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
virtual NLAIAGENT::IObjetOp * | operator! () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual NLAIAGENT::IObjectIA * | operator!= (NLAIAGENT::IObjectIA &a) const |
virtual NLAIAGENT::IObjectIA * | operator== (NLAIAGENT::IObjectIA &a) const |
virtual bool | isEqual (const NLAIAGENT::IBasicObjectIA &) const |
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual const IObjectIA::CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
CValueSet * | forward (CClause *, std::vector< sint32 > &) |
virtual void | setSize (sint32) |
Static Public Attributes |
const NLAIC::CIdentType | IdValueSet |
const NLAIAGENT::TProcessStatement | state = processIdle |
Protected Attributes |
NLAIAGENT::IObjectIA ** | _Values |
sint32 | _NbValues |
Constructor & Destructor Documentation
NLAILOGIC::CValueSet::CValueSet |
( |
|
) |
|
|
NLAILOGIC::CValueSet::CValueSet |
( |
sint32 |
|
) |
|
|
NLAILOGIC::CValueSet::CValueSet |
( |
const CValueSet & |
|
) |
|
|
NLAILOGIC::CValueSet::CValueSet |
( |
std::vector< IBaseVar * > & |
|
) |
|
|
NLAILOGIC::CValueSet::CValueSet |
( |
CValueSet * |
, |
|
|
std::vector< sint32 > & |
|
|
) |
|
|
NLAILOGIC::CValueSet::~CValueSet |
( |
|
) |
[virtual] |
|
Member Function Documentation
CValueSet * NLAILOGIC::CValueSet::forward |
( |
CClause * |
, |
|
|
std::vector< sint32 > & |
|
|
) |
|
|
void NLAILOGIC::CValueSet::getDebugString |
( |
std::string & |
|
) |
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).
Implements NLAIC::IBasicType.
Reimplemented in NLAILOGIC::CFact.
Definition at line 364 of file valueset.cpp.
References IdValueSet. |
IObjectIA * NLAILOGIC::CValueSet::getValue |
( |
sint32 |
|
) |
[virtual] |
|
std::list< IObjectIA * > * NLAILOGIC::CValueSet::getValues |
( |
|
) |
|
|
bool NLAILOGIC::CValueSet::isTrue |
( |
|
) |
const [virtual] |
|
IObjetOp * NLAILOGIC::CValueSet::operator! |
( |
|
) |
const [virtual] |
|
bool NLAILOGIC::CValueSet::operator== |
( |
CValueSet * |
|
) |
|
|
IObjectIA * NLAILOGIC::CValueSet::operator[] |
( |
sint32 |
|
) |
[virtual] |
|
const IObjectIA::CProcessResult & NLAILOGIC::CValueSet::run |
( |
|
) |
[virtual] |
|
void NLAILOGIC::CValueSet::setSize |
( |
sint32 |
|
) |
[virtual] |
|
sint32 NLAILOGIC::CValueSet::size |
( |
|
) |
|
|
sint32 NLAILOGIC::CValueSet::undefined |
( |
|
) |
const |
|
CValueSet * NLAILOGIC::CValueSet::unify |
( |
CValueSet * |
vals, |
|
|
std::vector< sint32 > & |
pos_vals |
|
) |
const |
|
CValueSet * NLAILOGIC::CValueSet::unify |
( |
const CValueSet * |
|
) |
const |
|
Member Data Documentation
sint32 NLAILOGIC::CValueSet::_NbValues [protected]
|
|
|
Definition at line 40 of file valueset.h.
Referenced by NLAILOGIC::CFact::asValueSet, CValueSet, forward, getDebugString, NLAILOGIC::CFact::getDebugString, getValue, getValues, isEqual, load, operator!=, operator==, NLAILOGIC::CFact::operator==, operator[], save, setSize, size, undefined, unify, and ~CValueSet. |
|
Definition at line 39 of file valueset.h.
Referenced by NLAILOGIC::CFact::asValueSet, NLAILOGIC::CFact::CFact, CValueSet, forward, getDebugString, NLAILOGIC::CFact::getDebugString, getValue, getValues, isEqual, load, operator!=, operator==, NLAILOGIC::CFact::operator==, operator[], save, setSize, setValue, undefined, unify, and ~CValueSet. |
const TProcessStatement NLAILOGIC::CValueSet::state = processIdle [static]
|
|
The documentation for this class was generated from the following files:
|
|