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

Definition at line 25 of file VariableSelectionRule.h.

Public Member Functions

 VariableSelectionRule (ESelect sel)
 
 VariableSelectionRule (long index, cling::Interpreter &interp, const char *selFileName="", long lineno=-1)
 
 VariableSelectionRule (long index, ESelect sel, std::string attributeName, std::string attributeValue, cling::Interpreter &interp, const char *selFileName="", long lineno=1)
 
void Print (std::ostream &out) const final
 
- 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)
 

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-master/rootspi/rdoc/src/master/core/dictgen/res/VariableSelectionRule.h>

Inheritance diagram for VariableSelectionRule:
[legend]

Constructor & Destructor Documentation

◆ VariableSelectionRule() [1/3]

VariableSelectionRule::VariableSelectionRule ( ESelect  sel)
inline

Definition at line 28 of file VariableSelectionRule.h.

◆ VariableSelectionRule() [2/3]

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

Definition at line 29 of file VariableSelectionRule.h.

◆ VariableSelectionRule() [3/3]

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

Definition at line 30 of file VariableSelectionRule.h.

Member Function Documentation

◆ Print()

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

Implements BaseSelectionRule.

Definition at line 21 of file VariableSelectionRule.cxx.

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