Geant4-11
Public Types | Public Member Functions | Private Attributes
G4AttDefT< T > Class Template Reference

#include <G4AttDefT.hh>

Inheritance diagram for G4AttDefT< T >:
G4AttDef

Public Types

typedef T Type
 

Public Member Functions

 G4AttDefT (const G4String &name, const G4String &desc, const G4String &category, const G4String &extra="")
 
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 ~G4AttDefT ()
 

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

template<typename T>
class G4AttDefT< T >

Definition at line 39 of file G4AttDefT.hh.

Member Typedef Documentation

◆ Type

template<typename T >
typedef T G4AttDefT< T >::Type

Definition at line 43 of file G4AttDefT.hh.

Constructor & Destructor Documentation

◆ G4AttDefT()

template<typename T >
G4AttDefT< T >::G4AttDefT ( const G4String name,
const G4String desc,
const G4String category,
const G4String extra = "" 
)
inline

Definition at line 46 of file G4AttDefT.hh.

50 :G4AttDef(name, desc, category, extra, G4TypeKeyT<T>())
51 {}
G4AttDef()
Definition: G4AttDef.hh:80
const char * name(G4int ptype)

◆ ~G4AttDefT()

template<typename T >
virtual G4AttDefT< T >::~G4AttDefT ( )
inlinevirtual

Definition at line 54 of file G4AttDefT.hh.

54{};

Member Function Documentation

◆ GetCategory()

const G4String & G4AttDef::GetCategory ( ) const
inlineinherited

Definition at line 85 of file G4AttDef.hh.

85{return m_category;};
G4String m_category
The category (Draw, Physics, PickAction, Association, etc.)
Definition: G4AttDef.hh:102

References G4AttDef::m_category.

Referenced by operator<<().

◆ GetDesc()

const G4String & G4AttDef::GetDesc ( ) const
inlineinherited

Definition at line 84 of file G4AttDef.hh.

84{return m_desc;};
G4String m_desc
A short description of the attribute.
Definition: G4AttDef.hh:100

References G4AttDef::m_desc.

Referenced by operator<<().

◆ GetExtra()

const G4String & G4AttDef::GetExtra ( ) const
inlineinherited

Definition at line 86 of file G4AttDef.hh.

86{return m_extra;};
G4String m_extra
Some extra property of the attribute (units, etc.)
Definition: G4AttDef.hh:104

References G4AttDef::m_extra.

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

◆ GetName()

const G4String & G4AttDef::GetName ( ) const
inlineinherited

Definition at line 83 of file G4AttDef.hh.

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

References G4AttDef::m_name.

◆ GetTypeKey()

const G4TypeKey & G4AttDef::GetTypeKey ( ) const
inlineinherited

Definition at line 88 of file G4AttDef.hh.

88{return m_typeKey;};
G4TypeKey m_typeKey
Definition: G4AttDef.hh:108

References G4AttDef::m_typeKey.

Referenced by G4AttFilterUtils::GetNewFilter().

◆ GetValueType()

const G4String & G4AttDef::GetValueType ( ) const
inlineinherited

Definition at line 87 of file G4AttDef.hh.

87{return m_valueType;};
G4String m_valueType
The type of the value of the attribute (int, double, vector, etc.)
Definition: G4AttDef.hh:106

References G4AttDef::m_valueType.

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

◆ SetCategory()

void G4AttDef::SetCategory ( const G4String cat)
inlineinherited

Definition at line 92 of file G4AttDef.hh.

92{m_category = cat;};

References G4AttDef::m_category.

◆ SetDesc()

void G4AttDef::SetDesc ( const G4String desc)
inlineinherited

Definition at line 91 of file G4AttDef.hh.

91{m_desc = desc;};

References G4AttDef::m_desc.

◆ SetExtra()

void G4AttDef::SetExtra ( const G4String extra)
inlineinherited

Definition at line 93 of file G4AttDef.hh.

93{m_extra = extra;};

References G4AttDef::m_extra.

◆ SetName()

void G4AttDef::SetName ( const G4String name)
inlineinherited

Definition at line 90 of file G4AttDef.hh.

90{m_name = name;};

References G4AttDef::m_name, and G4InuclParticleNames::name().

◆ SetValueType()

void G4AttDef::SetValueType ( const G4String type)
inlineinherited

Definition at line 94 of file G4AttDef.hh.

94{m_valueType = type;};

References G4AttDef::m_valueType.

Field Documentation

◆ m_category

G4String G4AttDef::m_category
privateinherited

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

Definition at line 102 of file G4AttDef.hh.

Referenced by G4AttDef::GetCategory(), and G4AttDef::SetCategory().

◆ m_desc

G4String G4AttDef::m_desc
privateinherited

A short description of the attribute.

Definition at line 100 of file G4AttDef.hh.

Referenced by G4AttDef::GetDesc(), and G4AttDef::SetDesc().

◆ m_extra

G4String G4AttDef::m_extra
privateinherited

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

Definition at line 104 of file G4AttDef.hh.

Referenced by G4AttDef::GetExtra(), and G4AttDef::SetExtra().

◆ m_name

G4String G4AttDef::m_name
privateinherited

The name of the attribute.

Definition at line 98 of file G4AttDef.hh.

Referenced by G4AttDef::GetName(), and G4AttDef::SetName().

◆ m_typeKey

G4TypeKey G4AttDef::m_typeKey
privateinherited

Definition at line 108 of file G4AttDef.hh.

Referenced by G4AttDef::GetTypeKey().

◆ m_valueType

G4String G4AttDef::m_valueType
privateinherited

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

Definition at line 106 of file G4AttDef.hh.

Referenced by G4AttDef::GetValueType(), and G4AttDef::SetValueType().


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