Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TClingDataMemberIter Class Referencefinal

Iterate over VarDecl, FieldDecl, EnumConstantDecl, IndirectFieldDecl, and UsingShadowDecls thereof, within a scope, recursing through "transparent" scopes (see DCIter::HandleInlineDeclContext()).

Definition at line 52 of file TClingDataMemberInfo.h.

Public Member Functions

 TClingDataMemberIter ()=default
 
 TClingDataMemberIter (cling::Interpreter *interp, clang::DeclContext *DC, TDictionary::EMemberSelection selection)
 
- Public Member Functions inherited from TClingMemberIter
 TClingMemberIter ()=default
 
 TClingMemberIter (cling::Interpreter *interp, clang::DeclContext *DC)
 
virtual const clang::Decl * Get () const
 
cling::Interpreter * GetInterpreter () const
 
void Init ()
 
virtual bool IsValid () const
 
bool Next ()
 Advance to next non-skipped; return false if no next decl exists.
 
const clang::Decl * operator* () const
 
const clang::Decl * operator-> () const
 

Protected Member Functions

bool ShouldSkip (const clang::Decl *FD) const final
 
bool ShouldSkip (const clang::UsingShadowDecl *USD) const final
 
- Protected Member Functions inherited from TClingMemberIter
virtual clang::Decl * AdvanceUnfiltered ()
 
virtual const clang::Decl * InstantiateTemplateWithDefaults (const clang::RedeclarableTemplateDecl *TD) const
 

Private Attributes

TDictionary::EMemberSelection fSelection = TDictionary::EMemberSelection::kNoUsingDecls
 

#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/core/metacling/src/TClingDataMemberInfo.h>

Inheritance diagram for TClingDataMemberIter:
[legend]

Constructor & Destructor Documentation

◆ TClingDataMemberIter() [1/2]

TClingDataMemberIter::TClingDataMemberIter ( )
default

◆ TClingDataMemberIter() [2/2]

TClingDataMemberIter::TClingDataMemberIter ( cling::Interpreter *  interp,
clang::DeclContext *  DC,
TDictionary::EMemberSelection  selection 
)
inline

Definition at line 65 of file TClingDataMemberInfo.h.

Member Function Documentation

◆ ShouldSkip() [1/2]

bool TClingDataMemberIter::ShouldSkip ( const clang::Decl *  FD) const
finalprotectedvirtual

Implements TClingMemberIter.

Definition at line 60 of file TClingDataMemberInfo.cxx.

◆ ShouldSkip() [2/2]

bool TClingDataMemberIter::ShouldSkip ( const clang::UsingShadowDecl *  USD) const
finalprotectedvirtual

Reimplemented from TClingMemberIter.

Definition at line 82 of file TClingDataMemberInfo.cxx.

Member Data Documentation

◆ fSelection

Definition at line 53 of file TClingDataMemberInfo.h.

  • core/metacling/src/TClingDataMemberInfo.h
  • core/metacling/src/TClingDataMemberInfo.cxx