30                     "The \"REAL VARIABLE\" statement defines a global " 
   32                     "\tREAL VARIABLE <name>=<real-expression>;\n") {
 
   63     return (dynamic_cast<RealVariable *>(
object) != 0);
 
RealVariable()
Exemplar constructor. 
 
void setReal(Attribute &attr, double val)
Set real value. 
 
virtual void printValue(std::ostream &os) const 
Print its value. 
 
void create(Object *newObject)
Create new object. 
 
virtual double getReal() const 
Return value. 
 
The REAL VARIABLE definition. 
 
void setDirty(bool)
Set/reset the [b]modified[/b] flag. 
 
virtual bool canReplaceBy(Object *rhs)
Test for allowed replacement. 
 
std::vector< Attribute > itsAttr
The object attributes (see Attribute.hh). 
 
virtual void print(std::ostream &) const 
Print the variable. 
 
static OpalData * getInstance()
 
const std::string & getOpalName() const 
Return object name. 
 
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const 
 
virtual RealVariable * clone(const std::string &name)
Make clone. 
 
The base class for all OPAL objects. 
 
The base class for all OPAL value definitions. 
 
void setP0(ValueDefinition *p0)
Set the global momentum. 
 
double getReal(const Attribute &attr)
Return real value. 
 
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute. 
 
Inform & endl(Inform &inf)