class
MadData
(Return to index)
The global MAD structure.
The MAD object holds all global data required for a MAD execution.
Type: |
Instantiable |
Include file: |
./AbstractObjects/MadData.hh |
Synopsis (including inherited members):
Documentation:
- Public members:
-
struct ClearReference
;
- Clear Reference.
This functor is used to clear the reference count stored in an object.
-
MadData
()
;
- Constructor.
Initialise MAD execution.
-
void apply
(const ObjectFunction&)
;
- Apply a function to all objects.
Loop over the directory and apply the given functor object to each
object in turn.
-
void create
(Object*)
;
- Create new object.
No replacement is allowed; if an object with the same name exists,
throw MadException.
-
void define
(Object*)
;
- Define a new object.
Replacement is allowed; however MadException is thrown,
if the replacement cannot be done.
-
void erase
(const string&)
;
- Delete existing entry.
Identified by name.
-
Object* find
(const string&)
;
- Find entry.
Identified by name.
-
double getP0
()const
;
- Return value of global reference momentum.
-
void makeDirty
(Object*)
;
- Invalidate expressions.
Force re-evaluation of all expressions before next command is
executed.
Also set the modified flag in object, if not NULL.
-
void printNames
(std::ostream&,const string&)
;
- Print all objects.
Loop over the directory and print each object whose name matches
the regular expression pattern.
-
void printTitle
(std::ostream&)
;
- Print the page title.
-
void registerExpression
(AttributeBase*)
;
- Register expression.
Registered expressions are invalidated to be recomputed when
any object in the directory is changed or replaced.
-
void registerTable
(Table*)
;
- Register table.
Register the table t.
Registered tables are invalidated to be refilled when an object
on which they depend is changed or replaced.
-
void setP0
(ValueDefinition*)
;
- Set the global momentum.
-
void storeTitle
(const string&)
;
- Store the page title.
-
void unregisterExpression
(AttributeBase*)
;
- Unregister expression.
-
void unregisterTable
(Table*)
;
- Unregister table.
-
void update
()
;
- Update all objects.
Loop over the directory and notify all objects to update themselves.
Documentation generated by fci on Mon Feb 7 12:29:58 2000