linal::Object Class Reference

#include <Object.h>


Public Member Functions

 Object (const DString &)
 Object (const DString &, bool isMatrix)
 Object (const linal::Variable &)
 Object (const Double &)
 Object (const Character &)
 Object (const Binary &B)
 Object ()
 Object (const Object &)
 Object (const Complex &)
 Object (const utils::DArray< utils::DArray< DString > > &_functionArgs)
 Constructor for Functions Objects.
Objectoperator= (const Object &rhs)
bool operator== (const Object &rhs)
bool operator!= (const Object &rhs)
DString getType () const
int isString () const
int isVariable () const
int isDouble () const
int isCharacter () const
int isLTree () const
bool isBinary () const
bool isMatrix () const
bool isComplex () const
bool isFunction () const
DString getDString () const
linal::Variable getVariable () const
Double getDouble () const
Character & getCharacter () const
math::Binary & getBinary () const
Complex & getComplex () const
utils::DArray< utils::DArray<
DString > > & 
getFunction () const
DString toDString () const
void setAllFalse ()

Private Attributes

DString string
DString type
Variable variable
Double doubleObj
Complex * complex
Character * character
Binary * binary
utils::DArray< utils::DArray<
DString > > * 
functionArguments
int isItAString
int isItAVariable
int isItAnInteger
int isItAnLTree
int isItACharacter
int isItAFunction
bool isItABinary
bool isItAMatrix
bool isItComplex


Constructor & Destructor Documentation

linal::Object::Object ( const DString &   ) 

linal::Object::Object ( const DString &  ,
bool  isMatrix 
)

linal::Object::Object ( const linal::Variable  ) 

linal::Object::Object ( const Double &   ) 

linal::Object::Object ( const Character &   ) 

linal::Object::Object ( const Binary &  B  ) 

linal::Object::Object (  ) 

linal::Object::Object ( const Object  ) 

linal::Object::Object ( const Complex &   ) 

linal::Object::Object ( const utils::DArray< utils::DArray< DString > > &  _functionArgs  ) 

Constructor for Functions Objects.

The first DArray<DString> contains only the DString name of the function. Then every other DArray<DString> is a set of parameters.


Member Function Documentation

Object & linal::Object::operator= ( const Object rhs  ) 

bool linal::Object::operator== ( const Object rhs  ) 

bool linal::Object::operator!= ( const Object rhs  ) 

DString linal::Object::getType (  )  const [inline]

int linal::Object::isString (  )  const [inline]

int linal::Object::isVariable (  )  const [inline]

int linal::Object::isDouble (  )  const [inline]

int linal::Object::isCharacter (  )  const [inline]

int linal::Object::isLTree (  )  const [inline]

bool linal::Object::isBinary (  )  const [inline]

bool linal::Object::isMatrix (  )  const [inline]

bool linal::Object::isComplex (  )  const [inline]

bool linal::Object::isFunction (  )  const [inline]

DString linal::Object::getDString (  )  const [inline]

linal::Variable linal::Object::getVariable (  )  const [inline]

Double linal::Object::getDouble (  )  const [inline]

Character& linal::Object::getCharacter (  )  const [inline]

math::Binary& linal::Object::getBinary (  )  const [inline]

Complex& linal::Object::getComplex (  )  const [inline]

utils::DArray<utils::DArray<DString> >& linal::Object::getFunction (  )  const [inline]

DString linal::Object::toDString (  )  const

void linal::Object::setAllFalse (  ) 


Field Documentation

DString linal::Object::string [private]

DString linal::Object::type [private]

Variable linal::Object::variable [private]

Double linal::Object::doubleObj [private]

Complex* linal::Object::complex [private]

Character* linal::Object::character [private]

Binary* linal::Object::binary [private]

utils::DArray<utils::DArray<DString> >* linal::Object::functionArguments [private]

int linal::Object::isItAString [private]

int linal::Object::isItAVariable [private]

int linal::Object::isItAnInteger [private]

int linal::Object::isItAnLTree [private]

int linal::Object::isItACharacter [private]

int linal::Object::isItAFunction [private]

bool linal::Object::isItABinary [private]

bool linal::Object::isItAMatrix [private]

bool linal::Object::isItComplex [private]


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 14:53:55 2008 by  doxygen 1.5.2