Geant4  10.00.p02
G4AnyType::Ref< ValueType > Class Template Reference
+ Inheritance diagram for G4AnyType::Ref< ValueType >:
+ Collaboration diagram for G4AnyType::Ref< ValueType >:

Public Member Functions

 Ref (ValueType &value)
 Constructor. More...
 
virtual const std::type_info & TypeInfo () const
 Query. More...
 
virtual PlaceholderClone () const
 Clone. More...
 
virtual void * Address () const
 Address. More...
 
virtual std::string ToString () const
 ToString. More...
 
virtual void FromString (const std::string &val)
 FromString. More...
 
template<>
void FromString (const std::string &val)
 FromString. More...
 
template<>
void FromString (const std::string &val)
 FromString. More...
 
template<>
void FromString (const std::string &val)
 FromString. More...
 
- Public Member Functions inherited from G4AnyType::Placeholder
 Placeholder ()
 Constructor. More...
 
virtual ~Placeholder ()
 Destructor. More...
 

Public Attributes

ValueType & fRef
 representation More...
 

Detailed Description

template<typename ValueType>
class G4AnyType::Ref< ValueType >

Definition at line 143 of file G4AnyType.hh.

Constructor & Destructor Documentation

template<typename ValueType >
G4AnyType::Ref< ValueType >::Ref ( ValueType &  value)
inline

Constructor.

Definition at line 146 of file G4AnyType.hh.

Referenced by G4AnyType::Ref< ValueType >::Clone().

+ Here is the caller graph for this function:

Member Function Documentation

template<typename ValueType >
virtual void* G4AnyType::Ref< ValueType >::Address ( ) const
inlinevirtual

Address.

Implements G4AnyType::Placeholder.

Definition at line 156 of file G4AnyType.hh.

References G4AnyType::Ref< ValueType >::fRef.

template<typename ValueType >
virtual Placeholder* G4AnyType::Ref< ValueType >::Clone ( ) const
inlinevirtual

Clone.

Implements G4AnyType::Placeholder.

Definition at line 152 of file G4AnyType.hh.

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

+ Here is the call graph for this function:

template<typename ValueType >
virtual void G4AnyType::Ref< ValueType >::FromString ( const std::string &  val)
inlinevirtual

FromString.

Implements G4AnyType::Placeholder.

Definition at line 166 of file G4AnyType.hh.

References G4AnyType::Ref< ValueType >::fRef.

template<>
void G4AnyType::Ref< bool >::FromString ( const std::string &  val)
inlinevirtual

FromString.

Implements G4AnyType::Placeholder.

Definition at line 183 of file G4AnyType.hh.

References G4UIcommand::ConvertToBool().

+ Here is the call graph for this function:

template<>
void G4AnyType::Ref< G4String >::FromString ( const std::string &  val)
inlinevirtual

FromString.

Implements G4AnyType::Placeholder.

Definition at line 187 of file G4AnyType.hh.

template<>
void G4AnyType::Ref< G4ThreeVector >::FromString ( const std::string &  val)
inlinevirtual

FromString.

Implements G4AnyType::Placeholder.

Definition at line 192 of file G4AnyType.hh.

References G4UIcommand::ConvertTo3Vector().

+ Here is the call graph for this function:

template<typename ValueType >
virtual std::string G4AnyType::Ref< ValueType >::ToString ( ) const
inlinevirtual

ToString.

Implements G4AnyType::Placeholder.

Definition at line 160 of file G4AnyType.hh.

References G4AnyType::Ref< ValueType >::fRef.

template<typename ValueType >
virtual const std::type_info& G4AnyType::Ref< ValueType >::TypeInfo ( ) const
inlinevirtual

Query.

Implements G4AnyType::Placeholder.

Definition at line 148 of file G4AnyType.hh.

Member Data Documentation

template<typename ValueType >
ValueType& G4AnyType::Ref< ValueType >::fRef

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