|
ROOT
Reference Guide |
|
Go to the documentation of this file.
4 #ifndef ROOT_TSchemaRuleSet
5 #define ROOT_TSchemaRuleSet
12 #ifdef R__LESS_INCLUDES
28 class TMatches:
public std::vector<const TSchemaRule*>
31 operator bool() {
return !empty(); }
void ls(Option_t *option="") const
The ls function lists the contents of a class on stdout.
virtual ~TSchemaRuleSet()
Destructor.
Bool_t AddRules(TSchemaRuleSet *rules, EConsistencyCheck checkConsistency=kCheckAll, TString *errmsg=0)
Bool_t HasRuleWithSource(const TString &name, Bool_t needingAlloc) const
Return true if the set of rules has at least one rule that has the data member named 'name' as a sour...
TClassRef fClass
Array of all rules.
Bool_t HasRuleWithSourceClass(const TString &source) const
Return True if we have any rule whose source class is 'source'.
TObjArray * fPersistentRules
const TMatches FindRules(const TString &source) const
Return all the rules that are about the given 'source' class.
Bool_t HasRuleWithTarget(const TString &name, Bool_t willset) const
Return true if the set of rules has at least one rule that has the data member named 'name' as a targ...
void AsString(TString &out) const
Fill the string 'out' with the string representation of the rule.
const TObjArray * GetPersistentRules() const
Int_t GetClassVersion() const
void SetClass(TClass *cls)
Set the TClass associated with this rule set.
TString GetClassName() const
const TSchemaRule * GetRuleWithTarget(const TString &name) const
Return the rule that has 'name' as a target.
const TSchemaRule * GetRuleWithSource(const TString &name) const
Return the rule that has 'name' as a source.
TObjArray * fRemainingRules
UInt_t GetClassCheckSum() const
TClass instances represent classes, structs and namespaces in the ROOT type system.
void RemoveRule(TSchemaRule *rule)
Remove given rule from the set - the rule is not being deleted!
Mother of all ROOT objects.
#define ClassDef(name, id)
const TObjArray * GetRules() const
TClassRef is used to implement a permanent reference to a TClass object.
Bool_t AddRule(TSchemaRule *rule, EConsistencyCheck checkConsistency=kCheckAll, TString *errmsg=0)
The consistency check always fails if the TClass object was not set! if checkConsistency is: kNoCheck...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
void RemoveRules(TObjArray *rules)
remove given array of rules from the set - the rules are not being deleted!
TString fClassName
Target class pointer (for consistency checking)
TObjArray * fAllRules
Array of non-persisten rules - just for cleanup purposes - owns the elements.
TSchemaRuleSet()
Default constructor.