Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::TMetaUtils::TClingLookupHelper Class Reference

Definition at line 145 of file TMetaUtils.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, 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)
 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)
 
- 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
 
TNormalizedCtxtfNormalizedCtxt
 
const int * fPDebug
 

#include <TMetaUtils.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 148 of file TMetaUtils.h.

◆ ExistingTypeCheck_t

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

Definition at line 147 of file TMetaUtils.h.

Constructor & Destructor Documentation

◆ TClingLookupHelper()

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

Definition at line 461 of file TMetaUtils.cxx.

◆ ~TClingLookupHelper()

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

Definition at line 163 of file TMetaUtils.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 476 of file TMetaUtils.cxx.

◆ GetPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 487 of file TMetaUtils.cxx.

◆ GetPartiallyDesugaredNameWithScopeHandling()

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

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 538 of file TMetaUtils.cxx.

◆ IsAlreadyPartiallyDesugaredName()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 503 of file TMetaUtils.cxx.

◆ IsDeclaredScope()

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

Implements TClassEdit::TInterpreterLookupHelper.

Definition at line 519 of file TMetaUtils.cxx.

◆ WantDiags()

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

Definition at line 156 of file TMetaUtils.h.

Member Data Documentation

◆ fAutoParse

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

Definition at line 154 of file TMetaUtils.h.

◆ fExistingTypeCheck

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

Definition at line 153 of file TMetaUtils.h.

◆ fInterpreter

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

Definition at line 151 of file TMetaUtils.h.

◆ fNormalizedCtxt

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

Definition at line 152 of file TMetaUtils.h.

◆ fPDebug

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

Definition at line 155 of file TMetaUtils.h.


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