ROOT  6.06/08
Reference Guide
Classes | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ROOT::TSchemaRule Class Reference

Definition at line 21 of file TSchemaRule.h.

Classes

class  TSources
 

Public Types

enum  RuleType_t { kReadRule = 0, kReadRawRule = 1, kNone = 99999 }
 
typedef void(* ReadFuncPtr_t) (char *, TVirtualObject *)
 
typedef void(* ReadRawFuncPtr_t) (char *, TBuffer &)
 
- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

Public Member Functions

 TSchemaRule ()
 Default Constructor. More...
 
virtual ~TSchemaRule ()
 Destructor. More...
 
 TSchemaRule (const TSchemaRule &rhs)
 Copy Constructor. More...
 
TSchemaRule & operator= (const TSchemaRule &rhs)
 Copy operator. More...
 
Bool_t operator== (const TSchemaRule &rhs) const
 Return true if the rule have the same effects. More...
 
void Clear (Option_t *="")
 Zero out this rule object. More...
 
Bool_t SetFromRule (const char *rule)
 Set the content fot this object from the rule See TClass::AddRule for details on the syntax. More...
 
const char * GetVersion () const
 Get the version string. More...
 
Bool_t SetVersion (const TString &version)
 Set the version string - returns kFALSE if the format is incorrect. More...
 
Bool_t TestVersion (Int_t version) const
 Check if given version number is defined in this rule. More...
 
Bool_t SetChecksum (const TString &checksum)
 Set the checksum string - returns kFALSE if the format is incorrect. More...
 
Bool_t TestChecksum (UInt_t checksum) const
 Check if given checksum is defined in this rule. More...
 
void SetSourceClass (const TString &classname)
 Set the source class of this rule (i.e. the onfile class). More...
 
const char * GetSourceClass () const
 Get the source class of this rule (i.e. the onfile class). More...
 
void SetTargetClass (const TString &classname)
 Set the target class of this rule (i.e. the in memory class). More...
 
const char * GetTargetClass () const
 Get the targte class of this rule (i.e. the in memory class). More...
 
void SetTarget (const TString &target)
 Set the target member of this rule (i.e. the in memory data member). More...
 
const TObjArray * GetTarget () const
 Get the target data members of this rule (i.e. the in memory data member). More...
 
const char * GetTargetString () const
 Get the target data members of this rule as a simple string (i.e. the in memory data member). More...
 
void SetSource (const TString &source)
 Set the list of source members. More...
 
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. More...
 
void SetEmbed (Bool_t embed)
 Set whether this rule should be save in the ROOT file (if true) More...
 
Bool_t GetEmbed () const
 Return true if this rule should be saved in the ROOT File. More...
 
Bool_t IsAliasRule () const
 Return kTRUE if the rule is a strict renaming of one of the data member of the class. More...
 
Bool_t IsRenameRule () const
 Return kTRUE if the rule is a strict renaming of the class to a new name. More...
 
Bool_t IsValid () const
 Return kTRUE if this rule is valid. More...
 
void SetCode (const TString &code)
 Set the source code of this rule. More...
 
const char * GetCode () const
 Get the source code of this rule. More...
 
void SetAttributes (const TString &attributes)
 Set the attributes code of this rule. More...
 
const char * GetAttributes () const
 Get the attributes code of this rule. More...
 
Bool_t HasTarget (const TString &target) const
 Return true if one of the rule's data member target is 'target'. More...
 
Bool_t HasSource (const TString &source) const
 Return true if one of the rule's data member source is 'source'. More...
 
void SetReadFunctionPointer (ReadFuncPtr_t ptr)
 Set the pointer to the function to be run for the rule (if it is a read rule). More...
 
ReadFuncPtr_t GetReadFunctionPointer () const
 Get the pointer to the function to be run for the rule (if it is a read rule). More...
 
void SetReadRawFunctionPointer (ReadRawFuncPtr_t ptr)
 Set the pointer to the function to be run for the rule (if it is a raw read rule). More...
 
ReadRawFuncPtr_t GetReadRawFunctionPointer () const
 Get the pointer to the function to be run for the rule (if it is a raw read rule). More...
 
void SetInclude (const TString &include)
 Set the comma separated list of header files to include to be able to compile this rule. More...
 
const TObjArray * GetInclude () const
 Return the list of header files to include to be able to compile this rule as a TObjArray of TObjString. More...
 
void SetRuleType (RuleType_t type)
 Set the type of the rule. More...
 
