Logo ROOT  
Reference Guide
TClingValue Class Reference

Bridge between cling::Value and ROOT.

Definition at line 34 of file TClingValue.h.

Classes

struct  HasTheSameSizeAsClingValue
 

Public Member Functions

 TClingValue ()
 
 TClingValue (const TClingValue &Other)
 
 ~TClingValue ()
 
Double_t GetAsDouble () const
 
Long_t GetAsLong () const
 
voidGetAsPointer () const
 
ULong_t GetAsUnsignedLong () const
 
voidGetValAddr ()
 
const voidGetValAddr () const
 
Bool_t IsValid () const
 
TClingValueoperator= (TClingValue &Other)
 
std::string ToString () const
 
std::pair< std::string, std::string > ToTypeAndValueString () const
 
- Public Member Functions inherited from TInterpreterValue
 TInterpreterValue ()
 
virtual ~TInterpreterValue ()
 
virtual Double_t GetAsDouble () const =0
 
virtual Long_t GetAsLong () const =0
 
virtual voidGetAsPointer () const =0
 
virtual ULong_t GetAsUnsignedLong () const =0
 
virtual const voidGetValAddr () const =0
 
virtual voidGetValAddr ()=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-v622/rootspi/rdoc/src/v6-22-00-patches/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
virtual

Implements TInterpreterValue.

Definition at line 68 of file TClingValue.cxx.

◆ GetAsLong()

Long_t TClingValue::GetAsLong ( ) const
virtual

Implements TInterpreterValue.

Definition at line 72 of file TClingValue.cxx.

◆ GetAsPointer()

void * TClingValue::GetAsPointer ( ) const
virtual

Implements TInterpreterValue.

Definition at line 80 of file TClingValue.cxx.

◆ GetAsUnsignedLong()

ULong_t TClingValue::GetAsUnsignedLong ( ) const
virtual

Implements TInterpreterValue.

Definition at line 76 of file TClingValue.cxx.

◆ GetValAddr() [1/2]

void * TClingValue::GetValAddr ( )
inlinevirtual

Implements TInterpreterValue.

Definition at line 55 of file TClingValue.h.

◆ GetValAddr() [2/2]

const void * TClingValue::GetValAddr ( ) const
inlinevirtual

Implements TInterpreterValue.

Definition at line 54 of file TClingValue.h.

◆ IsValid()

Bool_t TClingValue::IsValid ( ) const
virtual

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 43 of file TClingValue.h.

◆ ToCV() [2/2]

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

Definition at line 45 of file TClingValue.h.

◆ ToString()

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

Implements TInterpreterValue.

Definition at line 84 of file TClingValue.cxx.

◆ ToTypeAndValueString()

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

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: