ROOT 6.18/05 Reference Guide |
Definition at line 32 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 |
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_t & | GetAttributes () 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 |
virtual void | Print (std::ostream &out) const =0 |
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< VariableSelectionRule > | fFieldSelectionRules |
bool | fIsInheritable |
std::list< FunctionSelectionRule > | fMethodSelectionRules |
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 |
Definition at line 49 of file ClassSelectionRule.h.
|
inline |
Definition at line 52 of file ClassSelectionRule.h.
|
inline |
Definition at line 55 of file ClassSelectionRule.h.
void ClassSelectionRule::AddFieldSelectionRule | ( | const VariableSelectionRule & | field | ) |
Definition at line 21 of file ClassSelectionRule.cxx.
void ClassSelectionRule::AddMethodSelectionRule | ( | const FunctionSelectionRule & | method | ) |
Definition at line 37 of file ClassSelectionRule.cxx.
const std::list< VariableSelectionRule > & ClassSelectionRule::GetFieldSelectionRules | ( | ) | const |
Definition at line 32 of file ClassSelectionRule.cxx.
const std::list< FunctionSelectionRule > & ClassSelectionRule::GetMethodSelectionRules | ( | ) | const |
Definition at line 95 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::HasFieldSelectionRules | ( | ) | const |
Definition at line 26 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::HasMethodSelectionRules | ( | ) | const |
Definition at line 42 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::IsInheritable | ( | ) | const |
Definition at line 100 of file ClassSelectionRule.cxx.
|
virtual |
Implements BaseSelectionRule.
Definition at line 47 of file ClassSelectionRule.cxx.
int ClassSelectionRule::RequestedVersionNumber | ( | ) | const |
Definition at line 175 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestNoInputOperator | ( | ) | const |
Definition at line 130 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestNoStreamer | ( | ) | const |
Definition at line 120 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestOnlyTClass | ( | ) | const |
Definition at line 160 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestPrivate | ( | ) | const |
Definition at line 170 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestProtected | ( | ) | const |
Definition at line 165 of file ClassSelectionRule.cxx.
bool ClassSelectionRule::RequestStreamerInfo | ( | ) | const |
Definition at line 110 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetInheritable | ( | bool | inherit | ) |
Definition at line 105 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestedVersionNumber | ( | int | version | ) |
Definition at line 155 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestNoInputOperator | ( | bool | excl | ) |
Definition at line 135 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestNoStreamer | ( | bool | noStreamer | ) |
Definition at line 125 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestOnlyTClass | ( | bool | val | ) |
Definition at line 140 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestPrivate | ( | bool | val | ) |
Definition at line 150 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestProtected | ( | bool | val | ) |
Definition at line 145 of file ClassSelectionRule.cxx.
void ClassSelectionRule::SetRequestStreamerInfo | ( | bool | needStreamerInfo | ) |
Definition at line 115 of file ClassSelectionRule.cxx.
|
private |
Definition at line 35 of file ClassSelectionRule.h.
|
private |
Definition at line 37 of file ClassSelectionRule.h.
|
private |
Definition at line 36 of file ClassSelectionRule.h.
|
private |
Definition at line 45 of file ClassSelectionRule.h.
|
private |
Definition at line 41 of file ClassSelectionRule.h.
|
private |
Definition at line 40 of file ClassSelectionRule.h.
|
private |
Definition at line 42 of file ClassSelectionRule.h.
|
private |
Definition at line 44 of file ClassSelectionRule.h.
|
private |
Definition at line 43 of file ClassSelectionRule.h.
|
private |
Definition at line 39 of file ClassSelectionRule.h.