|
Geant4
10.02.p03
|
#include <G4AnyType.hh>
Classes | |
| class | Placeholder |
| class | Ref |
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) |
Private Attributes | |
| Placeholder * | fContent |
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 63 of file G4AnyType.hh.
|
inline |
Constructor
Definition at line 66 of file G4AnyType.hh.
|
inline |
|
inline |
|
inline |
Dtor
Definition at line 78 of file G4AnyType.hh.
|
inline |
|
inline |
|
inline |
String conversion
Definition at line 118 of file G4AnyType.hh.
|
inline |
bool operator
Definition at line 83 of file G4AnyType.hh.
|
inline |
|
inline |
String conversion
Definition at line 114 of file G4AnyType.hh.
|
inline |
Query
Definition at line 106 of file G4AnyType.hh.
|
friend |
|
private |
representation
Definition at line 176 of file G4AnyType.hh.