4#ifndef ROOT_TSchemaRuleSet 
    5#define ROOT_TSchemaRuleSet 
   24      class TMatches: 
public std::vector<const TSchemaRule*>
 
   27         operator bool() { 
return !empty(); }
 
#define ClassDef(name, id)
 
const TSchemaRule * GetRuleWithSource(const TString &name) const
Return the rule that has 'name' as a source.
 
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...
 
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...
 
const TSchemaRule * GetRuleWithTarget(const TString &name) const
Return the rule that has 'name' as a target.
 
TObjArray * fRemainingRules
 
Bool_t AddRules(TSchemaRuleSet *rules, EConsistencyCheck checkConsistency=kCheckAll, TString *errmsg=0)
 
TClassRef fClass
Array of all rules.
 
TString fClassName
Target class pointer (for consistency checking)
 
void RemoveRule(TSchemaRule *rule)
Remove given rule from the set - the rule is not being deleted!
 
const TMatches FindRules(const TString &source) const
Return all the rules that are about the given 'source' class.
 
const TObjArray * GetPersistentRules() const
 
void AsString(TString &out) const
Fill the string 'out' with the string representation of the rule.
 
UInt_t GetClassCheckSum() const
 
void ls(Option_t *option="") const
The ls function lists the contents of a class on stdout.
 
Int_t GetClassVersion() const
 
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...
 
TString GetClassName() const
 
TObjArray * fAllRules
Array of non-persisten rules - just for cleanup purposes - owns the elements.
 
void SetClass(TClass *cls)
Set the TClass associated with this rule set.
 
void RemoveRules(TObjArray *rules)
remove given array of rules from the set - the rules are not being deleted!
 
TObjArray * fPersistentRules
 
const TObjArray * GetRules() const
 
Bool_t HasRuleWithSourceClass(const TString &source) const
Return True if we have any rule whose source class is 'source'.
 
virtual ~TSchemaRuleSet()
Destructor.
 
TSchemaRuleSet()
Default constructor.
 
TClassRef is used to implement a permanent reference to a TClass object.
 
TClass instances represent classes, structs and namespaces in the ROOT type system.
 
Mother of all ROOT objects.