Geant4  10.02.p01
G4AnyType.hh File Reference
#include <algorithm>
#include <typeinfo>
#include <iostream>
#include <sstream>
#include "G4UIcommand.hh"
+ Include dependency graph for G4AnyType.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4AnyType
 This class represents any data type. More...
 
class  G4AnyType::Placeholder
 
class  G4AnyType::Ref< ValueType >
 
class  G4BadAnyCast
 

Namespaces

 CLHEP
 

Functions

template<typename ValueType >
ValueType * any_cast (G4AnyType *operand)
 value More...
 
template<typename ValueType >
const ValueType * any_cast (const G4AnyType *operand)
 value More...
 
template<typename ValueType >
ValueType any_cast (const G4AnyType &operand)
 value More...
 

Function Documentation

template<typename ValueType >
ValueType* any_cast ( G4AnyType operand)

value

representation

Definition at line 213 of file G4AnyType.hh.

References G4AnyType::fContent, G4AnyType::Ref< ValueType >::fRef, and G4AnyType::TypeInfo().

Referenced by any_cast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename ValueType >
const ValueType* any_cast ( const G4AnyType operand)

value

Definition at line 218 of file G4AnyType.hh.

References any_cast(), and operand().

+ Here is the call graph for this function:

template<typename ValueType >
ValueType any_cast ( const G4AnyType operand)

value

Definition at line 222 of file G4AnyType.hh.

References any_cast(), and operand().

+ Here is the call graph for this function: