ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TClingCallbacks Class Reference

Definition at line 36 of file TClingCallbacks.h.

Public Member Functions

 TClingCallbacks (cling::Interpreter *interp)
 
 ~TClingCallbacks ()
 
void Initialize ()
 
void SetAutoloadingEnabled (bool val=true)
 
bool IsAutoloadingEnabled ()
 
void SetAutoParsingSuspended (bool val=true)
 
bool IsAutoParsingSuspended ()
 
virtual void InclusionDirective (clang::SourceLocation, const clang::Token &, llvm::StringRef FileName, bool, clang::CharSourceRange, const clang::FileEntry *, llvm::StringRef, llvm::StringRef, const clang::Module *)
 
virtual bool FileNotFound (llvm::StringRef FileName, llvm::SmallVectorImpl< char > &RecoveryPath)
 
virtual bool LookupObject (clang::LookupResult &R, clang::Scope *S)
 
virtual bool LookupObject (const clang::DeclContext *DC, clang::DeclarationName Name)
 
virtual bool LookupObject (clang::TagDecl *Tag)
 
virtual void TransactionCommitted (const cling::Transaction &T)
 
virtual void TransactionUnloaded (const cling::Transaction &T)
 
virtual void TransactionRollback (const cling::Transaction &T)
 
virtual void DeclDeserialized (const clang::Decl *D)
 
virtual void LibraryLoaded (const void *dyLibHandle, llvm::StringRef canonicalName)
 
virtual void LibraryUnloaded (const void *dyLibHandle, llvm::StringRef canonicalName)
 

Private Member Functions

bool tryAutoParseInternal (llvm::StringRef Name, clang::LookupResult &R, clang::Scope *S, const clang::FileEntry *FE=0)
 
bool tryFindROOTSpecialInternal (clang::LookupResult &R, clang::Scope *S)
 
bool tryResolveAtRuntimeInternal (clang::LookupResult &R, clang::Scope *S)
 
bool shouldResolveAtRuntime (clang::LookupResult &R, clang::Scope *S)
 
bool tryInjectImplicitAutoKeyword (clang::LookupResult &R, clang::Scope *S)
 

Private Attributes

voidfLastLookupCtx
 
clang::NamespaceDecl * fROOTSpecialNamespace
 
bool fFirstRun
 
bool fIsAutoloading
 
bool fIsAutoloadingRecursively
 
bool fIsAutoParsingSuspended
 
bool fPPOldFlag
 
bool fPPChanged
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/core/meta/src/TClingCallbacks.h>

+ Inheritance diagram for TClingCallbacks:
+ Collaboration diagram for TClingCallbacks:

Constructor & Destructor Documentation

TClingCallbacks::TClingCallbacks ( cling::Interpreter *  interp)

Definition at line 63 of file TClingCallbacks.cxx.

TClingCallbacks::~TClingCallbacks ( )

Definition at line 74 of file TClingCallbacks.cxx.

Member Function Documentation

void TClingCallbacks::DeclDeserialized ( const clang::Decl *  D)
virtual

Definition at line 698 of file TClingCallbacks.cxx.

bool TClingCallbacks::FileNotFound ( llvm::StringRef  FileName,
llvm::SmallVectorImpl< char > &  RecoveryPath 
)
virtual

Definition at line 110 of file TClingCallbacks.cxx.

void TClingCallbacks::InclusionDirective ( clang::SourceLocation  sLoc,
const clang::Token &  ,
llvm::StringRef  FileName,
bool  ,
clang::CharSourceRange  ,
const clang::FileEntry *  FE,
llvm::StringRef  ,
llvm::StringRef  ,
const clang::Module *   
)
virtual

Definition at line 76 of file TClingCallbacks.cxx.

void TClingCallbacks::Initialize ( )

Definition at line 658 of file TClingCallbacks.cxx.

Referenced by TCling::Initialize(), and TransactionCommitted().

bool TClingCallbacks::IsAutoloadingEnabled ( )
inline
bool TClingCallbacks::IsAutoParsingSuspended ( )
inline

Definition at line 57 of file TClingCallbacks.h.

void TClingCallbacks::LibraryLoaded ( const void dyLibHandle,
llvm::StringRef  canonicalName 
)
virtual

Definition at line 711 of file TClingCallbacks.cxx.

void TClingCallbacks::LibraryUnloaded ( const void dyLibHandle,
llvm::StringRef  canonicalName 
)
virtual

Definition at line 716 of file TClingCallbacks.cxx.

virtual bool TClingCallbacks::LookupObject ( clang::LookupResult &  R,
clang::Scope *  S 
)
virtual
virtual bool TClingCallbacks::LookupObject ( const clang::DeclContext *  DC,
clang::DeclarationName  Name 
)
virtual
bool TClingCallbacks::LookupObject ( clang::TagDecl *  Tag)
virtual

Definition at line 268 of file TClingCallbacks.cxx.

void TClingCallbacks::SetAutoloadingEnabled ( bool  val = true)
inline

Definition at line 53 of file TClingCallbacks.h.

Referenced by TCling::SetClassAutoloading().

void TClingCallbacks::SetAutoParsingSuspended ( bool  val = true)
inline

Definition at line 56 of file TClingCallbacks.h.

Referenced by TCling::SetSuspendAutoParsing(), and TCling::TCling().

bool TClingCallbacks::shouldResolveAtRuntime ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 554 of file TClingCallbacks.cxx.

Referenced by tryResolveAtRuntimeInternal().

void TClingCallbacks::TransactionCommitted ( const cling::Transaction &  T)
virtual

Definition at line 673 of file TClingCallbacks.cxx.

void TClingCallbacks::TransactionRollback ( const cling::Transaction &  T)
virtual

Definition at line 691 of file TClingCallbacks.cxx.

void TClingCallbacks::TransactionUnloaded ( const cling::Transaction &  T)
virtual

Definition at line 682 of file TClingCallbacks.cxx.

bool TClingCallbacks::tryAutoParseInternal ( llvm::StringRef  Name,
clang::LookupResult &  R,
clang::Scope *  S,
const clang::FileEntry *  FE = 0 
)
private

Definition at line 317 of file TClingCallbacks.cxx.

Referenced by InclusionDirective().

bool TClingCallbacks::tryFindROOTSpecialInternal ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 421 of file TClingCallbacks.cxx.

bool TClingCallbacks::tryInjectImplicitAutoKeyword ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 602 of file TClingCallbacks.cxx.

bool TClingCallbacks::tryResolveAtRuntimeInternal ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 521 of file TClingCallbacks.cxx.

Member Data Documentation

bool TClingCallbacks::fFirstRun
private

Definition at line 40 of file TClingCallbacks.h.

Referenced by Initialize(), and TransactionCommitted().

bool TClingCallbacks::fIsAutoloading
private

Definition at line 41 of file TClingCallbacks.h.

Referenced by IsAutoloadingEnabled().

bool TClingCallbacks::fIsAutoloadingRecursively
private

Definition at line 42 of file TClingCallbacks.h.

Referenced by InclusionDirective(), LookupObject(), and tryAutoParseInternal().

bool TClingCallbacks::fIsAutoParsingSuspended
private

Definition at line 43 of file TClingCallbacks.h.

Referenced by IsAutoParsingSuspended(), and LookupObject().

void* TClingCallbacks::fLastLookupCtx
private

Definition at line 38 of file TClingCallbacks.h.

Referenced by tryFindROOTSpecialInternal().

bool TClingCallbacks::fPPChanged
private

Definition at line 45 of file TClingCallbacks.h.

Referenced by FileNotFound().

bool TClingCallbacks::fPPOldFlag
private

Definition at line 44 of file TClingCallbacks.h.

Referenced by FileNotFound().

clang::NamespaceDecl* TClingCallbacks::fROOTSpecialNamespace
private

Definition at line 39 of file TClingCallbacks.h.

Referenced by TClingCallbacks(), and tryFindROOTSpecialInternal().


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