Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::TMetaUtils::TClingLookupHelper Class Reference

Definition at line 160 of file TClingUtils.h.

Public Types

typedef bool(* AutoParse_t) (const char *name)
 
typedef bool(* ExistingTypeCheck_t) (const std::string &tname, std::string &result)
 

Public Member Functions

 TClingLookupHelper (cling::Interpreter &interpreter, TNormalizedCtxt &normCtxt, ExistingTypeCheck_t existingTypeCheck, AutoParse_t autoParse, bool *shuttingDownPtr, const int *pgDebug=nullptr)
 
virtual ~TClingLookupHelper ()
 
bool ExistingTypeCheck (const std::string &tname, std::string &result) override
 Helper routine to ry hard to avoid looking up in the Cling database as this could enduce an unwanted autoparsing.
 
void GetPartiallyDesugaredName (std::string &nameLong) override
 
bool GetPartiallyDesugaredNameWithScopeHandling (const std::string &tname, std::string &result, bool dropstd=true) override
 We assume that we have a simple type: [const] typename[*&][const].
 
bool IsAlreadyPartiallyDesugaredName (const std::string &nondef, const std::string &nameLong) override
 
bool IsDeclaredScope (const std::string &base, bool &isInlined) override
 
void ShuttingDownSignal () override
 
- Public Member Functions inherited from TClassEdit::TInterpreterLookupHelper
 TInterpreterLookupHelper ()
 
virtual ~TInterpreterLookupHelper ()
 

Private Member Functions

bool WantDiags () const
 

Private Attributes

AutoParse_t fAutoParse
 
ExistingTypeCheck_t fExistingTypeCheck
 
cling::Interpreter * fInterpreter
 
boolfInterpreterIsShuttingDownPtr
 
TNormalizedCtxtfNormalizedCtxt
 
const intfPDebug
 

#include </home/sftnight/build/workspace/root-makedoc-v634/rootspi/rdoc/src/v6-34-00-patches/core/clingutils/res/TClingUtils.h>

Inheritance diagram for ROOT::TMetaUtils::TClingLookupHelper:
[legend]

Member Typedef Documentation

◆ AutoParse_t

typedef bool(* ROOT::TMetaUtils::TClingLookupHelper::AutoParse_t) (const char *name)

Definition at line 163 of file TClingUtils.h.

◆ ExistingTypeCheck_t

typedef bool(* ROOT::TMetaUtils::TClingLookupHelper::ExistingTypeCheck_t) (const std::string &tname, std::string &result)

Definition at line 162 of file TClingUtils.h.

Constructor & Destructor Documentation

◆ TClingLookupHelper()

ROOT::TMetaUtils::TClingLookupHelper::TClingLookupHelper ( cling::Interpreter &  interpreter,
TNormalizedCtxt normCtxt,
ExistingTypeCheck_t  existingTypeCheck,
AutoParse_t  autoParse,
bool shuttingDownPtr,
const int pgDebug = nullptr 
)

Definition at line 524 of file TClingUtils.cxx.

◆ ~TClingLookupHelper()

virtual ROOT::TMetaUtils::TClingLookupHelper::~TClingLookupHelper ( )
inlinevirtual

Definition at line 180 of file TClingUtils.h.

Member Function Documentation

◆ ExistingTypeCheck()

bool ROOT::TMetaUtils::TClingLookupHelper::ExistingTypeCheck ( const std::string &  tname,
std::string &  result 
)
overridevirtual

Helper routine to ry hard to avoid looking up in the Cling database as this could enduce an unwanted autoparsing.

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 542 of file TClingUtils.cxx.

◆ GetPartiallyDesugaredName()

void ROOT::TMetaUtils::TClingLookupHelper::GetPartiallyDesugaredName ( std::string &  nameLong)
overridevirtual

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 553 of file TClingUtils.cxx.

◆ GetPartiallyDesugaredNameWithScopeHandling()

bool ROOT::TMetaUtils::TClingLookupHelper::GetPartiallyDesugaredNameWithScopeHandling ( const std::string &  tname,
std::string &  result,
bool  dropstd = true 
)
overridevirtual

We assume that we have a simple type: [const] typename[*&][const].

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 604 of file TClingUtils.cxx.

◆ IsAlreadyPartiallyDesugaredName()

bool ROOT::TMetaUtils::TClingLookupHelper::IsAlreadyPartiallyDesugaredName ( const std::string &  nondef,
const std::string &  nameLong 
)
overridevirtual

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 569 of file TClingUtils.cxx.

◆ IsDeclaredScope()

bool ROOT::TMetaUtils::TClingLookupHelper::IsDeclaredScope ( const std::string &  base,
bool isInlined 
)
overridevirtual

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 585 of file TClingUtils.cxx.

◆ ShuttingDownSignal()

void ROOT::TMetaUtils::TClingLookupHelper::ShuttingDownSignal ( )
overridevirtual

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 687 of file TClingUtils.cxx.

◆ WantDiags()

bool ROOT::TMetaUtils::TClingLookupHelper::WantDiags ( ) const
inlineprivate

Definition at line 172 of file TClingUtils.h.

Member Data Documentation

◆ fAutoParse

AutoParse_t ROOT::TMetaUtils::TClingLookupHelper::fAutoParse
private

Definition at line 169 of file TClingUtils.h.

◆ fExistingTypeCheck

ExistingTypeCheck_t ROOT::TMetaUtils::TClingLookupHelper::fExistingTypeCheck
private

Definition at line 168 of file TClingUtils.h.

◆ fInterpreter

cling::Interpreter* ROOT::TMetaUtils::TClingLookupHelper::fInterpreter
private

Definition at line 166 of file TClingUtils.h.

◆ fInterpreterIsShuttingDownPtr

bool* ROOT::TMetaUtils::TClingLookupHelper::fInterpreterIsShuttingDownPtr
private

Definition at line 170 of file TClingUtils.h.

◆ fNormalizedCtxt

TNormalizedCtxt* ROOT::TMetaUtils::TClingLookupHelper::fNormalizedCtxt
private

Definition at line 167 of file TClingUtils.h.

◆ fPDebug

const int* ROOT::TMetaUtils::TClingLookupHelper::fPDebug
private

Definition at line 171 of file TClingUtils.h.

  • core/clingutils/res/TClingUtils.h
  • core/clingutils/src/TClingUtils.cxx