Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ClassSelectionRule Class Referencefinal

Definition at line 33 of file ClassSelectionRule.h.

Public Member Functions

 ClassSelectionRule (ESelect sel=kYes)
 
 ClassSelectionRule (long index, bool inherit, ESelect sel, std::string attributeName, std::string attributeValue, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)
 
 ClassSelectionRule (long index, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)
 
void AddFieldSelectionRule (const VariableSelectionRule &field)
 
void AddMethodSelectionRule (const FunctionSelectionRule &method)
 
const std::list< VariableSelectionRule > & GetFieldSelectionRules () const
 
const std::list< FunctionSelectionRule > & GetMethodSelectionRules () const
 
bool HasFieldSelectionRules () const
 
bool HasMethodSelectionRules () const
 
bool IsInheritable () const
 
void Print (std::ostream &out) const final
 
int RequestedVersionNumber () const
 
bool RequestNoInputOperator () const
 
bool RequestNoStreamer () const
 
bool RequestOnlyTClass () const
 
bool RequestPrivate () const
 
bool RequestProtected () const
 
bool RequestStreamerInfo () const
 
void SetInheritable (bool inherit)
 
void SetRequestedVersionNumber (int version)
 
void SetRequestNoInputOperator (bool excl)
 
void SetRequestNoStreamer (bool noStreamer)
 
void SetRequestOnlyTClass (bool val)
 
void SetRequestPrivate (bool val)
 
void SetRequestProtected (bool val)
 
void SetRequestStreamerInfo (bool needStreamerInfo)
 
- Public Member Functions inherited from BaseSelectionRule
 BaseSelectionRule (ESelect sel)
 
 BaseSelectionRule (long index, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)
 
 BaseSelectionRule (long index, ESelect sel, const std::string &attributeName, const std::string &attributeValue, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)
 
virtual ~BaseSelectionRule ()=default
 
virtual void DebugPrint () const
 
void FillCache ()
 
const std::string & GetAttributeFileName () const
 
const std::string & GetAttributeFilePattern () const
 
const std::string & GetAttributeName () const
 
const std::string & GetAttributeNArgsToKeep () const
 
const std::string & GetAttributePattern () const
 
const std::string & GetAttributeProtoName () const
 
const std::string & GetAttributeProtoPattern () const
 
const AttributesMap_tGetAttributes () const
 
bool GetAttributeValue (const std::string &attributeName, std::string &returnValue) const
 
const clang::CXXRecordDecl * GetCXXRecordDecl () const
 
long GetIndex () const
 
long GetLineNumber () const
 
bool GetMatchFound () const
 
const clang::Type * GetRequestedType () const
 
ESelect GetSelected () const
 
const char * GetSelFileName () const
 
bool HasAttributeFileName () const
 
bool HasAttributeFilePattern () const
 
bool HasAttributeFromTypedef () const
 
bool HasAttributeName () const
 
bool HasAttributePattern () const
 
bool HasAttributeProtoName () const
 
bool HasAttributeProtoPattern () const
 
bool HasAttributeWithName (const std::string &attributeName) const
 
bool HasInterpreter () const
 
bool IsFromTypedef () const
 
EMatchType Match (const clang::NamedDecl *decl, const std::string &name, const std::string &prototype, bool isLinkdef) const
 
void PrintAttributes (int level) const
 
void PrintAttributes (std::ostream &out, int level) const
 
void SetAttributeValue (const std::string &attributeName, const std::string &attributeValue)
 
void SetCXXRecordDecl (const clang::CXXRecordDecl *decl, const clang::Type *typeptr)
 
void SetIndex (long index)
 
void SetInterpreter (cling::Interpreter &interp)
 
void SetMatchFound (bool match)
 
void SetSelected (ESelect sel)
 

Private Attributes

std::list< VariableSelectionRulefFieldSelectionRules
 
bool fIsInheritable
 
std::list< FunctionSelectionRulefMethodSelectionRules
 
int fRequestedVersionNumber
 
bool fRequestNoInputOperator
 
bool fRequestNoStreamer
 
bool fRequestOnlyTClass
 
bool fRequestPrivate
 
bool fRequestProtected
 
bool fRequestStreamerInfo
 

Additional Inherited Members

- Public Types inherited from BaseSelectionRule
typedef std::unordered_map< std::string, std::string > AttributesMap_t
 
enum  EMatchType { kName , kPattern , kFile , kNoMatch }
 
enum  ESelect { kYes , kNo , kDontCare }
 
- Protected Member Functions inherited from BaseSelectionRule
bool CheckPattern (const std::string &test, const std::string &pattern, const std::list< std::string > &patterns_list, bool isLinkdef) const
 
void ProcessPattern (const std::string &pattern, std::list< std::string > &out) const
 

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

Inheritance diagram for ClassSelectionRule:
[legend]

Constructor & Destructor Documentation

◆ ClassSelectionRule() [1/3]

ClassSelectionRule::ClassSelectionRule ( ESelect  sel = kYes)
inline

Definition at line 50 of file ClassSelectionRule.h.

◆ ClassSelectionRule() [2/3]

ClassSelectionRule::ClassSelectionRule ( long  index,
cling::Interpreter &  interp,
const char *  selFileName = "",
long  lineno = -1 
)
inline

Definition at line 53 of file ClassSelectionRule.h.

◆ ClassSelectionRule() [3/3]

ClassSelectionRule::ClassSelectionRule ( long  index,
bool  inherit,
ESelect  sel,
std::string  attributeName,
std::string  attributeValue,
cling::Interpreter &  interp,
const char *  selFileName = "",
long  lineno = -1 
)
inline

Definition at line 56 of file ClassSelectionRule.h.

Member Function Documentation

◆ AddFieldSelectionRule()

