Logo ROOT  
Reference Guide
ROOT::TMetaUtils::TClingLookupHelper Class Reference

Definition at line 157 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. More...
 
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]. More...
 
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 ()
 
virtual bool ExistingTypeCheck (const std::string &, std::string &)=0
 
virtual void GetPartiallyDesugaredName (std::string &)=0
 
virtual bool GetPartiallyDesugaredNameWithScopeHandling (const std::string &, std::string &, bool=true)=0
 
virtual bool IsAlreadyPartiallyDesugaredName (const std::string &, const std::string &)=0
 
virtual bool IsDeclaredScope (const std::string &, bool &)=0
 
virtual void ShuttingDownSignal ()=0
 

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-v622/rootspi/rdoc/src/v6-22-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 160 of file TClingUtils.h.

◆ ExistingTypeCheck_t

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

Definition at line 159 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 535 of file TClingUtils.cxx.

◆ ~TClingLookupHelper()

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

Definition at line 177 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 553 of file TClingUtils.cxx.

◆ GetPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 564 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 615 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 580 of file TClingUtils.cxx.

◆ IsDeclaredScope()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 596 of file TClingUtils.cxx.

◆ ShuttingDownSignal()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 698 of file TClingUtils.cxx.

◆ WantDiags()

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

Definition at line 169 of file TClingUtils.h.

Member Data Documentation

◆ fAutoParse

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

Definition at line 166 of file TClingUtils.h.

◆ fExistingTypeCheck

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

Definition at line 165 of file TClingUtils.h.

◆ fInterpreter

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

Definition at line 163 of file TClingUtils.h.

◆ fInterpreterIsShuttingDownPtr

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

Definition at line 167 of file TClingUtils.h.

◆ fNormalizedCtxt

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

Definition at line 164 of file TClingUtils.h.

◆ fPDebug

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

Definition at line 168 of file TClingUtils.h.


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