RuleType_t GetRuleType () const
 Return the type of the rule. More...
 
Bool_t Conflicts (const TSchemaRule *rule) const
 Check if this rule conflicts with the given one. More...
 
void AsString (TString &out, const char *options="") const
 Add to the string 'out' the string representation of the rule. More...
 
void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObject & operator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual TObject * Clone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObject * DrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObject * FindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObject * FindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_t * GetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_t * GetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsSortable () const
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
void * operator new (size_t sz)
 
void * operator new[] (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Private Member Functions

Bool_t ProcessVersion (const TString &version) const
 Check if specified version string is correct and build version vector. More...
 
Bool_t ProcessChecksum (const TString &checksum) const
 Check if specified checksum string is correct and build checksum vector. More...
 

Static Private Member Functions

static void ProcessList (TObjArray *array, const TString &list)
 Split the list as a comma separated list into a TObjArray of TObjString. More...
 
static void ProcessDeclaration (TObjArray *array, const TString &list)
 Split the list as a declaration into as a TObjArray of TNamed(name,type). More...
 

Private Attributes

TString fVersion
 
std::vector< std::pair< Int_t, Int_t > > * fVersionVect
 
TString fChecksum
 Source version vector (for searching purposes) More...
 
std::vector< UInt_t > * fChecksumVect
 
TString fSourceClass
 Source checksum vector (for searching purposes) More...
 
TString fTargetClass
 
TString fTarget
 
TObjArray * fTargetVect
 
TString fSource
 Target data member vector (for searching purposes) More...
 
TObjArray * fSourceVect
 
TString fInclude
 Source data member vector (for searching purposes) More...
 
TObjArray * fIncludeVect
 
TString fCode
 Includes vector. More...
 
Bool_t fEmbed
 
ReadFuncPtr_t fReadFuncPtr
 
ReadRawFuncPtr_t fReadRawFuncPtr
 Conversion function pointer for read rule. More...
 
RuleType_t fRuleType
 Conversion function pointer for readraw rule. More...
 
TString fAttributes
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

#include <TSchemaRule.h>

+ Inheritance diagram for ROOT::TSchemaRule:
+ Collaboration diagram for ROOT::TSchemaRule:

Member Typedef Documentation

§ ReadFuncPtr_t

typedef void(* ROOT::TSchemaRule::ReadFuncPtr_t) (char *, TVirtualObject *)

Definition at line 42 of file TSchemaRule.h.

§ ReadRawFuncPtr_t

typedef void(* ROOT::TSchemaRule::ReadRawFuncPtr_t) (char *, TBuffer &)

Definition at line 43 of file TSchemaRule.h.

Member Enumeration Documentation

§ RuleType_t

Enumerator
kReadRule 
kReadRawRule 
kNone 

Definition at line 35 of file TSchemaRule.h.

Constructor & Destructor Documentation

§ TSchemaRule() [1/2]

TSchemaRule::TSchemaRule ( )

Default Constructor.

Definition at line 87 of file TSchemaRule.cxx.

§ ~TSchemaRule()

TSchemaRule::~TSchemaRule ( )
virtual

Destructor.

Definition at line 98 of file TSchemaRule.cxx.

§ TSchemaRule() [2/2]

TSchemaRule::TSchemaRule ( const TSchemaRule &  rhs)

Copy Constructor.

Definition at line 110 of file TSchemaRule.cxx.

Member Function Documentation

§ AsString()

void TSchemaRule::AsString ( TString &  out,
const char *  options = "" 
) const

Add to the string 'out' the string representation of the rule.

if options contains: 's' : add the short form of the rule is possible 'x' : add the xml form of the rule

Definition at line 216 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule(), and ROOT::Detail::TSchemaRuleSet::AsString().

§ Clear()

void TSchemaRule::Clear ( Option_t *  = "")
virtual

Zero out this rule object.

Reimplemented from TObject.

Definition at line 295 of file TSchemaRule.cxx.

§ Conflicts()

Bool_t TSchemaRule::Conflicts ( const TSchemaRule *  rule) const

Check if this rule conflicts with the given one.

Definition at line 766 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule().

§ GetAttributes()

const char * TSchemaRule::GetAttributes ( ) const

Get the attributes code of this rule.

Definition at line 658 of file TSchemaRule.cxx.

§ GetCode()

const char * TSchemaRule::GetCode ( ) const

Get the source code of this rule.

Definition at line 642 of file TSchemaRule.cxx.

§ GetEmbed()

Bool_t TSchemaRule::GetEmbed ( ) const

Return true if this rule should be saved in the ROOT File.

Definition at line 618 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule().

§ GetInclude()

const TObjArray * TSchemaRule::GetInclude ( ) const

Return the list of header files to include to be able to compile this rule as a TObjArray of TObjString.

Definition at line 593 of file TSchemaRule.cxx.

§ GetReadFunctionPointer()

TSchemaRule::ReadFuncPtr_t TSchemaRule::GetReadFunctionPointer ( ) const

Get the pointer to the function to be run for the rule (if it is a read rule).

Definition at line 710 of file TSchemaRule.cxx.

§ GetReadRawFunctionPointer()

TSchemaRule::ReadRawFuncPtr_t TSchemaRule::GetReadRawFunctionPointer ( ) const

Get the pointer to the function to be run for the rule (if it is a raw read rule).

Definition at line 726 of file TSchemaRule.cxx.

§ GetRuleType()

TSchemaRule::RuleType_t TSchemaRule::GetRuleType ( ) const

Return the type of the rule.

Definition at line 758 of file TSchemaRule.cxx.

§ GetSource()

const TObjArray * TSchemaRule::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.

Definition at line 554 of file TSchemaRule.cxx.

§ GetSourceClass()

const char * TSchemaRule::GetSourceClass ( ) const

Get the source class of this rule (i.e. the onfile class).

Definition at line 462 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule(), ROOT::Detail::TSchemaRuleSet::FindRules(), and ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass().

§ GetTarget()

const TObjArray * TSchemaRule::GetTarget ( ) const

Get the target data members of this rule (i.e. the in memory data member).

Definition at line 514 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule(), TStreamerInfo::BuildOld(), and Conflicts().

§ GetTargetClass()

const char * TSchemaRule::GetTargetClass ( ) const

Get the targte class of this rule (i.e. the in memory class).

Definition at line 478 of file TSchemaRule.cxx.

Referenced by TClass::AddRule().

§ GetTargetString()

const char * TSchemaRule::GetTargetString ( ) const

Get the target data members of this rule as a simple string (i.e. the in memory data member).

Definition at line 506 of file TSchemaRule.cxx.

Referenced by TClass::AddRule().

§ GetVersion()

const char * TSchemaRule::GetVersion ( ) const

Get the version string.

Definition at line 391 of file TSchemaRule.cxx.

Referenced by TClass::AddRule().

§ HasSource()

Bool_t TSchemaRule::HasSource ( const TString &  source) const

Return true if one of the rule's data member source is 'source'.

Definition at line 684 of file TSchemaRule.cxx.

§ HasTarget()

Bool_t TSchemaRule::HasTarget ( const TString &  target) const

Return true if one of the rule's data member target is 'target'.

Definition at line 666 of file TSchemaRule.cxx.

Referenced by Conflicts().

§ IsAliasRule()

Bool_t TSchemaRule::IsAliasRule ( ) const

Return kTRUE if the rule is a strict renaming of one of the data member of the class.

Definition at line 742 of file TSchemaRule.cxx.

§ IsRenameRule()

Bool_t TSchemaRule::IsRenameRule ( ) const

Return kTRUE if the rule is a strict renaming of the class to a new name.

Definition at line 750 of file TSchemaRule.cxx.

§ IsValid()

Bool_t TSchemaRule::IsValid ( ) const

Return kTRUE if this rule is valid.

Definition at line 626 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::AddRule().

§ ls()

void TSchemaRule::ls ( Option_t *  targetname = "") const
virtual

The ls function lists the contents of a class on stdout.

Ls output is typically much less verbose then Dump().

Reimplemented from TObject.

Definition at line 175 of file TSchemaRule.cxx.

§ operator=()

TSchemaRule & TSchemaRule::operator= ( const TSchemaRule &  rhs)

Copy operator.

Definition at line 123 of file TSchemaRule.cxx.

§ operator==()

Bool_t TSchemaRule::operator== ( const TSchemaRule &  rhs) const

Return true if the rule have the same effects.

Definition at line 145 of file TSchemaRule.cxx.

§ ProcessChecksum()

Bool_t TSchemaRule::ProcessChecksum ( const TString &  checksum) const
private

Check if specified checksum string is correct and build checksum vector.

Definition at line 881 of file TSchemaRule.cxx.

Referenced by SetChecksum(), and TestChecksum().

§ ProcessDeclaration()

void TSchemaRule::ProcessDeclaration ( TObjArray *  array,
const TString &  list 
)
staticprivate

Split the list as a declaration into as a TObjArray of TNamed(name,type).

Definition at line 946 of file TSchemaRule.cxx.

Referenced by GetSource(), and SetSource().

§ ProcessList()

void TSchemaRule::ProcessList ( TObjArray *  array,
const TString &  list 
)
staticprivate

Split the list as a comma separated list into a TObjArray of TObjString.

Definition at line 925 of file TSchemaRule.cxx.

Referenced by GetInclude(), GetTarget(), SetInclude(), and SetTarget().

§ ProcessVersion()

Bool_t TSchemaRule::ProcessVersion ( const TString &  version) const
private

Check if specified version string is correct and build version vector.

Definition at line 836 of file TSchemaRule.cxx.

Referenced by SetVersion(), and TestVersion().

§ SetAttributes()

void TSchemaRule::SetAttributes ( const TString &  attributes)

Set the attributes code of this rule.

Definition at line 650 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetChecksum()

Bool_t TSchemaRule::SetChecksum ( const TString &  checksum)

Set the checksum string - returns kFALSE if the format is incorrect.

Definition at line 423 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetCode()

void TSchemaRule::SetCode ( const TString &  code)

Set the source code of this rule.

Definition at line 634 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetEmbed()

void TSchemaRule::SetEmbed ( Bool_t  embed)

Set whether this rule should be save in the ROOT file (if true)

Definition at line 610 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetFromRule()

Bool_t TSchemaRule::SetFromRule ( const char *  rule)

Set the content fot this object from the rule See TClass::AddRule for details on the syntax.

Definition at line 319 of file TSchemaRule.cxx.

Referenced by TClass::AddRule().

§ SetInclude()

void TSchemaRule::SetInclude ( const TString &  incl)

Set the comma separated list of header files to include to be able to compile this rule.

Definition at line 571 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetReadFunctionPointer()

void TSchemaRule::SetReadFunctionPointer ( TSchemaRule::ReadFuncPtr_t  ptr)

Set the pointer to the function to be run for the rule (if it is a read rule).

Definition at line 702 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet().

§ SetReadRawFunctionPointer()

void TSchemaRule::SetReadRawFunctionPointer ( TSchemaRule::ReadRawFuncPtr_t  ptr)

Set the pointer to the function to be run for the rule (if it is a raw read rule).

Definition at line 718 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet().

§ SetRuleType()

void TSchemaRule::SetRuleType ( TSchemaRule::RuleType_t  type)

Set the type of the rule.

Definition at line 734 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetSource()

void TSchemaRule::SetSource ( const TString &  source)

Set the list of source members.

This should be in the form of a declaration: Int_t fOldMember; TNamed fName;

Definition at line 532 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetSourceClass()

void TSchemaRule::SetSourceClass ( const TString &  classname)

Set the source class of this rule (i.e. the onfile class).

Definition at line 454 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass(), and SetFromRule().

§ SetTarget()

void TSchemaRule::SetTarget ( const TString &  target)

Set the target member of this rule (i.e. the in memory data member).

Definition at line 486 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), and SetFromRule().

