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=0)
 
virtual ~TClingLookupHelper ()
 
virtual bool ExistingTypeCheck (const std::string &tname, std::string &result)
 Helper routine to ry hard to avoid looking up in the Cling database as this could enduce an unwanted autoparsing.
 
virtual void GetPartiallyDesugaredName (std::string &nameLong)
 
virtual bool GetPartiallyDesugaredNameWithScopeHandling (const std::string &tname, std::string &result, bool dropstd=true)
 We assume that we have a simple type: [const] typename[*&][const].
 
virtual bool IsAlreadyPartiallyDesugaredName (const std::string &nondef, const std::string &nameLong)
 
virtual bool IsDeclaredScope (const std::string &base, bool &isInlined)
 
virtual void ShuttingDownSignal ()
 
- 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-v624/rootspi/rdoc/src/v6-24-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 = 0 
)

Definition at line 531 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 
)
virtual

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

◆ GetPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 560 of file TClingUtils.cxx.

◆ GetPartiallyDesugaredNameWithScopeHandling()

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

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 611 of file TClingUtils.cxx.

◆ IsAlreadyPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 576 of file TClingUtils.cxx.

◆ IsDeclaredScope()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 592 of file TClingUtils.cxx.

◆ ShuttingDownSignal()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 694 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