Geant4-11
Public Member Functions | Private Attributes
G4AttDef Class Reference

#include <G4AttDef.hh>

Inheritance diagram for G4AttDef:
G4AttDefT< T >

Public Member Functions

 G4AttDef ()
 
 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)
 
const G4StringGetCategory () const
 
const G4StringGetDesc () const
 
const G4StringGetExtra () const
 
const G4StringGetName () const
 
const G4TypeKeyGetTypeKey () const
 
const G4StringGetValueType () const
 
void SetCategory (const G4String &cat)
 
void SetDesc (const G4String &desc)
 
void SetExtra (const G4String &extra)
 
void SetName (const G4String &name)
 
void SetValueType (const G4String &type)
 
virtual ~G4AttDef ()
 

Private Attributes

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

Detailed Description

Definition at line 56 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 59 of file G4AttDef.hh.

63 :
64 m_name(name),m_desc(desc),
65 m_category(category),
66 m_extra(extra),m_valueType(valueType){};
G4String m_name
The name of the attribute.
Definition: G4AttDef.hh:94
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:104
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:106
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:100
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:102
const char * name(G4int ptype)

◆ G4AttDef() [2/3]

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

Definition at line 69 of file G4AttDef.hh.

73 :
74 m_name(name),m_desc(desc),
75 m_category(category),
76 m_extra(extra),m_valueType("Null"),
77 m_typeKey(typeKey)
78 {};
G4TypeKey m_typeKey
Definition: G4AttDef.hh:108

◆ G4AttDef() [3/3]

G4AttDef::G4AttDef ( )
inline

Definition at line 80 of file G4AttDef.hh.

80{};

◆ ~G4AttDef()

virtual G4AttDef::~G4AttDef ( )
inlinevirtual

Definition at line 81 of file G4AttDef.hh.

81{};

Member Function Documentation

◆ GetCategory()

const G4String & G4AttDef::GetCategory ( ) const
inline

Definition at line 85 of file G4AttDef.hh.

85{return m_category;};

References m_category.

Referenced by operator<<().

◆ GetDesc()

const G4String & G4AttDef::GetDesc ( ) const
inline

Definition at line 84 of file G4AttDef.hh.

84{return m_desc;};

References m_desc.

Referenced by operator<<().

◆ GetExtra()

const G4String & G4AttDef::GetExtra ( ) const
inline

Definition at line 86 of file G4AttDef.hh.

86{return m_extra;};

References m_extra.

Referenced by G4AttUtils::GetKey(), and operator<<().

◆ GetName()

const G4String & G4AttDef::GetName ( ) const
inline

Definition at line 83 of file G4AttDef.hh.

83{return m_name;};

References m_name.

◆ GetTypeKey()

const G4TypeKey & G4AttDef::GetTypeKey ( ) const
inline

Definition at line 88 of file G4AttDef.hh.

88{return m_typeKey;};

References m_typeKey.

Referenced by G4AttFilterUtils::GetNewFilter().

◆ GetValueType()

const G4String & G4AttDef::GetValueType ( ) const
inline

Definition at line 87 of file G4AttDef.hh.

87{return m_valueType;};

References m_valueType.

Referenced by G4AttUtils::GetKey(), and operator<<().

◆ SetCategory()

void G4AttDef::SetCategory ( const G4String cat)
inline

Definition at line 92 of file G4AttDef.hh.

92{m_category = cat;};

References m_category.

◆ SetDesc()

void G4AttDef::SetDesc ( const G4String desc)
inline

Definition at line 91 of file G4AttDef.hh.

91{m_desc = desc;};

References m_desc.

◆ SetExtra()

void G4AttDef::SetExtra ( const G4String extra)
inline

Definition at line 93 of file G4AttDef.hh.

93{m_extra = extra;};

References m_extra.

◆ SetName()

void G4AttDef::SetName ( const G4String name)
inline

Definition at line 90 of file G4AttDef.hh.

90{m_name = name;};

References m_name, and G4InuclParticleNames::name().

◆ SetValueType()

void G4AttDef::SetValueType ( const G4String type)
inline

Definition at line 94 of file G4AttDef.hh.

94{m_valueType = type;};

References m_valueType.

Field Documentation

◆ m_category

G4String G4AttDef::m_category
private

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

Definition at line 102 of file G4AttDef.hh.

Referenced by GetCategory(), and SetCategory().

◆ m_desc

G4String G4AttDef::m_desc
private

A short description of the attribute.

Definition at line 100 of file G4AttDef.hh.

Referenced by GetDesc(), and SetDesc().

◆ m_extra

G4String G4AttDef::m_extra
private

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

Definition at line 104 of file G4AttDef.hh.

Referenced by GetExtra(), and SetExtra().

◆ m_name

G4String G4AttDef::m_name
private

The name of the attribute.

Definition at line 98 of file G4AttDef.hh.

Referenced by GetName(), and SetName().

◆ m_typeKey

G4TypeKey G4AttDef::m_typeKey
private

Definition at line 108 of file G4AttDef.hh.

Referenced by GetTypeKey().

◆ m_valueType

G4String G4AttDef::m_valueType
private

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

Definition at line 106 of file G4AttDef.hh.

Referenced by GetValueType(), and SetValueType().


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