Geant4  10.02.p03
G4AttValue Class Reference

#include <G4AttValue.hh>

Collaboration diagram for G4AttValue:

Public Member Functions

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

Private Attributes

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

Detailed Description

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

58  :
59  m_name(name),m_value(value),
60  m_showLabel(showLabel){};
G4String m_showLabel
The bitmap for the label display.
Definition: G4AttValue.hh:77
G4String m_name
The name of the attribute.
Definition: G4AttValue.hh:69
G4String m_value
The value of the attribute.
Definition: G4AttValue.hh:75

◆ G4AttValue() [2/2]

G4AttValue::G4AttValue ( )
inline

Definition at line 61 of file G4AttValue.hh.

61 {};

Member Function Documentation

◆ GetName()

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

Definition at line 63 of file G4AttValue.hh.

63 {return m_name;};
G4String m_name
The name of the attribute.
Definition: G4AttValue.hh:69

◆ GetShowLabel()

const G4String& G4AttValue::GetShowLabel ( ) const
inline

Definition at line 65 of file G4AttValue.hh.

65 {return m_showLabel;};
G4String m_showLabel
The bitmap for the label display.
Definition: G4AttValue.hh:77

◆ GetValue()

const G4String& G4AttValue::GetValue ( ) const
inline

Definition at line 64 of file G4AttValue.hh.

64 {return m_value;};
G4String m_value
The value of the attribute.
Definition: G4AttValue.hh:75
Here is the caller graph for this function:

◆ SetName()

void G4AttValue::SetName ( const G4String name)
inline

Definition at line 67 of file G4AttValue.hh.

67 {m_name = name;};
G4String name
Definition: TRTMaterials.hh:40
G4String m_name
The name of the attribute.
Definition: G4AttValue.hh:69

◆ SetShowLabel()

void G4AttValue::SetShowLabel ( const G4String lab)
inline

Definition at line 69 of file G4AttValue.hh.

69 {m_showLabel = lab;};
G4String m_showLabel
The bitmap for the label display.
Definition: G4AttValue.hh:77

◆ SetValue()

void G4AttValue::SetValue ( const G4String val)
inline

Definition at line 68 of file G4AttValue.hh.

68 {m_value = val;};
G4String m_value
The value of the attribute.
Definition: G4AttValue.hh:75

Member Data Documentation

◆ m_name

G4String G4AttValue::m_name
private

The name of the attribute.

Definition at line 69 of file G4AttValue.hh.

◆ m_showLabel

G4String G4AttValue::m_showLabel
private

The bitmap for the label display.

Definition at line 77 of file G4AttValue.hh.

◆ m_value

G4String G4AttValue::m_value
private

The value of the attribute.

Definition at line 75 of file G4AttValue.hh.


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