ROOT » CORE » META » ROOT::TSchemaRuleSet

class ROOT::TSchemaRuleSet: public TObject

Function Members (Methods)

public:
virtual~TSchemaRuleSet()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddRule(ROOT::TSchemaRule* rule, ROOT::TSchemaRuleSet::EConsistencyCheck checkConsistency = kCheckAll, TString* errmsg = 0)
Bool_tAddRules(ROOT::TSchemaRuleSet* rules, ROOT::TSchemaRuleSet::EConsistencyCheck checkConsistency = kCheckAll, TString* errmsg = 0)
virtual voidTObject::AppendPad(Option_t* option = "")
voidAsString(TString& out) const
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const TObjArray*FindRules(const TString& source) const
const ROOT::TSchemaMatch*FindRules(const TString& source, Int_t version) const
const ROOT::TSchemaMatch*FindRules(const TString& source, UInt_t checksum) const
const ROOT::TSchemaMatch*FindRules(const TString& source, Int_t version, UInt_t checksum) const
TClass*GetClass()
UInt_tGetClassCheckSum() const
TStringGetClassName() const
Int_tGetClassVersion() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const TObjArray*GetPersistentRules() const
const TObjArray*GetRules() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasRuleWithSourceClass(const TString& source) const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
ROOT::TSchemaRuleSet&operator=(const ROOT::TSchemaRuleSet&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRemoveRule(ROOT::TSchemaRule* rule)
voidRemoveRules(TObjArray* rules)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetClass(TClass* cls)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
ROOT::TSchemaRuleSetTSchemaRuleSet()
ROOT::TSchemaRuleSetTSchemaRuleSet(const ROOT::TSchemaRuleSet&)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::<anonymous>TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static ROOT::TSchemaRuleSet::EConsistencyCheckkCheckAll
static ROOT::TSchemaRuleSet::EConsistencyCheckkCheckConflict
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::<anonymous>TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static ROOT::TSchemaRuleSet::EConsistencyCheckkNoCheck
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::<anonymous>TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::<anonymous>TObject::kOverwrite
static TObject::<anonymous>TObject::kSingleKey
static TObject::<anonymous>TObject::kWriteDelete
static TObject::<anonymous>TObject::kZombie
private:
TObjArray*fAllRules! Array of all rules
UInt_tfCheckSumTarget class checksum
TClassReffClass! Target class pointer (for consistency checking)
TStringfClassNameTarget class name
TObjArray*fPersistentRulesArray of the rules that will be embeded in the file
TObjArray*fRemainingRules! Array of non-persisten rules - just for cleanup purposes - owns the elements
Int_tfVersionTarget class version

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TSchemaRuleSet()
 Default constructor.
~TSchemaRuleSet()
 Destructor.
void ls(Option_t* option = "") const
 The ls function lists the contents of a class on stdout. Ls output
 is typically much less verbose then Dump().
Bool_t AddRules(ROOT::TSchemaRuleSet* rules, ROOT::TSchemaRuleSet::EConsistencyCheck checkConsistency = kCheckAll, TString* errmsg = 0)
Bool_t AddRule(ROOT::TSchemaRule* rule, ROOT::TSchemaRuleSet::EConsistencyCheck checkConsistency = kCheckAll, TString* errmsg = 0)
 The consistency check always fails if the TClass object was not set!
 if checkConsistency is:
   kNoCheck: no check is done, register the rule as is
   kCheckConflict: check only for conflicting rules
   kCheckAll: check for conflict and check for rule about members that are not in the current class layout.
 return kTRUE if the layout is accepted, in which case we take ownership of
 the rule object.
 return kFALSE if the rule failed one of the test, the rule now needs to be deleted by the caller.
void AsString(TString& out) const
 Fill the string 'out' with the string representation of the rule.
Bool_t HasRuleWithSourceClass(const TString& source) const
 Return True if we have any rule whose source class is 'source'.
const TObjArray* FindRules(const TString& source) const
 Return all the rules that are about the given 'source' class.
 User has to delete the returned array
const TSchemaMatch* FindRules(const TString& source, Int_t version) const
 Return all the rules that applies to the specified version of the given 'source' class.
 User has to delete the returned array
const TSchemaMatch* FindRules(const TString& source, UInt_t checksum) const
 Return all the rules that applies to the specified checksum of the given 'source' class.
 User has to delete the returned array
const TSchemaMatch* FindRules(const TString& source, Int_t version, UInt_t checksum) const
 Return all the rules that applies to the specified version OR checksum of the given 'source' class.
 User has to delete the returned array
TClass* GetClass()
UInt_t GetClassCheckSum() const
TString GetClassName() const
Int_t GetClassVersion() const
const TObjArray* GetRules() const
const TObjArray* GetPersistentRules() const
void RemoveRule(ROOT::TSchemaRule* rule)
 Remove given rule from the set - the rule is not being deleted!
void RemoveRules(TObjArray* rules)
 remove given array of rules from the set - the rules are not being deleted!
void SetClass(TClass* cls)
 Set the TClass associated with this rule set.
void Streamer(TBuffer& )
 Stream an object of class ROOT::TSchemaRuleSet.
TSchemaRuleSet()