CASMetaInfo Class Reference

The CASMetaInfo class for providing meta information. More...

#include <casmetainfo.h>

List of all members.

Public Member Functions

 CASMetaInfo (const CASMetaInfo &ref)
 Copy constructor.
 CASMetaInfo ()
 Constructor.
bool IsCoefficient () const
 Indicates whether or not the CASObject is a coefficient.
bool IsEvaluated () const
 Indicates whether or not the CASObject is evaluated.
bool IsPureNumerical () const
 Indicates whether or not the CASObject is pure numerical.
bool IsSingleValue () const
 Indicates whether or not the CASObject is a single value.
bool IsSorted () const
 Indicates whether or not the CASObject is sorted.
CASMetaInfooperator= (const CASMetaInfo &ref)
 Assignment operator.
void SetAll ()
 Sets all flags.
void SetCoefficient ()
 Sets the flag coefficient.
void SetEvaluated ()
 Sets the flag evaluated.
void SetPureNumerical ()
 Sets the flag purenumerical.
void SetSingleValue ()
 Sets the flag singlevalue.
void SetSorted ()
 Sets the flag sorted.
void UnsetAll ()
 Clears all flags.
void UnsetCoefficient ()
 Unsets the flag coefficient.
void UnsetEvaluated ()
 Unsets the flag evaluated.
void UnsetPureNumerical ()
 Unsets the flag purenumerical.
void UnsetSingleValue ()
 Unsets the flag singlevalue.
void UnsetSorted ()
 Unsets the flag sorted.
virtual ~CASMetaInfo ()
 Destructor.

Private Attributes

bool coefficient
 Indicates whether or not the CASObject is a coefficient.
bool evaluated
 Indicates whether or not the CASObject has been evaluated.
bool purenumerical
 Indicates whether or not the CASObject is a pure numerical value.
bool singlevalue
 Indicates whether or not the CASObject is a single value.
bool sorted
 Indicates whether or not the CASObject has been sorted.


Detailed Description

This class is used to provide meta information to the CASObject. Those are mostly flags specifying the type of the CASObject more precisely or state flags.

Definition at line 45 of file casmetainfo.h.


Constructor & Destructor Documentation

CASMetaInfo::CASMetaInfo (  ) 

Constructor. Sets all flags initially to false.

Definition at line 47 of file casmetainfo.cc.

CASMetaInfo::~CASMetaInfo (  )  [virtual]

Dummy destructor.

Definition at line 71 of file casmetainfo.cc.

CASMetaInfo::CASMetaInfo ( const CASMetaInfo ref  ) 

Copy Constructor.

Parameters:
ref Reference to CASMetaInfo.

Definition at line 60 of file casmetainfo.cc.


Member Function Documentation

bool CASMetaInfo::IsCoefficient (  )  const [inline]

Indicates whether or not the CASObject is a coefficient.

Returns:
true if the CASObject is a coefficient, false otherwise.

Definition at line 184 of file casmetainfo.h.

bool CASMetaInfo::IsEvaluated (  )  const [inline]

Indicates whether or not the CASObject is evaluated.

Returns:
true if the CASObject is evaluated, false otherwise.

Definition at line 157 of file casmetainfo.h.

bool CASMetaInfo::IsPureNumerical (  )  const [inline]

Indicates whether or not the CASObject is pure numerical.

Returns:
true if the CASObject is pure numerical, false otherwise.

Definition at line 212 of file casmetainfo.h.

bool CASMetaInfo::IsSingleValue (  )  const [inline]

Indicates whether or not the CASObject is a single value.

Returns:
true if the CASObject is a single value, false otherwise.

Definition at line 240 of file casmetainfo.h.

bool CASMetaInfo::IsSorted (  )  const [inline]

Indicates whether or not the CASObject is sorted.

Returns:
true if the CASObject is sorted, false otherwise.

Definition at line 130 of file casmetainfo.h.

CASMetaInfo & CASMetaInfo::operator= ( const CASMetaInfo ref  ) 

Assignment operator.

Parameters:
ref Reference to CASMetaInfo.

Definition at line 114 of file casmetainfo.cc.

void CASMetaInfo::SetAll (  ) 

Sets all flags to true.

Returns:
void.

Definition at line 84 of file casmetainfo.cc.

void CASMetaInfo::SetCoefficient (  )  [inline]

Sets the flag coefficient.

Returns:
void.

Definition at line 166 of file casmetainfo.h.

void CASMetaInfo::SetEvaluated (  )  [inline]

Sets the flag evalutated.

Returns:
void.

Definition at line 139 of file casmetainfo.h.

void CASMetaInfo::SetPureNumerical (  )  [inline]

Sets the flag purenumerical.

Returns:
void.

Definition at line 193 of file casmetainfo.h.

void CASMetaInfo::SetSingleValue (  )  [inline]

Sets the flag singlevalue .

Returns:
void.

Definition at line 221 of file casmetainfo.h.

void CASMetaInfo::SetSorted (  )  [inline]

Sets the flag sorted.

Returns:
void.

Definition at line 113 of file casmetainfo.h.

void CASMetaInfo::UnsetAll (  ) 

Sets all flags to false.

Returns:
void.

Definition at line 97 of file casmetainfo.cc.

void CASMetaInfo::UnsetCoefficient (  )  [inline]

Unsets the flag coefficient.

Returns:
void.

Definition at line 174 of file casmetainfo.h.

void CASMetaInfo::UnsetEvaluated (  )  [inline]

Unsets the flag evalutated.

Returns:
void.

Definition at line 147 of file casmetainfo.h.

void CASMetaInfo::UnsetPureNumerical (  )  [inline]

Unsets the flag purenumerical.

Returns:
void.

Definition at line 201 of file casmetainfo.h.

void CASMetaInfo::UnsetSingleValue (  )  [inline]

Unsets the flag singlevalue .

Returns:
void.

Definition at line 229 of file casmetainfo.h.

void CASMetaInfo::UnsetSorted (  )  [inline]

Unsets the flag sorted.

Returns:
void.

Definition at line 121 of file casmetainfo.h.


Member Data Documentation

bool CASMetaInfo::coefficient [private]

Indicates whether or not the CASObject is a coefficient.

Definition at line 64 of file casmetainfo.h.

bool CASMetaInfo::evaluated [private]

Indicates whether or not the CASObject has been evaluated.

Definition at line 58 of file casmetainfo.h.

bool CASMetaInfo::purenumerical [private]

Indicates whether or not the CASObject is a pure numerical value. For example, a LongInt can only be a pure numerical value. A Sum might be a pure numerical value, depending on the outcome of the evaluation.

Definition at line 74 of file casmetainfo.h.

bool CASMetaInfo::singlevalue [private]

Indicates whether or not the CASObject is a single value. For instance, a single value can be a LongInt or a Variable.

Definition at line 82 of file casmetainfo.h.

bool CASMetaInfo::sorted [private]

Indicates whether or not the CASObject has been sorted.

Definition at line 52 of file casmetainfo.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 31 01:57:30 2006 for ECAS by  doxygen 1.4.7