Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
G4GenericMessenger::Property Struct Reference

#include <G4GenericMessenger.hh>

Inheritance diagram for G4GenericMessenger::Property:
G4GenericMessenger::Command

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 ()
 
Command & SetStates (G4ApplicationState s0)
 
Command & SetStates (G4ApplicationState s0, G4ApplicationState s1)
 
Command & SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2)
 
Command & SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
Command & SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
Command & SetRange (const G4String &range)
 
Command & SetGuidance (const G4String &s)
 
Command & SetUnit (const G4String &, UnitSpec=UnitDefault)
 
Command & SetUnitCategory (const G4String &u)
 
Command & SetDefaultUnit (const G4String &u)
 
Command & SetParameterName (const G4String &, G4bool, G4bool=false)
 
Command & SetDefaultValue (const G4String &)
 
Command & SetCandidates (const G4String &)
 

Data Fields

G4AnyType variable
 
- Data Fields inherited from G4GenericMessenger::Command
G4UIcommand * command
 
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

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:106
G4GenericMessenger::Property::Property ( )
inline

Definition at line 83 of file G4GenericMessenger.hh.

83 {}

Field Documentation

G4AnyType G4GenericMessenger::Property::variable

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