Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GenericMessenger::Property Struct Reference

#include <G4GenericMessenger.hh>

+ Inheritance diagram for G4GenericMessenger::Property:

Public Member Functions

 Property (const G4AnyType &var, G4UIcommand *cmd)
 
 Property ()
 
- Public Member Functions inherited from G4GenericMessenger::Command
 Command (G4UIcommand *cmd, const std::type_info &ti)
 
 Command ()
 
CommandSetStates (G4ApplicationState s0)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
CommandSetRange (const G4String &range)
 
CommandSetGuidance (const G4String &s)
 
CommandSetUnit (const G4String &, UnitSpec=UnitDefault)
 
CommandSetUnitCategory (const G4String &u)
 
CommandSetDefaultUnit (const G4String &u)
 
CommandSetParameterName (const G4String &, G4bool, G4bool=false)
 
CommandSetDefaultValue (const G4String &)
 
CommandSetCandidates (const G4String &)
 

Public Attributes

G4AnyType variable
 
- Public Attributes inherited from G4GenericMessenger::Command
G4UIcommandcommand
 
const std::type_info * type
 

Additional Inherited Members

- Public Types inherited from G4GenericMessenger::Command
enum  UnitSpec { UnitCategory , UnitDefault }
 

Detailed Description

Definition at line 81 of file G4GenericMessenger.hh.

Constructor & Destructor Documentation

◆ Property() [1/2]

G4GenericMessenger::Property::Property ( const G4AnyType var,
G4UIcommand cmd 
)
inline

Definition at line 82 of file G4GenericMessenger.hh.

82: Command(cmd, var.TypeInfo()) , variable(var) {}
const std::type_info & TypeInfo() const
Definition: G4AnyType.hh:104

◆ Property() [2/2]

G4GenericMessenger::Property::Property ( )
inline

Definition at line 83 of file G4GenericMessenger.hh.

83{}

Member Data Documentation

◆ variable

G4AnyType G4GenericMessenger::Property::variable

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