ROOT
6.06/09
Reference Guide
|
Definition at line 32 of file ClassSelectionRule.h.
Public Member Functions | |
ClassSelectionRule (ESelect sel=kYes) | |
ClassSelectionRule (long index, cling::Interpreter &interp, const char *selFileName="", long lineno=-1) | |
ClassSelectionRule (long index, bool inherit, ESelect sel, std::string attributeName, std::string attributeValue, cling::Interpreter &interp, const char *selFileName="", long lineno=-1) | |
void | Print (std::ostream &out) const |
void | AddFieldSelectionRule (const VariableSelectionRule &field) |
bool | HasFieldSelectionRules () const |
const std::list< VariableSelectionRule > & | GetFieldSelectionRules () const |
void | AddMethodSelectionRule (const FunctionSelectionRule &method) |
bool | HasMethodSelectionRules () const |
const std::list< FunctionSelectionRule > & | GetMethodSelectionRules () const |
bool | IsInheritable () const |
void | SetInheritable (bool inherit) |
void | SetRequestStreamerInfo (bool needStreamerInfo) |
void | SetRequestNoStreamer (bool noStreamer) |
void | SetRequestNoInputOperator (bool excl) |
void | SetRequestOnlyTClass (bool val) |
void | SetRequestProtected (bool val) |
void | SetRequestPrivate (bool val) |
void | SetRequestedVersionNumber (int version) |
bool | RequestOnlyTClass () const |
bool | RequestNoStreamer () const |
bool | RequestNoInputOperator () const |
bool | RequestStreamerInfo () const |
bool | RequestProtected () const |
bool | RequestPrivate () const |
int | RequestedVersionNumber () const |
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 void | DebugPrint () const |
long | GetIndex () const |
void | SetIndex (long index) |
long | GetLineNumber () const |
const char * | GetSelFileName () const |
bool | HasAttributeWithName (const std::string &attributeName) const |
void | FillCache () |
bool | GetAttributeValue (const std::string &attributeName, std::string &returnValue) const |
const std::string & | GetAttributeName () const |
bool | HasAttributeName () const |
const std::string & | GetAttributeProtoName () const |
bool | HasAttributeProtoName () const |
const std::string & | GetAttributePattern () const |
bool | HasAttributePattern () const |
const std::string & | GetAttributeProtoPattern () const |
bool | HasAttributeProtoPattern () const |
const std::string & | GetAttributeFileName () const |
bool | HasAttributeFileName () const |
const std::string & | GetAttributeFilePattern () const |
bool | HasAttributeFilePattern () const |
bool | IsFromTypedef () const |
bool | HasAttributeFromTypedef () const |
const std::string & | GetAttributeNArgsToKeep () const |
void | SetAttributeValue (const std::string &attributeName, const std::string &attributeValue) |
ESelect | GetSelected () const |
void | SetSelected (ESelect sel) |
bool | HasInterpreter () const |
void | SetInterpreter (cling::Interpreter &interp) |
const AttributesMap_t & | GetAttributes () const |
void | PrintAttributes (int level) const |
void | PrintAttributes (std::ostream &out, int level) const |
EMatchType | Match (const clang::NamedDecl *decl, const std::string &name, const std::string &prototype, bool isLinkdef) const |
void | SetMatchFound (bool match) |
bool | GetMatchFound () const |
const clang::Type * | GetRequestedType () const |
const clang::CXXRecordDecl * | GetCXXRecordDecl () const |
void | SetCXXRecordDecl (const clang::CXXRecordDecl *decl, const clang::Type *typeptr) |
Private Attributes | |
std::list< VariableSelectionRule > | fFieldSelectionRules |
std::list< FunctionSelectionRule > | fMethodSelectionRules |
bool | fIsInheritable |
bool | fRequestStreamerInfo |
bool | fRequestNoStreamer |
bool | fRequestNoInputOperator |
bool | fRequestOnlyTClass |
bool | fRequestProtected |
bool | fRequestPrivate |
int | fRequestedVersionNumber |
Additional Inherited Members | |
Public Types inherited from BaseSelectionRule | |
enum | ESelect { kYes, kNo, kDontCare } |
enum | EMatchType { kName, kPattern, kFile, kNoMatch } |
typedef std::unordered_map< std::string, std::string > | AttributesMap_t |
Static Protected Member Functions inherited from BaseSelectionRule | |
static bool | BeginsWithStar (const std::string &pattern) |
static bool | CheckPattern (const std::string &test, const std::string &pattern, const std::list< std::string > &patterns_list, bool isLinkdef) |
static bool | EndsWithStar (const std::string &pattern) |
static void | ProcessPattern (const std::string &pattern, std::list< std::string > &out) |
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.
Referenced by XMLReader::Parse().
void ClassSelectionRule::AddMethodSelectionRule | ( | const FunctionSelectionRule & | method | ) |
Definition at line 37 of file ClassSelectionRule.cxx.
Referenced by XMLReader::Parse().
const std::list< VariableSelectionRule > & ClassSelectionRule::GetFieldSelectionRules | ( | ) | const |
Definition at line 32 of file ClassSelectionRule.cxx.
Referenced by Print().
const std::list< FunctionSelectionRule > & ClassSelectionRule::GetMethodSelectionRules | ( | ) | const |
Definition at line 95 of file ClassSelectionRule.cxx.
Referenced by Print().
bool ClassSelectionRule::HasFieldSelectionRules | ( | ) | const |
Definition at line 26 of file ClassSelectionRule.cxx.
Referenced by Print().
bool ClassSelectionRule::HasMethodSelectionRules | ( | ) | const |
Definition at line 42 of file ClassSelectionRule.cxx.
Referenced by Print().
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.
Referenced by RScanner::TreatRecordDeclOrTypedefNameDecl().
bool ClassSelectionRule::RequestNoInputOperator | ( | ) | const |
Definition at line 130 of file ClassSelectionRule.cxx.
Referenced by RScanner::TreatRecordDeclOrTypedefNameDecl().
bool ClassSelectionRule::RequestNoStreamer | ( | ) | const |
Definition at line 120 of file ClassSelectionRule.cxx.
Referenced by RScanner::TreatRecordDeclOrTypedefNameDecl().
bool ClassSelectionRule::RequestOnlyTClass | ( | ) | const |
Definition at line 160 of file ClassSelectionRule.cxx.
Referenced by RScanner::TreatRecordDeclOrTypedefNameDecl(), and RScanner::VisitNamespaceDecl().
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.
Referenced by RScanner::TreatRecordDeclOrTypedefNameDecl().
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.
Referenced by XMLReader::Parse().
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.
Referenced by AddFieldSelectionRule(), GetFieldSelectionRules(), and HasFieldSelectionRules().
|
private |
Definition at line 37 of file ClassSelectionRule.h.
Referenced by IsInheritable(), and SetInheritable().
|
private |
Definition at line 36 of file ClassSelectionRule.h.
Referenced by AddMethodSelectionRule(), GetMethodSelectionRules(), and HasMethodSelectionRules().
|
private |
Definition at line 45 of file ClassSelectionRule.h.
Referenced by RequestedVersionNumber(), and SetRequestedVersionNumber().
|
private |
Definition at line 41 of file ClassSelectionRule.h.
Referenced by RequestNoInputOperator(), and SetRequestNoInputOperator().
|
private |
Definition at line 40 of file ClassSelectionRule.h.
Referenced by RequestNoStreamer(), and SetRequestNoStreamer().
|
private |
Definition at line 42 of file ClassSelectionRule.h.
Referenced by RequestOnlyTClass(), and SetRequestOnlyTClass().
|
private |
Definition at line 44 of file ClassSelectionRule.h.
Referenced by RequestPrivate(), and SetRequestPrivate().
|
private |
Definition at line 43 of file ClassSelectionRule.h.
Referenced by RequestProtected(), and SetRequestProtected().
|
private |
Definition at line 39 of file ClassSelectionRule.h.
Referenced by RequestStreamerInfo(), and SetRequestStreamerInfo().