/*File Name: UnderFunction.cpp
  Author: Betti Österholz ; Date: 06.08.2003
  System: C++
  
  This is implementation of the Basisclass of all Vector objects

*/


#include "UnderFunction.h"
//---------------------------------------------------------------------------


   //Construktors:
UnderFunction::UnderFunction():Vector(3)
//standart constructor
//makes a blank object for x*y^z UnderFunctions, it has 3 components
{}

UnderFunction::UnderFunction(const UnderFunction& udf):Vector(udf)
//copy constructor
//makes a UnderFunction vector object with the same values as the given UnderFunction
//vector
//pre: the UnderFunction vector to copy
{}

unsigned long UnderFunction::getTimeNeed() const
//to get a idea how long the object need to evaluate
//post: a number for how much time the object need to evaluate
{return getNumberOfComponents();}

UnderFunction* UnderFunction::copy()
//copy this object(means all, even the objects in it)
//post: a pointer to the copy of this object
{
return (new UnderFunction(*this));
}

string UnderFunction::classnameOf() const
//returns the classname of this object as a string
//post: the classname of this object as a string
{return "UnderFunction";}





