ROOT logo
ROOT » CORE » META » ROOT::TSchemaRule

class ROOT::TSchemaRule: public TObject

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
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
Bool_tConflicts(const ROOT::TSchemaRule* rule) 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
TStringGetCode() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Bool_tGetEmbed() const
virtual const char*TObject::GetIconName() const
const TObjArray*GetInclude() 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
ROOT::TSchemaRule::ReadFuncPtr_tGetReadFunctionPointer() const
ROOT::TSchemaRule::ReadRawFuncPtr_tGetReadRawFunctionPointer() const
ROOT::TSchemaRule::RuleType_tGetRuleType() const
const TObjArray*GetSource() const
TStringGetSourceClass() const
const TObjArray*GetTarget() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasSource(const TString& source) const
Bool_tHasTarget(const TString& target) 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
Bool_tIsAliasRule() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsRenameRule() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsValid() const
Bool_tTObject::IsZombie() const
virtual voidls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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::TSchemaRule&operator=(const ROOT::TSchemaRule& rhs)
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)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tSetChecksum(const TString& checksum)
voidSetCode(const TString& code)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEmbed(Bool_t embed)
voidSetInclude(const TString& include)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetReadFunctionPointer(ROOT::TSchemaRule::ReadFuncPtr_t ptr)
voidSetReadRawFunctionPointer(ROOT::TSchemaRule::ReadRawFuncPtr_t ptr)
voidSetRuleType(ROOT::TSchemaRule::RuleType_t type)
voidSetSource(const TString& source)
voidSetSourceClass(const TString& classname)
voidSetTarget(const TString& target)
virtual voidTObject::SetUniqueID(UInt_t uid)
Bool_tSetVersion(const TString& version)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
Bool_tTestChecksum(UInt_t checksum) const
Bool_tTestVersion(Int_t version) const
ROOT::TSchemaRuleTSchemaRule(const ROOT::TSchemaRule& rhs)
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
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Bool_tProcessChecksum(const TString& checksum) const
static voidProcessDeclaration(TObjArray* array, const TString& list)
static voidProcessList(TObjArray* array, const TString& list)
Bool_tProcessVersion(const TString& version) const

Data Members

enum RuleType_t { kReadRule
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
TStringfChecksumSource checksum string
vector<UInt_t>*fChecksumVect! Source checksum vector (for searching purposes)
TStringfCodeUser specified code snippet
Bool_tfEmbedValue determining if the rule should be embedded
TStringfIncludeIncludes string
TObjArray*fIncludeVect! Includes vector
ROOT::TSchemaRule::ReadFuncPtr_tfReadFuncPtr! Conversion function pointer for read rule
ROOT::TSchemaRule::ReadRawFuncPtr_tfReadRawFuncPtr! Conversion function pointer for readraw rule
ROOT::TSchemaRule::RuleType_tfRuleTypeType of the rule
TStringfSourceSource data member string
TStringfSourceClassSource clss
TObjArray*fSourceVect! Source data member vector (for searching purposes)
TStringfTargetTarget data mamber string
TObjArray*fTargetVect! Target data member vector (for searching purposes)
TStringfVersionSource version string
vector<std::pair<Int_t,Int_t> >*fVersionVect! Source version vector (for searching purposes)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

 Default Constructor.
TSchemaRule(const ROOT::TSchemaRule& rhs)
 Copy Constructor.
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 SetVersion(const TString& version)
 Set the version string - returns kFALSE if the format is incorrect
Bool_t TestVersion(Int_t version) const
 Check if given version number is defined in this rule
Bool_t SetChecksum(const TString& checksum)
 Set the checksum string - returns kFALSE if the format is incorrect
Bool_t TestChecksum(UInt_t checksum) const
 Check if given checksum is defined in this rule
void SetSourceClass(const TString& classname)
 Set the source class of this rule (i.e. the onfile class).
TString GetSourceClass() const
 Set the source class of this rule (i.e. the onfile class).
void SetTarget(const TString& target)
 Set the target class of this rule (i.e. the in memory class).
const TObjArray* GetTarget() const
 Get the target class of this rule (i.e. the in memory class).
void SetSource(const TString& source)
 Set the list of source members.  This should be in the form of a declaration:
     Int_t fOldMember; TNamed fName;
const TObjArray* GetSource() const
 Get the list of source members as a TObjArray of TNamed object,
 with the name being the member name and the title being its type.
void SetInclude(const TString& include)
 Set the comma separated list of header files to include to be able
 to compile this rule.
const TObjArray* GetInclude() const
 Return the list of header files to include to be able to
 compile this rule as a TObjArray of TObjString
void SetEmbed(Bool_t embed)
 Set whether this rule should be save in the ROOT file (if true)
Bool_t GetEmbed() const
 Return true if this rule should be saved in the ROOT File.
Bool_t IsValid() const
 Return kTRUE if this rule is valid.
void SetCode(const TString& code)
 Set the source code of this rule.
TString GetCode() const
 Get the source code of this rule.
Bool_t HasTarget(const TString& target) const
 Return true if one of the rule's data member target  is 'target'.
Bool_t HasSource(const TString& source) const
 Return true if one of the rule's data member source is 'source'
void SetReadFunctionPointer(ROOT::TSchemaRule::ReadFuncPtr_t ptr)
 Set the pointer to the function to be run for the rule (if it is a read rule).
void SetReadRawFunctionPointer(ROOT::TSchemaRule::ReadRawFuncPtr_t ptr)
 Set the pointer to the function to be run for the rule (if it is a raw read rule).
void SetRuleType(ROOT::TSchemaRule::RuleType_t type)
 Set the type of the rule.
Bool_t IsAliasRule() const
 Return kTRUE if the rule is a strict renaming of one of the data member of the class.
Bool_t IsRenameRule() const
 Return kTRUE if the rule is a strict renaming of the class to a new name.
Bool_t Conflicts(const ROOT::TSchemaRule* rule) const
 Check if this rule conflicts with the given one.
Bool_t ProcessVersion(const TString& version) const
 Check if specified version string is correct and build version vector.
Bool_t ProcessChecksum(const TString& checksum) const
 Check if specified checksum string is correct and build checksum vector.
void ProcessList(TObjArray* array, const TString& list)
 Split the list as a comma separated list into a TObjArray of TObjString.
void ProcessDeclaration(TObjArray* array, const TString& list)
 Split the list as a declaration into as a TObjArray of TNamed(name,type).
ReadFuncPtr_t GetReadFunctionPointer() const
ReadRawFuncPtr_t GetReadRawFunctionPointer() const
RuleType_t GetRuleType() const