void ClassSelectionRule::AddFieldSelectionRule ( const VariableSelectionRule field)

Definition at line 21 of file ClassSelectionRule.cxx.

◆ AddMethodSelectionRule()

void ClassSelectionRule::AddMethodSelectionRule ( const FunctionSelectionRule method)

Definition at line 37 of file ClassSelectionRule.cxx.

◆ GetFieldSelectionRules()

const std::list< VariableSelectionRule > & ClassSelectionRule::GetFieldSelectionRules ( ) const

Definition at line 32 of file ClassSelectionRule.cxx.

◆ GetMethodSelectionRules()

const std::list< FunctionSelectionRule > & ClassSelectionRule::GetMethodSelectionRules ( ) const

Definition at line 95 of file ClassSelectionRule.cxx.

◆ HasFieldSelectionRules()

bool ClassSelectionRule::HasFieldSelectionRules ( ) const

Definition at line 26 of file ClassSelectionRule.cxx.

◆ HasMethodSelectionRules()

bool ClassSelectionRule::HasMethodSelectionRules ( ) const

Definition at line 42 of file ClassSelectionRule.cxx.

◆ IsInheritable()

bool ClassSelectionRule::IsInheritable ( ) const

Definition at line 100 of file ClassSelectionRule.cxx.

◆ Print()

void ClassSelectionRule::Print ( std::ostream &  out) const
finalvirtual

Implements BaseSelectionRule.

Definition at line 47 of file ClassSelectionRule.cxx.

◆ RequestedVersionNumber()

int ClassSelectionRule::RequestedVersionNumber ( ) const

Definition at line 175 of file ClassSelectionRule.cxx.

◆ RequestNoInputOperator()

bool ClassSelectionRule::RequestNoInputOperator ( ) const

Definition at line 130 of file ClassSelectionRule.cxx.

◆ RequestNoStreamer()

bool ClassSelectionRule::RequestNoStreamer ( ) const

Definition at line 120 of file ClassSelectionRule.cxx.

◆ RequestOnlyTClass()

bool ClassSelectionRule::RequestOnlyTClass ( ) const

Definition at line 160 of file ClassSelectionRule.cxx.

◆ RequestPrivate()

bool ClassSelectionRule::RequestPrivate ( ) const

Definition at line 170 of file ClassSelectionRule.cxx.

◆ RequestProtected()

bool ClassSelectionRule::RequestProtected ( ) const

Definition at line 165 of file ClassSelectionRule.cxx.

◆ RequestStreamerInfo()

bool ClassSelectionRule::RequestStreamerInfo ( ) const

Definition at line 110 of file ClassSelectionRule.cxx.

◆ SetInheritable()

void ClassSelectionRule::SetInheritable ( bool  inherit)

Definition at line 105 of file ClassSelectionRule.cxx.

◆ SetRequestedVersionNumber()

void ClassSelectionRule::SetRequestedVersionNumber ( int  version)

Definition at line 155 of file ClassSelectionRule.cxx.

◆ SetRequestNoInputOperator()

void ClassSelectionRule::SetRequestNoInputOperator ( bool  excl)

Definition at line 135 of file ClassSelectionRule.cxx.

◆ SetRequestNoStreamer()

void ClassSelectionRule::SetRequestNoStreamer ( bool  noStreamer)

Definition at line 125 of file ClassSelectionRule.cxx.

◆ SetRequestOnlyTClass()

void ClassSelectionRule::SetRequestOnlyTClass ( bool  val)

Definition at line 140 of file ClassSelectionRule.cxx.

◆ SetRequestPrivate()

void ClassSelectionRule::SetRequestPrivate ( bool  val)

Definition at line 150 of file ClassSelectionRule.cxx.

◆ SetRequestProtected()

void ClassSelectionRule::SetRequestProtected ( bool  val)

Definition at line 145 of file ClassSelectionRule.cxx.

◆ SetRequestStreamerInfo()

void ClassSelectionRule::SetRequestStreamerInfo ( bool  needStreamerInfo)

Definition at line 115 of file ClassSelectionRule.cxx.

Member Data Documentation

◆ fFieldSelectionRules

std::list<VariableSelectionRule> ClassSelectionRule::fFieldSelectionRules
private

Definition at line 36 of file ClassSelectionRule.h.

◆ fIsInheritable

bool ClassSelectionRule::fIsInheritable
private

Definition at line 38 of file ClassSelectionRule.h.

◆ fMethodSelectionRules

std::list<FunctionSelectionRule> ClassSelectionRule::fMethodSelectionRules
private

Definition at line 37 of file ClassSelectionRule.h.

◆ fRequestedVersionNumber

int ClassSelectionRule::fRequestedVersionNumber
private

Definition at line 46 of file ClassSelectionRule.h.

◆ fRequestNoInputOperator

bool ClassSelectionRule::fRequestNoInputOperator
private

Definition at line 42 of file ClassSelectionRule.h.

◆ fRequestNoStreamer

bool ClassSelectionRule::fRequestNoStreamer
private

Definition at line 41 of file ClassSelectionRule.h.

◆ fRequestOnlyTClass

bool ClassSelectionRule::fRequestOnlyTClass
private

Definition at line 43 of file ClassSelectionRule.h.

◆ fRequestPrivate

bool ClassSelectionRule::fRequestPrivate
private

Definition at line 45 of file ClassSelectionRule.h.

◆ fRequestProtected

bool ClassSelectionRule::fRequestProtected
private

Definition at line 44 of file ClassSelectionRule.h.

◆ fRequestStreamerInfo

bool ClassSelectionRule::fRequestStreamerInfo
private

Definition at line 40 of file ClassSelectionRule.h.

  • core/dictgen/res/ClassSelectionRule.h
  • core/dictgen/src/ClassSelectionRule.cxx