§ SetTargetClass()

void TSchemaRule::SetTargetClass ( const TString &  classname)

Set the target class of this rule (i.e. the in memory class).

Definition at line 470 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass(), and SetFromRule().

§ SetVersion()

Bool_t TSchemaRule::SetVersion ( const TString &  version)

Set the version string - returns kFALSE if the format is incorrect.

Definition at line 379 of file TSchemaRule.cxx.

Referenced by ROOT::TGenericClassInfo::CreateRuleSet(), ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass(), and SetFromRule().

§ TestChecksum()

Bool_t TSchemaRule::TestChecksum ( UInt_t  checksum) const

Check if given checksum is defined in this rule.

Definition at line 435 of file TSchemaRule.cxx.

Referenced by Conflicts(), and ROOT::Detail::TSchemaRuleSet::FindRules().

§ TestVersion()

Bool_t TSchemaRule::TestVersion ( Int_t  version) const

Check if given version number is defined in this rule.

Definition at line 400 of file TSchemaRule.cxx.

Referenced by ROOT::Detail::TSchemaRuleSet::FindRules().

Member Data Documentation

§ fAttributes

TString ROOT::TSchemaRule::fAttributes
private

§ fChecksum

TString ROOT::TSchemaRule::fChecksum
private

Source version vector (for searching purposes)

