ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4AnyType::Ref< ValueType > Class Template Reference
+ Inheritance diagram for G4AnyType::Ref< ValueType >:
+ Collaboration diagram for G4AnyType::Ref< ValueType >:

Public Member Functions

 Ref (ValueType &value)
 
virtual const std::type_info & TypeInfo () const
 
virtual PlaceholderClone () const
 
virtual voidAddress () const
 
virtual std::string ToString () const
 
virtual void FromString (const std::string &val)
 
template<>
void FromString (const std::string &val)
 
template<>
void FromString (const std::string &val)
 
template<>
void FromString (const std::string &val)
 
- Public Member Functions inherited from G4AnyType::Placeholder
 Placeholder ()
 
virtual ~Placeholder ()
 

Public Attributes

ValueType & fRef
 

Detailed Description

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

Definition at line 142 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 142 of file G4AnyType.hh

Constructor & Destructor Documentation

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

Constructor

Definition at line 145 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 145 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 155 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 155 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 151 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 151 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 165 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 165 of file G4AnyType.hh

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

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

Specializations

Implements G4AnyType::Placeholder.

Definition at line 182 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 182 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 186 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 186 of file G4AnyType.hh

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

FromString

Implements G4AnyType::Placeholder.

Definition at line 191 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 191 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 159 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 159 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 147 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 147 of file G4AnyType.hh

Member Data Documentation

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

representation

Definition at line 170 of file G4AnyType.hh.

View newest version in sPHENIX GitHub at line 170 of file G4AnyType.hh

Referenced by G4AnyType::Ref< ValueType >::Address(), any_cast(), G4AnyType::Ref< ValueType >::Clone(), G4AnyType::Ref< ValueType >::FromString(), and G4AnyType::Ref< ValueType >::ToString().


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