Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4AnyType.hh>
Public Member Functions | |
G4AnyType () | |
template<typename ValueType > | |
G4AnyType (ValueType &value) | |
G4AnyType (const G4AnyType &other) | |
~G4AnyType () | |
operator bool () | |
G4AnyType & | Swap (G4AnyType &rhs) |
template<typename ValueType > | |
G4AnyType & | operator= (const ValueType &rhs) |
G4AnyType & | operator= (const G4AnyType &rhs) |
bool | Empty () const |
const std::type_info & | TypeInfo () const |
void * | Address () const |
std::string | ToString () const |
void | FromString (const std::string &val) |
Friends | |
template<typename ValueType > | |
ValueType * | any_cast (G4AnyType *) |
This class represents any data type. The class only holds a reference to the type and not the value.
Definition at line 61 of file G4AnyType.hh.
|
inline |
Constructor
Definition at line 64 of file G4AnyType.hh.
Referenced by operator=().
|
inline |
Constructor
Definition at line 68 of file G4AnyType.hh.
Copy Constructor
Definition at line 72 of file G4AnyType.hh.
|
inline |
|
inline |
Adress
Definition at line 108 of file G4AnyType.hh.
|
inline |
Query
Definition at line 100 of file G4AnyType.hh.
Referenced by operator bool().
|
inline |
String conversion
Definition at line 116 of file G4AnyType.hh.
Referenced by G4GenericMessenger::SetNewValue().
|
inline |
bool operator
Definition at line 81 of file G4AnyType.hh.
Modifier
Definition at line 90 of file G4AnyType.hh.
Modifier
Definition at line 85 of file G4AnyType.hh.
|
inline |
String conversion
Definition at line 112 of file G4AnyType.hh.
Referenced by G4GenericMessenger::GetCurrentValue().
|
inline |
Query
Definition at line 104 of file G4AnyType.hh.
Referenced by G4GenericMessenger::DeclareProperty().
|
friend |
representation
value
Definition at line 201 of file G4AnyType.hh.