This is hierarchical structure, which is created when data is written by TBufferSQL2.
It contains data all structural information such: version of written class, data member types of that class, value for each data member and so on. Such structure in some sense similar to XML node and subnodes structure Once it created, it converted to SQL statements, which are submitted to database server.
Definition at line 88 of file TSQLStructure.h.
Public Member Functions | |
TSQLStructure () | |
virtual | ~TSQLStructure () |
destructor | |
void | Add (TSQLStructure *child) |
Add child structure. | |
void | AddObjectData (TSQLObjectData *objdata) |
add element with pointer to object data | |
void | AddValue (const char *value, const char *tname=0) |
Add child structure as value. | |
void | AddVersion (const TClass *cl, Int_t version=-100) |
add child as version | |
void | ChangeValueOnly (const char *value) |
change value of this structure used as "workaround" to keep object id in kSqlElement node | |
void | ChildArrayIndex (Int_t index, Int_t cnt=1) |
set array index for last child element if (cnt<=1) return; | |
Bool_t | ConvertToTables (TSQLFile *f, Long64_t keyid, TObjArray *cmds) |
Convert structure to sql statements This function is called immidiately after TBufferSQL2 produces this structure with object data Should be only called for toplevel structure. | |
Long64_t | DefineObjectId (Bool_t recursive=kTRUE) |
defines current object id, to which this structure belong make life complicated, because some objects do not get id automatically in TBufferSQL, but afterwards | |
Int_t | GetArrayIndex () const |
TSQLStructure * | GetChild (Int_t n) const |
return child structure of index n | |
Bool_t | GetClassInfo (TClass *&cl, Version_t &version) |
provides class info if structure kSqlStreamerInfo or kSqlCustomClass | |
TClass * | GetCustomClass () const |
return element custom class if structures is kSqlCustomClass | |
Version_t | GetCustomClassVersion () const |
return custom class version if structures is kSqlCustomClass | |
TStreamerElement * | GetElement () const |
return TStremerElement* if type is kSqlElement | |
Int_t | GetElementNumber () const |
returns number of TStremerElement in TStreamerInfo | |
TClass * | GetObjectClass () const |
return object class if type kSqlObject | |
TSQLObjectData * | GetObjectData (Bool_t search=false) |
searches for objects data | |
TSQLStructure * | GetParent () const |
Int_t | GetRepeatCounter () const |
TStreamerInfo * | GetStreamerInfo () const |
return TStreamerInfo* if type is kSqlStreamerInfo | |
Int_t | GetType () const |
const char * | GetValue () const |
returns value for different structure kinds has different sense For kSqlVersion it version, for kSqlReference it is object id and so on | |
const char * | GetValueType () const |
return value type if structure is kSqlValue | |
TClass * | GetVersionClass () const |
return class for version tag if type is kSqlVersion | |
Int_t | LocateElementColumn (TSQLFile *f, TBufferSQL2 *buf, TSQLObjectData *data) |
find column in TSQLObjectData object, which correspond to current element | |
Int_t | NumChilds () const |
number of child structures | |
virtual void | Print (Option_t *option="") const |
print content of complete structure | |
void | PrintLevel (Int_t level) const |
print content of current structure | |
void | SetArray (Int_t sz=-1) |
Set structure as array element. | |
void | SetArrayIndex (Int_t indx, Int_t cnt=1) |
set array index for this structure | |
void | SetClassStreamer (const TClass *cl) |
set structure type as kSqlClassStreamer | |
void | SetCustomClass (const TClass *cl, Version_t version) |
set structure type as kSqlCustomClass | |
void | SetCustomElement (TStreamerElement *elem) |
set structure type as kSqlCustomElement | |
void | SetObjectData (TSQLObjectData *objdata) |
set element to be used for object data | |
void | SetObjectPointer (Long64_t ptrid) |
set structure type as kSqlPointer | |
void | SetObjectRef (Long64_t refid, const TClass *cl) |
set structure type as kSqlObject | |
void | SetParent (TSQLStructure *p) |
void | SetStreamerElement (const TStreamerElement *elem, Int_t number) |
set structure type as kSqlElement | |
void | SetStreamerInfo (const TStreamerInfo *info) |
set structure type as kSqlStreamerInfo | |
void | SetType (Int_t typ) |
void | SetValue (const char *value, const char *tname=0) |
set structure type as kSqlValue | |
void | SetVersion (const TClass *cl, Int_t version=-100) |
set structure type as kSqlVersion | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. | |
virtual void | Copy (TObject &object) const |
Copy this to obj. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
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. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual const char * | GetName () const |
Returns name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
virtual ULong_t | Hash () const |
Return hash value for this object. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. | |
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). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Static Public Member Functions | |
static void | AddStrBrackets (TString &s, const char *quote) |
adds quotes around string value and replaces some special symbols | |
static TString | DefineElementColumnName (TStreamerElement *elem, TSQLFile *f, Int_t indx=0) |
returns name of the column in class table for that element | |
static Int_t | DefineElementColumnType (TStreamerElement *elem, TSQLFile *f) |
defines which kind of column can be assigned for this element Possible cases kColSimple - basic data type kColSimpleArray - fixed array of basic types kColParent - parent class kColObject - object as data member kColObjectPtr - object as pointer kColTString - TString kColRawData - anything else as raw data | |
static const char * | GetSimpleTypeName (Int_t typ) |
provides name for basic types used as suffix for column name or field suffix in raw table | |
static Bool_t | IsNumericType (Int_t typ) |
defines if value is numeric and not requires quotes when writing | |
static TString | MakeArrayIndex (TStreamerElement *elem, Int_t n) |
produce string with complete index like [1][2][0] | |
static Bool_t | UnpackTObject (TSQLFile *f, TBufferSQL2 *buf, TSQLObjectData *data, Long64_t objid, Int_t clversion) |
Unpack TObject data in form, accepted by custom TObject streamer. | |
static Bool_t | UnpackTString (TSQLFile *f, TBufferSQL2 *buf, TSQLObjectData *data, Long64_t objid, Int_t clversion) |
Unpack TString data in form, accepted by custom TString streamer. | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Protected Member Functions | |
Bool_t | CheckNormalClassPair (TSQLStructure *vers, TSQLStructure *info) |
check if pair of two element corresponds to start of object, stored in normal form | |
Long64_t | FindMaxObjectId () |
define maximum reference id, used for objects | |
void | PerformConversion (TSqlRegistry *reg, TSqlRawBuffer *blobs, const char *topname, Bool_t useblob=kFALSE) |
perform conversion of structure to sql statements first tries convert it to normal form if fails, produces data for raw table | |
Bool_t | RecognizeTString (const char *&value) |
prove that structure contains TString data | |
Bool_t | StoreClassInNormalForm (TSqlRegistry *reg) |
produces data for complete class table where not possible, raw data for some elements are created | |
Bool_t | StoreElementInNormalForm (TSqlRegistry *reg, TSQLTableData *columns) |
tries to store element data in column | |
Bool_t | StoreObject (TSqlRegistry *reg, Long64_t objid, TClass *cl, Bool_t registerobj=kTRUE) |
convert object data to sql statements if normal (column-wise) representation is not possible, complete object will be converted to raw format | |
Bool_t | StoreObjectInNormalForm (TSqlRegistry *reg) |
this function verify object child elements and calls transformation to class table | |
Bool_t | StoreTObject (TSqlRegistry *reg) |
store data of TObject in special table workaround custom TObject streamer | |
Bool_t | StoreTString (TSqlRegistry *reg) |
store data of TString in special table it is required when TString stored as pointer and reference to it possible | |
Bool_t | TryConvertObjectArray (TSqlRegistry *reg, TSqlRawBuffer *blobs) |
tries to write array of objects as list of object references in streamer table, while objects itself will be stored in other tables. | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). | |
void | MakeZombie () |
Protected Attributes | |
Int_t | fArrayIndex {-1} |
TObjArray | fChilds |
TSQLStructure * | fParent {nullptr} |
const void * | fPointer {nullptr} |
Int_t | fRepeatCnt {0} |
Int_t | fType {0} |
TString | fValue |
Additional Inherited Members | |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = BIT(3) } |
#include <TSQLStructure.h>
Enumerator | |
---|---|
kColUnknown | |
kColSimple | |
kColSimpleArray | |
kColParent | |
kColObject | |
kColObjectArray | |
kColNormObject | |
kColNormObjectArray | |
kColObjectPtr | |
kColTString | |
kColRawData |
Definition at line 194 of file TSQLStructure.h.
Enumerator | |
---|---|
kIdTable | |
kIdRawTable | |
kIdColumn |
Definition at line 208 of file TSQLStructure.h.
Enumerator | |
---|---|
kSqlObject | |
kSqlPointer | |
kSqlVersion | |
kSqlStreamerInfo | |
kSqlClassStreamer | |
kSqlElement | |
kSqlValue | |
kSqlArray | |
kSqlObjectData | |
kSqlCustomClass | |
kSqlCustomElement |
Definition at line 180 of file TSQLStructure.h.
|
inline |
Definition at line 113 of file TSQLStructure.h.
|
virtual |
destructor
Definition at line 330 of file TSQLStructure.cxx.
void TSQLStructure::Add | ( | TSQLStructure * | child | ) |
Add child structure.
Definition at line 581 of file TSQLStructure.cxx.
void TSQLStructure::AddObjectData | ( | TSQLObjectData * | objdata | ) |
add element with pointer to object data
Definition at line 644 of file TSQLStructure.cxx.
adds quotes around string value and replaces some special symbols
Definition at line 2368 of file TSQLStructure.cxx.
void TSQLStructure::AddValue | ( | const char * | value, |
const char * | tname = 0 |
||
) |
Add child structure as value.
Definition at line 602 of file TSQLStructure.cxx.
add child as version
Definition at line 592 of file TSQLStructure.cxx.
void TSQLStructure::ChangeValueOnly | ( | const char * | value | ) |
change value of this structure used as "workaround" to keep object id in kSqlElement node
Definition at line 450 of file TSQLStructure.cxx.
|
protected |
check if pair of two element corresponds to start of object, stored in normal form
Definition at line 1777 of file TSQLStructure.cxx.
set array index for last child element if (cnt<=1) return;
Definition at line 468 of file TSQLStructure.cxx.
Convert structure to sql statements This function is called immidiately after TBufferSQL2 produces this structure with object data Should be only called for toplevel structure.
Definition at line 1188 of file TSQLStructure.cxx.
|
static |
returns name of the column in class table for that element
Definition at line 2017 of file TSQLStructure.cxx.
|
static |
defines which kind of column can be assigned for this element Possible cases kColSimple - basic data type kColSimpleArray - fixed array of basic types kColParent - parent class kColObject - object as data member kColObjectPtr - object as pointer kColTString - TString kColRawData - anything else as raw data
Definition at line 1923 of file TSQLStructure.cxx.
defines current object id, to which this structure belong make life complicated, because some objects do not get id automatically in TBufferSQL, but afterwards
Definition at line 614 of file TSQLStructure.cxx.
|
protected |
define maximum reference id, used for objects
Definition at line 1169 of file TSQLStructure.cxx.
|
inline |
Definition at line 148 of file TSQLStructure.h.
TSQLStructure * TSQLStructure::GetChild | ( | Int_t | n | ) | const |
return child structure of index n
Definition at line 353 of file TSQLStructure.cxx.
provides class info if structure kSqlStreamerInfo or kSqlCustomClass
Definition at line 552 of file TSQLStructure.cxx.
TClass * TSQLStructure::GetCustomClass | ( | ) | const |
return element custom class if structures is kSqlCustomClass
Definition at line 536 of file TSQLStructure.cxx.
Version_t TSQLStructure::GetCustomClassVersion | ( | ) | const |
return custom class version if structures is kSqlCustomClass
Definition at line 544 of file TSQLStructure.cxx.
TStreamerElement * TSQLStructure::GetElement | ( | ) | const |
return TStremerElement* if type is kSqlElement
Definition at line 512 of file TSQLStructure.cxx.
Int_t TSQLStructure::GetElementNumber | ( | ) | const |
returns number of TStremerElement in TStreamerInfo
Definition at line 520 of file TSQLStructure.cxx.
TClass * TSQLStructure::GetObjectClass | ( | ) | const |
return object class if type kSqlObject
Definition at line 488 of file TSQLStructure.cxx.
TSQLObjectData * TSQLStructure::GetObjectData | ( | Bool_t | search = false | ) |
searches for objects data
Definition at line 654 of file TSQLStructure.cxx.
|
inline |
Definition at line 116 of file TSQLStructure.h.
|
inline |
Definition at line 149 of file TSQLStructure.h.
|
static |
provides name for basic types used as suffix for column name or field suffix in raw table
Definition at line 756 of file TSQLStructure.cxx.
TStreamerInfo * TSQLStructure::GetStreamerInfo | ( | ) | const |
return TStreamerInfo* if type is kSqlStreamerInfo
Definition at line 504 of file TSQLStructure.cxx.
|
inline |
Definition at line 122 of file TSQLStructure.h.
const char * TSQLStructure::GetValue | ( | ) | const |
returns value for different structure kinds has different sense For kSqlVersion it version, for kSqlReference it is object id and so on
Definition at line 573 of file TSQLStructure.cxx.
const char * TSQLStructure::GetValueType | ( | ) | const |
return value type if structure is kSqlValue
Definition at line 528 of file TSQLStructure.cxx.
TClass * TSQLStructure::GetVersionClass | ( | ) | const |
return class for version tag if type is kSqlVersion
Definition at line 496 of file TSQLStructure.cxx.
defines if value is numeric and not requires quotes when writing
Definition at line 729 of file TSQLStructure.cxx.
Int_t TSQLStructure::LocateElementColumn | ( | TSQLFile * | f, |
TBufferSQL2 * | buf, | ||
TSQLObjectData * | data | ||
) |
find column in TSQLObjectData object, which correspond to current element
Definition at line 2107 of file TSQLStructure.cxx.
|
static |
produce string with complete index like [1][2][0]
Definition at line 1493 of file TSQLStructure.cxx.
Int_t TSQLStructure::NumChilds | ( | ) | const |
number of child structures
Definition at line 345 of file TSQLStructure.cxx.
|
protected |
perform conversion of structure to sql statements first tries convert it to normal form if fails, produces data for raw table
Definition at line 1216 of file TSQLStructure.cxx.
print content of complete structure
Reimplemented from TObject.
Definition at line 667 of file TSQLStructure.cxx.
print content of current structure
Definition at line 675 of file TSQLStructure.cxx.
|
protected |
prove that structure contains TString data
Definition at line 1870 of file TSQLStructure.cxx.
Set structure as array element.
Definition at line 478 of file TSQLStructure.cxx.
set array index for this structure
Definition at line 458 of file TSQLStructure.cxx.
set structure type as kSqlClassStreamer
Definition at line 392 of file TSQLStructure.cxx.
set structure type as kSqlCustomClass
Definition at line 420 of file TSQLStructure.cxx.
void TSQLStructure::SetCustomElement | ( | TStreamerElement * | elem | ) |
set structure type as kSqlCustomElement
Definition at line 430 of file TSQLStructure.cxx.
void TSQLStructure::SetObjectData | ( | TSQLObjectData * | objdata | ) |
set element to be used for object data
Definition at line 635 of file TSQLStructure.cxx.
set structure type as kSqlPointer
Definition at line 371 of file TSQLStructure.cxx.
set structure type as kSqlObject
Definition at line 361 of file TSQLStructure.cxx.
|
inline |
Definition at line 117 of file TSQLStructure.h.
void TSQLStructure::SetStreamerElement | ( | const TStreamerElement * | elem, |
Int_t | number | ||
) |
set structure type as kSqlElement
Definition at line 410 of file TSQLStructure.cxx.
void TSQLStructure::SetStreamerInfo | ( | const TStreamerInfo * | info | ) |
set structure type as kSqlStreamerInfo
Definition at line 401 of file TSQLStructure.cxx.
Definition at line 121 of file TSQLStructure.h.
void TSQLStructure::SetValue | ( | const char * | value, |
const char * | tname = 0 |
||
) |
set structure type as kSqlValue
Definition at line 439 of file TSQLStructure.cxx.
set structure type as kSqlVersion
Definition at line 380 of file TSQLStructure.cxx.
|
protected |
produces data for complete class table where not possible, raw data for some elements are created
Definition at line 1415 of file TSQLStructure.cxx.
|
protected |
tries to store element data in column
Definition at line 1512 of file TSQLStructure.cxx.
|
protected |
convert object data to sql statements if normal (column-wise) representation is not possible, complete object will be converted to raw format
Definition at line 1329 of file TSQLStructure.cxx.
|
protected |
this function verify object child elements and calls transformation to class table
Definition at line 1396 of file TSQLStructure.cxx.
|
protected |
store data of TObject in special table workaround custom TObject streamer
Definition at line 1799 of file TSQLStructure.cxx.
|
protected |
store data of TString in special table it is required when TString stored as pointer and reference to it possible
Definition at line 1846 of file TSQLStructure.cxx.
|
protected |
tries to write array of objects as list of object references in streamer table, while objects itself will be stored in other tables.
If not successful, object data will be stored in streamer table
Definition at line 1732 of file TSQLStructure.cxx.
|
static |
Unpack TObject data in form, accepted by custom TObject streamer.
Definition at line 2302 of file TSQLStructure.cxx.
|
static |
Unpack TString data in form, accepted by custom TString streamer.
Definition at line 2336 of file TSQLStructure.cxx.
|
protected |
Definition at line 108 of file TSQLStructure.h.
|
protected |
Definition at line 110 of file TSQLStructure.h.
|
protected |
Definition at line 104 of file TSQLStructure.h.
|
protected |
Definition at line 106 of file TSQLStructure.h.
|
protected |
Definition at line 109 of file TSQLStructure.h.
|
protected |
Definition at line 105 of file TSQLStructure.h.
|
protected |
Definition at line 107 of file TSQLStructure.h.