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

Definition at line 158 of file TClingUtils.h.

Public Types

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

Public Member Functions

 TClingLookupHelper (cling::Interpreter &interpreter, TNormalizedCtxt &normCtxt, ExistingTypeCheck_t existingTypeCheck, CheckInClassTable_t CheckInClassTable, AutoParse_t autoParse, bool *shuttingDownPtr, const int *pgDebug=nullptr)
virtual ~TClingLookupHelper ()
bool CheckInClassTable (const std::string &tname, std::string &result) override
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

Private Member Functions

bool WantDiags () const

Private Attributes

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

#include </home/stephan/code/root-2/core/clingutils/res/TClingUtils.h>

Inheritance diagram for ROOT::TMetaUtils::TClingLookupHelper:
TClassEdit::TInterpreterLookupHelper

Member Typedef Documentation

◆ AutoParse_t

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

Definition at line 162 of file TClingUtils.h.

◆ CheckInClassTable_t

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

Definition at line 161 of file TClingUtils.h.

◆ ExistingTypeCheck_t

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

Definition at line 160 of file TClingUtils.h.

Constructor & Destructor Documentation

◆ TClingLookupHelper()

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

Definition at line 534 of file TClingUtils.cxx.

◆ ~TClingLookupHelper()

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

Definition at line 178 of file TClingUtils.h.

Member Function Documentation

◆ CheckInClassTable()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 560 of file TClingUtils.cxx.

◆ 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 551 of file TClingUtils.cxx.

◆ GetPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 573 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 630 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 589 of file TClingUtils.cxx.

◆ IsDeclaredScope()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 608 of file TClingUtils.cxx.

◆ ShuttingDownSignal()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 716 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.

◆ fCheckInClassTable

CheckInClassTable_t ROOT::TMetaUtils::TClingLookupHelper::fCheckInClassTable
private

Definition at line 168 of file TClingUtils.h.

◆ fExistingTypeCheck

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

Definition at line 167 of file TClingUtils.h.

◆ fInterpreter

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

Definition at line 165 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 166 of file TClingUtils.h.

◆ fPDebug

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

Definition at line 171 of file TClingUtils.h.


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