Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cheprep::DefaultHepRepTreeID Class Reference

#include <DefaultHepRepTreeID.h>

Inheritance diagram for cheprep::DefaultHepRepTreeID:
Collaboration diagram for cheprep::DefaultHepRepTreeID:

Public Member Functions

 DefaultHepRepTreeID (std::string name, std::string version, std::string qualifier="top_level")
 
 ~DefaultHepRepTreeID ()
 
std::string getQualifier ()
 
void setQualifier (std::string qualifier)
 
std::string getName ()
 
std::string getVersion ()
 
- Public Member Functions inherited from HEPREP::HepRepTreeID
virtual ~HepRepTreeID ()
 Destructor. More...
 

Detailed Description

Definition at line 17 of file DefaultHepRepTreeID.h.

Constructor & Destructor Documentation

cheprep::DefaultHepRepTreeID::DefaultHepRepTreeID ( std::string  name,
std::string  version,
std::string  qualifier = "top_level" 
)

Definition at line 16 of file DefaultHepRepTreeID.cc.

17  : name(aName), version(aVersion), qualifier(aQualifier) {
18 }
const XML_Char * name
Definition: expat.h:151
const XML_Char * version
Definition: expat.h:187
cheprep::DefaultHepRepTreeID::~DefaultHepRepTreeID ( )

Definition at line 20 of file DefaultHepRepTreeID.cc.

20  {
21 }

Member Function Documentation

string cheprep::DefaultHepRepTreeID::getName ( )
virtual

Returns the name of this treeID.

Returns
name of treeID.

Implements HEPREP::HepRepTreeID.

Definition at line 31 of file DefaultHepRepTreeID.cc.

31  {
32  return name;
33 }
const XML_Char * name
Definition: expat.h:151
string cheprep::DefaultHepRepTreeID::getQualifier ( )
virtual

Returns the qualifier that qualifies the relation that this treeID has with what it refers to.

Returns
qualifier.

Implements HEPREP::HepRepTreeID.

Definition at line 23 of file DefaultHepRepTreeID.cc.

23  {
24  return qualifier;
25 }
string cheprep::DefaultHepRepTreeID::getVersion ( )
virtual

Returns the version of this treeID.

Returns
version of treeID.

Implements HEPREP::HepRepTreeID.

Definition at line 35 of file DefaultHepRepTreeID.cc.

35  {
36  return version;
37 }
const XML_Char * version
Definition: expat.h:187
void cheprep::DefaultHepRepTreeID::setQualifier ( std::string  qualifier)
virtual

Sets the qualifier that qualifies the relation that this treeID has with what it refers to.

Parameters
qualifierto be set.

Implements HEPREP::HepRepTreeID.

Definition at line 27 of file DefaultHepRepTreeID.cc.

27  {
28  this->qualifier = qual;
29 }

The documentation for this class was generated from the following files: