CASMetaInfo class for providing meta information.
More...
#include <casmetainfo.h>
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. | |
| CASMetaInfo & | operator= (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. | |
CASObject. Those are mostly flags specifying the type of the CASObject more precisely or state flags.
Definition at line 45 of file casmetainfo.h.
| 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.
| ref | Reference to CASMetaInfo. |
Definition at line 60 of file casmetainfo.cc.
| bool CASMetaInfo::IsCoefficient | ( | ) | const [inline] |
Indicates whether or not the CASObject is a coefficient.
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.
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.
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.
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.
true if the CASObject is sorted, false otherwise. Definition at line 130 of file casmetainfo.h.
| CASMetaInfo & CASMetaInfo::operator= | ( | const CASMetaInfo & | ref | ) |
Assignment operator.
| ref | Reference to CASMetaInfo. |
Definition at line 114 of file casmetainfo.cc.
| void CASMetaInfo::SetAll | ( | ) |
| void CASMetaInfo::SetCoefficient | ( | ) | [inline] |
| void CASMetaInfo::SetEvaluated | ( | ) | [inline] |
| void CASMetaInfo::SetPureNumerical | ( | ) | [inline] |
| void CASMetaInfo::SetSingleValue | ( | ) | [inline] |
| void CASMetaInfo::SetSorted | ( | ) | [inline] |
| void CASMetaInfo::UnsetAll | ( | ) |
| void CASMetaInfo::UnsetCoefficient | ( | ) | [inline] |
| void CASMetaInfo::UnsetEvaluated | ( | ) | [inline] |
| void CASMetaInfo::UnsetPureNumerical | ( | ) | [inline] |
| void CASMetaInfo::UnsetSingleValue | ( | ) | [inline] |
| void CASMetaInfo::UnsetSorted | ( | ) | [inline] |
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.
1.4.7