Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AttDef Class Reference

#include <G4AttDef.hh>

+ Inheritance 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 ()=default
 
virtual ~G4AttDef ()=default
 
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)
 

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){};

◆ 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 {};

◆ G4AttDef() [3/3]

G4AttDef::G4AttDef ( )
default

◆ ~G4AttDef()

virtual G4AttDef::~G4AttDef ( )
virtualdefault

Member Function Documentation

◆ GetCategory()

const G4String & G4AttDef::GetCategory ( ) const
inline

Definition at line 85 of file G4AttDef.hh.

85{return m_category;};

Referenced by operator<<().

◆ GetDesc()

const G4String & G4AttDef::GetDesc ( ) const
inline

Definition at line 84 of file G4AttDef.hh.

84{return m_desc;};

Referenced by operator<<().

◆ GetExtra()

const G4String & G4AttDef::GetExtra ( ) const
inline

Definition at line 86 of file G4AttDef.hh.

86{return 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;};

◆ GetTypeKey()

const G4TypeKey & G4AttDef::GetTypeKey ( ) const
inline

Definition at line 88 of file G4AttDef.hh.

88{return 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;};

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;};

◆ SetDesc()

void G4AttDef::SetDesc ( const G4String desc)
inline

Definition at line 91 of file G4AttDef.hh.

91{m_desc = desc;};

◆ SetExtra()

void G4AttDef::SetExtra ( const G4String extra)
inline

Definition at line 93 of file G4AttDef.hh.

93{m_extra = extra;};

◆ SetName()

void G4AttDef::SetName ( const G4String name)
inline

Definition at line 90 of file G4AttDef.hh.

90{m_name = name;};
const char * name(G4int ptype)

◆ SetValueType()

void G4AttDef::SetValueType ( const G4String type)
inline

Definition at line 94 of file G4AttDef.hh.

94{m_valueType = type;};

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