#include <G4UIparameter.hh>
Definition at line 47 of file G4UIparameter.hh.
G4UIparameter::G4UIparameter |
( |
| ) |
|
Definition at line 37 of file G4UIparameter.cc.
40 parameterName = nullString;
43 parameterGuidance = nullString;
44 defaultValue = nullString;
45 parameterRange = nullString;
46 currentAsDefaultFlag =
false;
47 parameterCandidate = nullString;
G4UIparameter::G4UIparameter |
( |
char |
theType | ) |
|
Definition at line 53 of file G4UIparameter.cc.
56 parameterName = nullString;
57 parameterType = theType;
59 parameterGuidance = nullString;
60 defaultValue = nullString;
61 parameterRange = nullString;
62 currentAsDefaultFlag =
false;
63 parameterCandidate = nullString;
G4UIparameter::G4UIparameter |
( |
const char * |
theName, |
|
|
char |
theType, |
|
|
G4bool |
theOmittable |
|
) |
| |
Definition at line 69 of file G4UIparameter.cc.
71 parameterName = theName;
72 parameterType = theType;
73 omittable = theOmittable;
75 parameterGuidance = nullString;
76 defaultValue = nullString;
77 parameterRange = nullString;
78 currentAsDefaultFlag =
false;
79 parameterCandidate = nullString;
G4UIparameter::~G4UIparameter |
( |
| ) |
|
G4int G4UIparameter::CheckNewValue |
( |
const char * |
newValue | ) |
|
G4bool G4UIparameter::GetCurrentAsDefault |
( |
| ) |
const |
|
inline |
G4String G4UIparameter::GetDefaultValue |
( |
| ) |
const |
|
inline |
G4String G4UIparameter::GetParameterCandidates |
( |
| ) |
const |
|
inline |
const G4String G4UIparameter::GetParameterGuidance |
( |
| ) |
const |
|
inline |
G4String G4UIparameter::GetParameterName |
( |
| ) |
const |
|
inline |
G4String G4UIparameter::GetParameterRange |
( |
| ) |
const |
|
inline |
char G4UIparameter::GetParameterType |
( |
| ) |
const |
|
inline |
G4bool G4UIparameter::IsOmittable |
( |
| ) |
const |
|
inline |
void G4UIparameter::List |
( |
| ) |
|
Definition at line 98 of file G4UIparameter.cc.
101 if( ! parameterGuidance.
isNull() )
102 G4cout << parameterGuidance << G4endl ;
103 G4cout <<
" Parameter type : " << parameterType <<
G4endl;
108 if( currentAsDefaultFlag )
109 {
G4cout <<
" Default value : taken from the current value" <<
G4endl; }
110 else if( ! defaultValue.
isNull() )
111 {
G4cout <<
" Default value : " << defaultValue <<
G4endl; }
112 if( ! parameterRange.
isNull() )
113 G4cout <<
" Parameter range : " << parameterRange << G4endl;
114 if( ! parameterCandidate.
isNull() )
115 G4cout <<
" Candidates : " << parameterCandidate << G4endl;
G4GLOB_DLL std::ostream G4cout
void G4UIparameter::SetCurrentAsDefault |
( |
G4bool |
val | ) |
|
|
inline |
void G4UIparameter::SetDefaultValue |
( |
const char * |
theDefaultValue | ) |
|
|
inline |
void G4UIparameter::SetDefaultValue |
( |
G4int |
theDefaultValue | ) |
|
Definition at line 118 of file G4UIparameter.cc.
120 std::ostringstream os;
121 os << theDefaultValue;
122 defaultValue = os.str();
void G4UIparameter::SetDefaultValue |
( |
G4double |
theDefaultValue | ) |
|
Definition at line 125 of file G4UIparameter.cc.
127 std::ostringstream os;
128 os << theDefaultValue;
129 defaultValue = os.str();
void G4UIparameter::SetGuidance |
( |
const char * |
theGuidance | ) |
|
|
inline |
void G4UIparameter::SetParameterCandidates |
( |
const char * |
theString | ) |
|
|
inline |
void G4UIparameter::SetParameterName |
( |
const char * |
theName | ) |
|
|
inline |
void G4UIparameter::SetParameterRange |
( |
const char * |
theRange | ) |
|
|
inline |
void G4UIparameter::SetWidget |
( |
G4int |
theWidget | ) |
|
|
inline |
The documentation for this class was generated from the following files: