Geant4  10.02.p03
G4AttDef Class Reference

#include <G4AttDef.hh>

Inheritance diagram for G4AttDef:
Collaboration diagram for G4AttDef:

Public Member Functions

 G4AttDef (const G4String &name, const G4String &desc, const G4String &category, const G4String &extra, const G4String &valueType)
 
 G4AttDef (const G4String &name, const G4String &desc, const G4String &category, const G4String &extra, const G4TypeKey &typeKey)
 
 G4AttDef ()
 
virtual ~G4AttDef ()
 
const G4StringGetName () const
 
const G4StringGetDesc () const
 
const G4StringGetCategory () const
 
const G4StringGetExtra () const
 
const G4StringGetValueType () const
 
const G4TypeKeyGetTypeKey () const
 
void SetName (const G4String &name)
 
void SetDesc (const G4String &desc)
 
void SetCategory (const G4String &cat)
 
void SetExtra (const G4String &extra)
 
void SetValueType (const G4String &type)
 

Private Attributes

G4String m_name
 The name of the attribute. More...
 
G4String m_desc
 A short description of the attribute. More...
 
G4String m_category
 The category (Draw, Physics, PickAction, Association, etc.) More...
 
G4String m_extra
 Some extra property of the attribute (units, etc.) More...
 
G4String m_valueType
 The type of the value of the attribute (int, double, vector, etc.) More...
 
G4TypeKey m_typeKey
 

Detailed Description

Definition at line 57 of file G4AttDef.hh.

Constructor & Destructor Documentation

◆ G4AttDef() [1/3]

G4AttDef::G4AttDef ( const G4String name,
const G4String desc,
const G4String category,
const G4String extra,
const G4String valueType 
)
inline

Definition at line 60 of file G4AttDef.hh.

64  :
65  m_name(name),m_desc(desc),
66  m_category(category),
67  m_extra(extra),m_valueType(valueType){};
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:103
G4String m_name
The name of the attribute.
Definition: G4AttDef.hh:95
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:105
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:107
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:101

◆ G4AttDef() [2/3]

G4AttDef::G4AttDef ( const G4String name,
const G4String desc,
const G4String category,
const G4String extra,
const G4TypeKey typeKey 
)
inline

Definition at line 70 of file G4AttDef.hh.

74  :
75  m_name(name),m_desc(desc),
76  m_category(category),
77  m_extra(extra),m_valueType("Null"),
78  m_typeKey(typeKey)
79  {};
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:103
G4TypeKey m_typeKey
Definition: G4AttDef.hh:109
G4String m_name
The name of the attribute.
Definition: G4AttDef.hh:95
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:105
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:107
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:101

◆ G4AttDef() [3/3]

G4AttDef::G4AttDef ( )
inline

Definition at line 81 of file G4AttDef.hh.

81 {};

◆ ~G4AttDef()

virtual G4AttDef::~G4AttDef ( )
inlinevirtual

Definition at line 82 of file G4AttDef.hh.

82 {};

Member Function Documentation

◆ GetCategory()

const G4String& G4AttDef::GetCategory ( ) const
inline

Definition at line 86 of file G4AttDef.hh.

86 {return m_category;};
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:103
Here is the caller graph for this function:

◆ GetDesc()

const G4String& G4AttDef::GetDesc ( ) const
inline

Definition at line 85 of file G4AttDef.hh.

85 {return m_desc;};
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:101
Here is the caller graph for this function:

◆ GetExtra()

const G4String& G4AttDef::GetExtra ( ) const
inline

Definition at line 87 of file G4AttDef.hh.

87 {return m_extra;};
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:105
Here is the caller graph for this function:

◆ GetName()

const G4String& G4AttDef::GetName ( void  ) const
inline

Definition at line 84 of file G4AttDef.hh.

84 {return m_name;};
G4String m_name
The name of the attribute.
Definition: G4AttDef.hh:95

◆ GetTypeKey()

const G4TypeKey& G4AttDef::GetTypeKey ( ) const
inline

Definition at line 89 of file G4AttDef.hh.

89 {return m_typeKey;};
G4TypeKey m_typeKey
Definition: G4AttDef.hh:109
Here is the caller graph for this function:

◆ GetValueType()

const G4String& G4AttDef::GetValueType ( ) const
inline

Definition at line 88 of file G4AttDef.hh.

88 {return m_valueType;};
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:107
Here is the caller graph for this function:

◆ SetCategory()

void G4AttDef::SetCategory ( const G4String cat)
inline

Definition at line 93 of file G4AttDef.hh.

93 {m_category = cat;};
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:103

◆ SetDesc()

void G4AttDef::SetDesc ( const G4String desc)
inline

Definition at line 92 of file G4AttDef.hh.

92 {m_desc = desc;};
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:101

◆ SetExtra()

void G4AttDef::SetExtra ( const G4String extra)
inline

Definition at line 94 of file G4AttDef.hh.

94 {m_extra = extra;};
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:105

◆ SetName()

void G4AttDef::SetName ( const G4String name)
inline

Definition at line 91 of file G4AttDef.hh.

91 {m_name = name;};
G4String m_name
The name of the attribute.
Definition: G4AttDef.hh:95
G4String name
Definition: TRTMaterials.hh:40

◆ SetValueType()

void G4AttDef::SetValueType ( const G4String type)
inline

Definition at line 95 of file G4AttDef.hh.

95 {m_valueType = type;};
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:107

Member Data Documentation

◆ m_category

G4String G4AttDef::m_category
private

The category (Draw, Physics, PickAction, Association, etc.)

Definition at line 103 of file G4AttDef.hh.

◆ m_desc

G4String G4AttDef::m_desc
private

A short description of the attribute.

Definition at line 101 of file G4AttDef.hh.

◆ m_extra

G4String G4AttDef::m_extra
private

Some extra property of the attribute (units, etc.)

Definition at line 105 of file G4AttDef.hh.

◆ m_name

G4String G4AttDef::m_name
private

The name of the attribute.

Definition at line 95 of file G4AttDef.hh.

◆ m_typeKey

G4TypeKey G4AttDef::m_typeKey
private

Definition at line 109 of file G4AttDef.hh.

◆ m_valueType

G4String G4AttDef::m_valueType
private

The type of the value of the attribute (int, double, vector, etc.)

Definition at line 107 of file G4AttDef.hh.


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