|
virtual | ~HepRep () |
| Destructor.
|
|
virtual void | addLayer (std::string layer)=0 |
|
virtual std::vector< std::string > | getLayerOrder ()=0 |
|
virtual void | addTypeTree (HepRepTypeTree *typeTree)=0 |
|
virtual void | removeTypeTree (HepRepTypeTree *typeTree)=0 |
|
virtual std::vector< HepRepTypeTree * > | getTypeTreeList ()=0 |
|
virtual HepRepTypeTree * | getTypeTree (std::string name, std::string version)=0 |
|
virtual void | addInstanceTree (HepRepInstanceTree *instanceTree)=0 |
|
virtual void | overlayInstanceTree (HepRepInstanceTree *instanceTree)=0 |
|
virtual void | removeInstanceTree (HepRepInstanceTree *instanceTree)=0 |
|
virtual std::vector< HepRepInstanceTree * > | getInstanceTreeList ()=0 |
|
virtual HepRepInstanceTree * | getInstanceTreeTop (std::string name, std::string version)=0 |
|
virtual HepRepInstanceTree * | getInstances (std::string name, std::string version, std::vector< std::string > typeNames)=0 |
|
virtual HepRepInstanceTree * | getInstancesAfterAction (std::string name, std::string version, std::vector< std::string > typeNames, std::vector< HepRepAction * > actions, bool getPoints, bool getDrawAtts, bool getNonDrawAtts, std::vector< std::string > invertAtts)=0 |
|
virtual std::string | checkForException ()=0 |
|
virtual HepRep * | copy (HepRepSelectFilter *filter=NULL)=0 |
|
The HepRep interface.
Any of these methods may throw a UnsupportedOperationException in Java.
This interface is NOT final yet.
- Author
- Mark Donszelmann
Definition at line 52 of file HepRep.h.
virtual HepRepInstanceTree * HEPREP::HepRep::getInstancesAfterAction |
( |
std::string |
name, |
|
|
std::string |
version, |
|
|
std::vector< std::string > |
typeNames, |
|
|
std::vector< HepRepAction * > |
actions, |
|
|
bool |
getPoints, |
|
|
bool |
getDrawAtts, |
|
|
bool |
getNonDrawAtts, |
|
|
std::vector< std::string > |
invertAtts |
|
) |
| |
|
pure virtual |
Returns a named and versioned instancetree for a list of typenames after executing some action and for specific filters.
This tree needs to be added to the heprep afterwards.
The inversion effect of invertAtts depends on the values of GetDrawAtts and GetNonDrawAtts as follows:
-
GetDrawAtts GetNonDrawAtts effect of InvertAtts
-
FALSE FALSE all Attributes specified will be downloaded
-
TRUE FALSE Draw Attributes specified will be omitted, NonDraw Attributes specified will be included
-
FALSE TRUE Draw Attributes specified will be included, NonDraw Attributes specified will be omitted
-
TRUE TRUE all Attributes specified will be omitted
- Parameters
-
name | name of the instancetree. |
version | version of the instancetree. |
typeNames | a list of typenames for which we need instancetrees. |
actions | execute this list of actions before returning. |
getPoints | include the HepRepPoints in the instance tree. |
getDrawAtts | include the Draw attributes in the instance tree. |
getNonDrawAtts | include the Non-Draw attributes in the instance tree. |
invertAtts | list of attributes to be included or not depending on getDrawAtts and getNonDrawAtts. |
- Returns
- HepRepIntanceTree
Implemented in cheprep::DefaultHepRep.