![]() |
ROOT 6.07/09 Reference Guide |
Definition at line 41 of file BaseSelectionRule.h.
Public Types | |
typedef std::unordered_map< std::string, std::string > | AttributesMap_t |
enum | EMatchType { kName, kPattern, kFile, kNoMatch } |
enum | ESelect { kYes, kNo, kDontCare } |
Public Member Functions | |
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 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) |
Protected Member Functions | |
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 |
Private Attributes | |
AttributesMap_t | fAttributes |
const clang::CXXRecordDecl * | fCXXRecordDecl |
std::string | fFileName = "" |
std::string | fFilePattern = "" |
std::list< std::string > | fFileSubPatterns |
bool | fHasFileNameAttribute = false |
bool | fHasFilePatternAttribute = false |
bool | fHasFromTypedefAttribute = false |
bool | fHasNameAttribute = false |
bool | fHasPatternAttribute = false |
bool | fHasProtoNameAttribute = false |
bool | fHasProtoPatternAttribute = false |
long | fIndex |
cling::Interpreter * | fInterp |
bool | fIsFromTypedef = false |
ESelect | fIsSelected |
long | fLineNumber =-1 |
bool | fMatchFound |
std::string | fName = "" |
std::string | fNArgsToKeep = "" |
std::string | fPattern = "" |
std::string | fProtoName = "" |
std::string | fProtoPattern = "" |
const clang::Type * | fRequestedType |
std::string | fSelFileName ="" |
std::list< std::string > | fSubPatterns |
typedef std::unordered_map<std::string, std::string> BaseSelectionRule::AttributesMap_t |
Definition at line 44 of file BaseSelectionRule.h.
Enumerator | |
---|---|
kName | |
kPattern | |
kFile | |
kNoMatch |
Definition at line 51 of file BaseSelectionRule.h.
Enumerator | |
---|---|
kYes | |
kNo | |
kDontCare |
Definition at line 46 of file BaseSelectionRule.h.
|
inline |
Definition at line 90 of file BaseSelectionRule.h.
|
inline |
Definition at line 92 of file BaseSelectionRule.h.
BaseSelectionRule::BaseSelectionRule | ( | long | index, |
BaseSelectionRule::ESelect | sel, | ||
const std::string & | attributeName, | ||
const std::string & | attributeValue, | ||
cling::Interpreter & | interp, | ||
const char * | selFileName = "" , |
||
long | lineno = -1 |
||
) |
Definition at line 89 of file BaseSelectionRule.cxx.
|
inlineprotected |
Definition at line 440 of file BaseSelectionRule.cxx.
|
virtual |
Definition at line 152 of file BaseSelectionRule.cxx.
void BaseSelectionRule::FillCache | ( | ) |
Definition at line 534 of file BaseSelectionRule.cxx.
|
inline |
Definition at line 123 of file BaseSelectionRule.h.
|
inline |
Definition at line 126 of file BaseSelectionRule.h.
|
inline |
Definition at line 111 of file BaseSelectionRule.h.
|
inline |
Definition at line 132 of file BaseSelectionRule.h.
|
inline |
Definition at line 117 of file BaseSelectionRule.h.
|
inline |
Definition at line 114 of file BaseSelectionRule.h.
|
inline |
Definition at line 120 of file BaseSelectionRule.h.
const BaseSelectionRule::AttributesMap_t & BaseSelectionRule::GetAttributes | ( | ) | const |
Definition at line 147 of file BaseSelectionRule.cxx.
bool BaseSelectionRule::GetAttributeValue | ( | const std::string & | attributeName, |
std::string & | returnValue | ||
) | const |
Definition at line 113 of file BaseSelectionRule.cxx.
|
inline |
Definition at line 152 of file BaseSelectionRule.h.
|
inline |
Definition at line 99 of file BaseSelectionRule.h.
|
inline |
Definition at line 102 of file BaseSelectionRule.h.
bool BaseSelectionRule::GetMatchFound | ( | ) | const |
Definition at line 518 of file BaseSelectionRule.cxx.
const clang::Type * BaseSelectionRule::GetRequestedType | ( | ) | const |
Definition at line 523 of file BaseSelectionRule.cxx.
BaseSelectionRule::ESelect BaseSelectionRule::GetSelected | ( | ) | const |
Definition at line 100 of file BaseSelectionRule.cxx.
|
inline |
Definition at line 103 of file BaseSelectionRule.h.
|
inline |
Definition at line 124 of file BaseSelectionRule.h.
|
inline |
Definition at line 127 of file BaseSelectionRule.h.
|
inline |
Definition at line 130 of file BaseSelectionRule.h.
|
inline |
Definition at line 112 of file BaseSelectionRule.h.
|
inline |
Definition at line 118 of file BaseSelectionRule.h.
|
inline |
Definition at line 115 of file BaseSelectionRule.h.
|
inline |
Definition at line 121 of file BaseSelectionRule.h.
bool BaseSelectionRule::HasAttributeWithName | ( | const std::string & | attributeName | ) | const |
Definition at line 105 of file BaseSelectionRule.cxx.
|
inline |
Definition at line 139 of file BaseSelectionRule.h.
|
inline |
Definition at line 129 of file BaseSelectionRule.h.
BaseSelectionRule::EMatchType BaseSelectionRule::Match | ( | const clang::NamedDecl * | decl, |
const std::string & | name, | ||
const std::string & | prototype, | ||
bool | isLinkdef | ||
) | const |
Definition at line 182 of file BaseSelectionRule.cxx.
|
pure virtual |
Implemented in ClassSelectionRule, and VariableSelectionRule.
void BaseSelectionRule::PrintAttributes | ( | int | level | ) | const |
Definition at line 175 of file BaseSelectionRule.cxx.
void BaseSelectionRule::PrintAttributes | ( | std::ostream & | out, |
int | level | ||
) | const |
Definition at line 157 of file BaseSelectionRule.cxx.
|
inlineprotected |
Definition at line 368 of file BaseSelectionRule.cxx.
void BaseSelectionRule::SetAttributeValue | ( | const std::string & | attributeName, |
const std::string & | attributeValue | ||
) |
Definition at line 122 of file BaseSelectionRule.cxx.
void BaseSelectionRule::SetCXXRecordDecl | ( | const clang::CXXRecordDecl * | decl, |
const clang::Type * | typeptr | ||
) |
Definition at line 528 of file BaseSelectionRule.cxx.
|
inline |
Definition at line 100 of file BaseSelectionRule.h.
|
inline |
Definition at line 140 of file BaseSelectionRule.h.
void BaseSelectionRule::SetMatchFound | ( | bool | match | ) |
Definition at line 513 of file BaseSelectionRule.cxx.
void BaseSelectionRule::SetSelected | ( | BaseSelectionRule::ESelect | sel | ) |
Definition at line 95 of file BaseSelectionRule.cxx.
|
private |
Definition at line 62 of file BaseSelectionRule.h.
|
private |
Definition at line 67 of file BaseSelectionRule.h.
|
private |
Definition at line 76 of file BaseSelectionRule.h.
|
private |
Definition at line 77 of file BaseSelectionRule.h.
|
private |
Definition at line 65 of file BaseSelectionRule.h.
|
private |
Definition at line 83 of file BaseSelectionRule.h.
|
private |
Definition at line 84 of file BaseSelectionRule.h.
|
private |
Definition at line 85 of file BaseSelectionRule.h.
|
private |
Definition at line 79 of file BaseSelectionRule.h.
|
private |
Definition at line 81 of file BaseSelectionRule.h.
|
private |
Definition at line 80 of file BaseSelectionRule.h.
|
private |
Definition at line 82 of file BaseSelectionRule.h.
|
private |
Definition at line 59 of file BaseSelectionRule.h.
|
private |
Definition at line 69 of file BaseSelectionRule.h.
|
private |
Definition at line 86 of file BaseSelectionRule.h.
|
private |
Definition at line 63 of file BaseSelectionRule.h.
|
private |
Definition at line 60 of file BaseSelectionRule.h.
|
private |
Definition at line 66 of file BaseSelectionRule.h.
|
private |
Definition at line 72 of file BaseSelectionRule.h.
|
private |
Definition at line 78 of file BaseSelectionRule.h.
|
private |
Definition at line 73 of file BaseSelectionRule.h.
|
private |
Definition at line 74 of file BaseSelectionRule.h.
|
private |
Definition at line 75 of file BaseSelectionRule.h.
|
private |
Definition at line 68 of file BaseSelectionRule.h.
|
private |
Definition at line 61 of file BaseSelectionRule.h.
|
private |
Definition at line 64 of file BaseSelectionRule.h.