Logo ROOT  
Reference Guide
TClingValue Class Reference

Bridge between cling::Value and ROOT.

Definition at line 36 of file TClingValue.h.

Classes

struct  HasTheSameSizeAsClingValue
 

Public Member Functions

 TClingValue ()
 
 TClingValue (const TClingValue &Other)
 
 ~TClingValue ()
 
Double_t GetAsDouble () const override
 
Long_t GetAsLong () const override
 
void * GetAsPointer () const override
 
ULong_t GetAsUnsignedLong () const override
 
const void * GetValAddr () const override
 
void * GetValAddr () override
 
Bool_t IsValid () const override
 
TClingValueoperator= (TClingValue &Other)
 
std::string ToString () const override
 
std::pair< std::string, std::string > ToTypeAndValueString () const override
 
- Public Member Functions inherited from TInterpreterValue
 TInterpreterValue ()
 
virtual ~TInterpreterValue ()
 
virtual Double_t GetAsDouble () const =0
 
virtual Long_t GetAsLong () const =0
 
virtual void * GetAsPointer () const =0
 
virtual ULong_t GetAsUnsignedLong () const =0
 
virtual const void * GetValAddr () const =0
 
virtual void * GetValAddr ()=0
 
virtual Bool_t IsValid () const =0
 
virtual std::string ToString () const =0
 
virtual std::pair< std::string, std::string > ToTypeAndValueString () const =0
 

Private Member Functions

cling::Value & ToCV ()
 
const cling::Value & ToCV () const
 

Private Attributes

struct TClingValue::HasTheSameSizeAsClingValue fValue
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/core/metacling/src/TClingValue.h>

Inheritance diagram for TClingValue:
[legend]

Constructor & Destructor Documentation

◆ TClingValue() [1/2]

TClingValue::TClingValue ( )

Definition at line 23 of file TClingValue.cxx.

◆ TClingValue() [2/2]

TClingValue::TClingValue ( const TClingValue Other)

Definition at line 30 of file TClingValue.cxx.

◆ ~TClingValue()

TClingValue::~TClingValue ( )

Definition at line 37 of file TClingValue.cxx.

Member Function Documentation

◆ GetAsDouble()

Double_t TClingValue::GetAsDouble ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 68 of file TClingValue.cxx.

◆ GetAsLong()

Long_t TClingValue::GetAsLong ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 72 of file TClingValue.cxx.

◆ GetAsPointer()

void * TClingValue::GetAsPointer ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 80 of file TClingValue.cxx.

◆ GetAsUnsignedLong()

ULong_t TClingValue::GetAsUnsignedLong ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 76 of file TClingValue.cxx.

◆ GetValAddr() [1/2]

const void * TClingValue::GetValAddr ( ) const
inlineoverridevirtual

Implements TInterpreterValue.

Definition at line 56 of file TClingValue.h.

◆ GetValAddr() [2/2]

void * TClingValue::GetValAddr ( )
inlineoverridevirtual

Implements TInterpreterValue.

Definition at line 57 of file TClingValue.h.

◆ IsValid()

Bool_t TClingValue::IsValid ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 64 of file TClingValue.cxx.

◆ operator=()

TClingValue & TClingValue::operator= ( TClingValue Other)

Definition at line 41 of file TClingValue.cxx.

◆ ToCV() [1/2]

cling::Value & TClingValue::ToCV ( )
inlineprivate

Definition at line 45 of file TClingValue.h.

◆ ToCV() [2/2]

const cling::Value & TClingValue::ToCV ( ) const
inlineprivate

Definition at line 47 of file TClingValue.h.

◆ ToString()

std::string TClingValue::ToString ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 84 of file TClingValue.cxx.

◆ ToTypeAndValueString()

std::pair< std::string, std::string > TClingValue::ToTypeAndValueString ( ) const
overridevirtual

Implements TInterpreterValue.

Definition at line 47 of file TClingValue.cxx.

Member Data Documentation

◆ fValue

struct TClingValue::HasTheSameSizeAsClingValue TClingValue::fValue
private

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