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
 
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 ()
 

Private Member Functions

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

Private Attributes

struct TClingValue::HasTheSameSizeAsClingValue fValue
 

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

◆ GetValAddr() [2/2]

const void * TClingValue::GetValAddr ( ) const
inlinevirtual

Implements TInterpreterValue.

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