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

#include <G4AttValue.hh>

Public Member Functions

 G4AttValue ()
 
 G4AttValue (const G4String &name, const G4String &value, const G4String &showLabel)
 
const G4StringGetName () const
 
const G4StringGetShowLabel () const
 
const G4StringGetValue () const
 
void SetName (const G4String &name)
 
void SetShowLabel (const G4String &lab)
 
void SetValue (const G4String &val)
 

Private Attributes

G4String m_name
 The name of the attribute. More...
 
G4String m_showLabel
 The bitmap for the label display. More...
 
G4String m_value
 The value of the attribute. More...
 

Detailed Description

Definition at line 52 of file G4AttValue.hh.

Constructor & Destructor Documentation

◆ G4AttValue() [1/2]

G4AttValue::G4AttValue ( const G4String name,
const G4String value,
const G4String showLabel 
)
inline

Definition at line 55 of file G4AttValue.hh.

57 :
58 m_name(name),m_value(value),
59 m_showLabel(showLabel){};
G4String m_value
The value of the attribute.
Definition: G4AttValue.hh:74
G4String m_showLabel
The bitmap for the label display.
Definition: G4AttValue.hh:76
G4String m_name
The name of the attribute.
Definition: G4AttValue.hh:68
const char * name(G4int ptype)

◆ G4AttValue() [2/2]

G4AttValue::G4AttValue ( )
inline

Definition at line 60 of file G4AttValue.hh.

60{};

Member Function Documentation

◆ GetName()

const G4String & G4AttValue::GetName ( ) const
inline

Definition at line 62 of file G4AttValue.hh.

62{return m_name;};

References m_name.

◆ GetShowLabel()

const G4String & G4AttValue::GetShowLabel ( ) const
inline

Definition at line 64 of file G4AttValue.hh.

64{return m_showLabel;};

References m_showLabel.

◆ GetValue()

const G4String & G4AttValue::GetValue ( ) const
inline

◆ SetName()

void G4AttValue::SetName ( const G4String name)
inline

Definition at line 66 of file G4AttValue.hh.

66{m_name = name;};

References m_name, and G4InuclParticleNames::name().

◆ SetShowLabel()

void G4AttValue::SetShowLabel ( const G4String lab)
inline

Definition at line 68 of file G4AttValue.hh.

68{m_showLabel = lab;};

References m_showLabel.

◆ SetValue()

void G4AttValue::SetValue ( const G4String val)
inline

Definition at line 67 of file G4AttValue.hh.

67{m_value = val;};

References m_value.

Field Documentation

◆ m_name

G4String G4AttValue::m_name
private

The name of the attribute.

Definition at line 72 of file G4AttValue.hh.

Referenced by GetName(), and SetName().

◆ m_showLabel

G4String G4AttValue::m_showLabel
private

The bitmap for the label display.

Definition at line 76 of file G4AttValue.hh.

Referenced by GetShowLabel(), and SetShowLabel().

◆ m_value

G4String G4AttValue::m_value
private

The value of the attribute.

Definition at line 74 of file G4AttValue.hh.

Referenced by GetValue(), and SetValue().


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