Geant4  10.02.p03
cheprep::DefaultHepRepAttDef Class Reference

#include <DefaultHepRepAttDef.h>

Inheritance diagram for cheprep::DefaultHepRepAttDef:
Collaboration diagram for cheprep::DefaultHepRepAttDef:

Public Member Functions

 DefaultHepRepAttDef (std::string name, std::string desc, std::string category, std::string extra)
 
 ~DefaultHepRepAttDef ()
 
HEPREP::HepRepAttDefcopy ()
 
std::string getName ()
 
std::string getLowerCaseName ()
 
std::string getDescription ()
 
std::string getCategory ()
 
std::string getExtra ()
 
- Public Member Functions inherited from HEPREP::HepRepAttDef
virtual ~HepRepAttDef ()
 Destructor. More...
 

Private Attributes

std::string name
 
std::string desc
 
std::string category
 
std::string extra
 

Detailed Description

Definition at line 17 of file DefaultHepRepAttDef.h.

Constructor & Destructor Documentation

◆ DefaultHepRepAttDef()

cheprep::DefaultHepRepAttDef::DefaultHepRepAttDef ( std::string  name,
std::string  desc,
std::string  category,
std::string  extra 
)

Definition at line 19 of file DefaultHepRepAttDef.cc.

20  : name(aName), desc(aDesc), category(aCategory), extra(anExtra) {
21 }
Here is the caller graph for this function:

◆ ~DefaultHepRepAttDef()

cheprep::DefaultHepRepAttDef::~DefaultHepRepAttDef ( )

Definition at line 23 of file DefaultHepRepAttDef.cc.

23  {
24 }

Member Function Documentation

◆ copy()

HepRepAttDef * cheprep::DefaultHepRepAttDef::copy ( )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 26 of file DefaultHepRepAttDef.cc.

26  {
28 }
DefaultHepRepAttDef(std::string name, std::string desc, std::string category, std::string extra)
Here is the call graph for this function:

◆ getCategory()

string cheprep::DefaultHepRepAttDef::getCategory ( )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 44 of file DefaultHepRepAttDef.cc.

44  {
45  return category;
46 }

◆ getDescription()

string cheprep::DefaultHepRepAttDef::getDescription ( )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 40 of file DefaultHepRepAttDef.cc.

40  {
41  return desc;
42 }

◆ getExtra()

string cheprep::DefaultHepRepAttDef::getExtra ( )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 48 of file DefaultHepRepAttDef.cc.

48  {
49  return extra;
50 }

◆ getLowerCaseName()

string cheprep::DefaultHepRepAttDef::getLowerCaseName ( )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 34 of file DefaultHepRepAttDef.cc.

34  {
35  string s = name;
36  transform(s.begin(), s.end(), s.begin(), (int(*)(int)) tolower);
37  return s;
38 }
static const double s
Definition: G4SIunits.hh:168

◆ getName()

string cheprep::DefaultHepRepAttDef::getName ( void  )
virtual

Implements HEPREP::HepRepAttDef.

Definition at line 30 of file DefaultHepRepAttDef.cc.

30  {
31  return name;
32 }

Member Data Documentation

◆ category

std::string cheprep::DefaultHepRepAttDef::category
private

Definition at line 20 of file DefaultHepRepAttDef.h.

◆ desc

std::string cheprep::DefaultHepRepAttDef::desc
private

Definition at line 20 of file DefaultHepRepAttDef.h.

◆ extra

std::string cheprep::DefaultHepRepAttDef::extra
private

Definition at line 20 of file DefaultHepRepAttDef.h.

◆ name

std::string cheprep::DefaultHepRepAttDef::name
private

Definition at line 20 of file DefaultHepRepAttDef.h.


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