Definition at line 106 of file TSchemaRule.h.

Referenced by AsString(), Clear(), IsAliasRule(), IsRenameRule(), ls(), operator=(), operator==(), SetChecksum(), and TestChecksum().

§ fChecksumVect

std::vector<UInt_t>* ROOT::TSchemaRule::fChecksumVect
mutableprivate

Definition at line 107 of file TSchemaRule.h.

Referenced by Clear(), Conflicts(), IsValid(), ProcessChecksum(), TestChecksum(), and ~TSchemaRule().

§ fCode

TString ROOT::TSchemaRule::fCode
private

Includes vector.

Definition at line 116 of file TSchemaRule.h.

Referenced by AsString(), Clear(), GetCode(), IsAliasRule(), IsRenameRule(), ls(), operator=(), operator==(), and SetCode().

§ fEmbed

Bool_t ROOT::TSchemaRule::fEmbed
private

Definition at line 117 of file TSchemaRule.h.

Referenced by GetEmbed(), operator=(), operator==(), and SetEmbed().

§ fInclude

TString ROOT::TSchemaRule::fInclude
private

Source data member vector (for searching purposes)

Definition at line 114 of file TSchemaRule.h.

Referenced by AsString(), Clear(), GetInclude(), IsAliasRule(), IsRenameRule(), ls(), operator=(), operator==(), and SetInclude().

