Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ()
 

Private Member Functions

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

Private Attributes

struct TClingValue::HasTheSameSizeAsClingValue fValue
 

#include </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-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
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 57 of file TClingValue.h.

◆ GetValAddr() [2/2]

void * TClingValue::GetValAddr ( )
inlineoverridevirtual

Implements TInterpreterValue.

Definition at line 58 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 46 of file TClingValue.h.

◆ ToCV() [2/2]

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

Definition at line 48 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
  • core/metacling/src/TClingValue.h
  • core/metacling/src/TClingValue.cxx