ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
ClassSelectionRule Class Referencefinal

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_tGetAttributes () 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< VariableSelectionRulefFieldSelectionRules
 
std::list< FunctionSelectionRulefMethodSelectionRules
 
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)
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/core/metautils/src/ClassSelectionRule.h>

+ Inheritance diagram for ClassSelectionRule:
+ Collaboration diagram for ClassSelectionRule:

Constructor & Destructor Documentation

ClassSelectionRule::ClassSelectionRule ( ESelect  sel = kYes)
inline

Definition at line 49 of file ClassSelectionRule.h.

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

Definition at line 52 of file ClassSelectionRule.h.

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 55 of file ClassSelectionRule.h.

Member Function Documentation

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.

void ClassSelectionRule::Print ( std::ostream &  out) const
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
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.

Member Data Documentation

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

Definition at line 37 of file ClassSelectionRule.h.

Referenced by IsInheritable(), and SetInheritable().

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

Definition at line 45 of file ClassSelectionRule.h.

Referenced by RequestedVersionNumber(), and SetRequestedVersionNumber().

bool ClassSelectionRule::fRequestNoInputOperator
private

Definition at line 41 of file ClassSelectionRule.h.

Referenced by RequestNoInputOperator(), and SetRequestNoInputOperator().

bool ClassSelectionRule::fRequestNoStreamer
private

Definition at line 40 of file ClassSelectionRule.h.

Referenced by RequestNoStreamer(), and SetRequestNoStreamer().

bool ClassSelectionRule::fRequestOnlyTClass
private

Definition at line 42 of file ClassSelectionRule.h.

Referenced by RequestOnlyTClass(), and SetRequestOnlyTClass().

bool ClassSelectionRule::fRequestPrivate
private

Definition at line 44 of file ClassSelectionRule.h.

Referenced by RequestPrivate(), and SetRequestPrivate().

bool ClassSelectionRule::fRequestProtected
private

Definition at line 43 of file ClassSelectionRule.h.

Referenced by RequestProtected(), and SetRequestProtected().

bool ClassSelectionRule::fRequestStreamerInfo
private

Definition at line 39 of file ClassSelectionRule.h.

Referenced by RequestStreamerInfo(), and SetRequestStreamerInfo().


The documentation for this class was generated from the following files: