Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::PslDomain Class Reference
[PlanServer handle classes]

Defines the domains of values of different type instances. More...

#include <PslDomain.hh>

List of all members.

Public Methods

 PslDomain (PslDomainImpl *impl)
 Constructor.

 ~PslDomain ()
 Destructor.

const PslDomainImplgetImpl () const
 Returns the implementation of the invoking domain.

const std::string & getName () const
 Returns the name of the invoking domain.

template<class Type> std::set< Type > getMembers () const
 Returns the member values of the invoking domain.

template<class Type> Type getMaximum () const
 Returns the maximum value in the variable.

template<class Type> Type getMinimum () const
 Returns the minimum value in the variable.

template<class Type> Type getSingleton () const
 Returns the single value of the invoking domain. The invoking domain needs to be a singleton otherwise an error will be raised.

const PslDataTypegetDataType () const
bool isBoolean () const
 Returns true if the invoking domain is of type boolean otherwise false.

bool isEmpty () const
 Returns true if the invoking domain has no members otherwise false.

bool isEnumerated () const
 Returns true if the invoking domain is enumerated otherwise false.

bool isInteger () const
 Returns true if the invoking domain is of type integer otherwise false.

bool isLabel () const
 Returns true if the invoking domain is of type label otherwise false.

bool isNumeric () const
 Returns true if the invoking domain is numeric otherwise false.

bool isObject () const
 Returns true if the invoking domain is of type object otherwise false.

bool isReal () const
 Returns true if the invoking domain is of type real otherwise false.

bool isSingleton () const
 Returns true if the invoking domaing contains one value. Otherwise returns false.

void print (std::ostream &) const
 Streams to ostream.


Private Attributes

PslDomainImplm_Impl


Detailed Description

Defines the domains of values of different type instances.


Constructor & Destructor Documentation

IDEA::PslDomain::PslDomain PslDomainImpl   impl
 

Constructor.

IDEA::PslDomain::~PslDomain  
 

Destructor.


Member Function Documentation

const PslDataType & IDEA::PslDomain::getDataType  
 

const PslDomainImpl * IDEA::PslDomain::getImpl  
 

Returns the implementation of the invoking domain.

template<class Type>
Type IDEA::PslDomain::getMaximum   const [inline]
 

Returns the maximum value in the variable.

template<class Type>
std::set<Type> IDEA::PslDomain::getMembers   const [inline]
 

Returns the member values of the invoking domain.

template<class Type>
Type IDEA::PslDomain::getMinimum   const [inline]
 

Returns the minimum value in the variable.

const std::string & IDEA::PslDomain::getName  
 

Returns the name of the invoking domain.

template<class Type>
Type IDEA::PslDomain::getSingleton   const [inline]
 

Returns the single value of the invoking domain. The invoking domain needs to be a singleton otherwise an error will be raised.

bool IDEA::PslDomain::isBoolean  
 

Returns true if the invoking domain is of type boolean otherwise false.

bool IDEA::PslDomain::isEmpty  
 

Returns true if the invoking domain has no members otherwise false.

bool IDEA::PslDomain::isEnumerated  
 

Returns true if the invoking domain is enumerated otherwise false.

bool IDEA::PslDomain::isInteger  
 

Returns true if the invoking domain is of type integer otherwise false.

bool IDEA::PslDomain::isLabel  
 

Returns true if the invoking domain is of type label otherwise false.

bool IDEA::PslDomain::isNumeric  
 

Returns true if the invoking domain is numeric otherwise false.

bool IDEA::PslDomain::isObject  
 

Returns true if the invoking domain is of type object otherwise false.

bool IDEA::PslDomain::isReal  
 

Returns true if the invoking domain is of type real otherwise false.

bool IDEA::PslDomain::isSingleton  
 

Returns true if the invoking domaing contains one value. Otherwise returns false.

void IDEA::PslDomain::print std::ostream &    const
 

Streams to ostream.


Member Data Documentation

PslDomainImpl* IDEA::PslDomain::m_Impl [private]
 


Contact information
© IDEA
Generated on Fri Feb 3 17:09:47 2006 for IDEA.