29 "The \"REAL VECTOR\" statement defines a global "
31 "\tREAL VECTOR<name>=<real-vector-expression>;\n") {
49 return (
dynamic_cast<RealVector *
>(
object) != 0);
70 return array[index-1];
Inform & endl(Inform &inf)
Attribute makeRealArray(const std::string &name, const std::string &help)
Create real array attribute.
std::vector< double > getRealArray(const Attribute &attr)
Get array value.
The base class for all OPAL objects.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
const std::string & getOpalName() const
Return object name.
std::vector< Attribute > itsAttr
The object attributes.
The base class for all OPAL value definitions.
virtual bool canReplaceBy(Object *rhs)
Test for allowed replacement.
virtual double getRealComponent(int) const
Return indexed value.
virtual RealVector * clone(const std::string &name)
Make clone.
virtual void print(std::ostream &) const
Print the vector.
RealVector()
Exemplar constructor.
virtual void printValue(std::ostream &os) const
Print its value.