§ fIncludeVect

TObjArray* ROOT::TSchemaRule::fIncludeVect
mutableprivate

Definition at line 115 of file TSchemaRule.h.

Referenced by Clear(), GetInclude(), SetInclude(), and ~TSchemaRule().

§ fReadFuncPtr

ReadFuncPtr_t ROOT::TSchemaRule::fReadFuncPtr
private

§ fReadRawFuncPtr

ReadRawFuncPtr_t ROOT::TSchemaRule::fReadRawFuncPtr
private

Conversion function pointer for read rule.

Definition at line 119 of file TSchemaRule.h.

Referenced by AsString(), Clear(), GetReadRawFunctionPointer(), operator=(), operator==(), and SetReadRawFunctionPointer().

§ fRuleType

RuleType_t ROOT::TSchemaRule::fRuleType
private

Conversion function pointer for readraw rule.

Definition at line 120 of file TSchemaRule.h.

Referenced by AsString(), Clear(), GetRuleType(), ls(), operator=(), operator==(), and SetRuleType().

§ fSource

TString ROOT::TSchemaRule::fSource
private

Target data member vector (for searching purposes)

Definition at line 112 of file TSchemaRule.h.

Referenced by AsString(), Clear(), GetSource(), IsAliasRule(), IsRenameRule(), ls(), operator=(), operator==(), ProcessDeclaration(), and SetSource().

§ fSourceClass

TString ROOT::TSchemaRule::fSourceClass
private

Source checksum vector (for searching purposes)

Definition at line 108 of file TSchemaRule.h.

Referenced by AsString(), Clear(), Conflicts(), GetSourceClass(), IsAliasRule(), IsRenameRule(), IsValid(), ls(), operator=(), operator==(), ProcessDeclaration(), and SetSourceClass().

§ fSourceVect

TObjArray* ROOT::TSchemaRule::fSourceVect
mutableprivate

Definition at line 113 of file TSchemaRule.h.

Referenced by Clear(), GetSource(), HasSource(), SetSource(), and ~TSchemaRule().

§ fTarget

TString ROOT::TSchemaRule::fTarget
private

§ fTargetClass

TString ROOT::TSchemaRule::fTargetClass
private

§ fTargetVect

TObjArray* ROOT::TSchemaRule::fTargetVect
mutableprivate

Definition at line 111 of file TSchemaRule.h.

Referenced by Clear(), GetTarget(), HasTarget(), SetTarget(), and ~TSchemaRule().

§ fVersion

TString ROOT::TSchemaRule::fVersion
private

§ fVersionVect

std::vector<std::pair<Int_t, Int_t> >* ROOT::TSchemaRule::fVersionVect
mutableprivate

Definition at line 105 of file TSchemaRule.h.

Referenced by Clear(), Conflicts(), IsValid(), ProcessVersion(), TestVersion(), and ~TSchemaRule().


The documentation for this class was generated from the following files: