rooContObj
class description - source file - inheritance tree
public:
rooContObj rooContObj()
rooContObj rooContObj(void* imp)
rooContObj rooContObj(const rooContObj&)
rooContObj rooContObj(const rooObj&)
virtual void ~rooContObj()
virtual void Browse(TBrowser* b)
TClass* Class()
Bool_t close() const
rooDBObj containedIn() const
Bool_t contains(rooObjItr& itr, Int_t openMode = kooNoOpen) const
Bool_t convertObjects()
Bool_t exist(const rooDBObj& db, const TString& contName, Int_t openMode = kooNoOpen)
Int_t hash() const
virtual TClass* IsA() const
virtual Bool_t IsFolder()
Bool_t isUpdated() const
Bool_t lockNoProp(Int_t lockMode) const
Bool_t lookupObj(const rooObj& scope, const TString& name, Int_t openMode = kooRead) const
Bool_t lookupObj(const TString& name, Int_t openMode = kooRead) const
TString name() const
ULong_t nPage() const
Bool_t open(Int_t openMode = kooRead) const
Bool_t open(const TString& name, Int_t openMode = kooRead) const
Bool_t open(const rooDBObj& db, const TString& name, Int_t openMode = kooRead) const
Int_t openMode() const
rooContObj& operator=(const rooContObj&)
ULong_t percentGrow() const
virtual void Print(Option_t* option)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
See also
-
rooContItr
rooContObj corresponds to ooHandle(ooContObj) class
Handle class for containers
rooContObj()
default ctor.
rooContObj(const rooContObj& cnt)
ooHandleStructor(ooContObj)(const ooHandle(ooContObj)& objH);
rooContObj(const rooObj& obj)
ooHandleStructor(ooContObj)(const ooId& id);
Bool_t close() const
Explicitly closes container
rooDBObj containedIn() const
Returns objecthandle to database in which the container
is contained.
Bool_t contains(rooObjItr& itr,Int_t openMode) const
Initializes the iterator itr to traverse all referenced basic objects in
the container. Objects of the iteration are automatically opened in the
mode specified by openMode; the default is kooNoOpen (do not open the
container automatically).
Bool_t convertObjects()
Convert all objects affected by schema evolution operations within a
container to their current class representations. This will also bring
all indexes up to date. Calling this member function more than once on a
specific container has no effect.
Bool_t exist(const rooDBObj &db,
const TString& contName,
Int_t openMode)
Test for the existence of a container. Returns the constant kTRUE if
the container with system name contSysName exists in the database
referenced by handle db, otherwise returns kFALSE. If the
container exists and openMode is kooRead or kooUpdate, the
container is opened and its object reference or handle is initialized to
the container. If openMode is kooRead or kooUpdate, and exist
returns kFALSE, the container either does not exist or the container
exists but is not accessible, and the object reference or handle is set to
null. If openMode is kooNoOpen and the container exists, the container
is not opened, but the object reference or handle is initialized to the
container. If openMode is kooNoOpen and the container does not exist,
the container is not opened, and the object reference or handle is set to
null.
Int_t hash() const
Returns the hash value used as a clustering factor for an indexed
container. The hash value is the number of sequentially indexed objects
to place into a page when creating named or keyed objects within the
container. The hash value is set when the container is created.
Returns 0 if the container is not hashed; otherwise, returns a non-zero
value. Returns -1 f the handle is null or the container can not be
opened.
Bool_t isUpdated() const
Returns kTRUE only if the container has been updated by another
process since being opened by the current process for an MROW read
operation. It returns kFALSE in all other cases.
Bool_t lockNoProp(Int_t lockMode) const
Explicitly locks the container without propagation semantics.
Bool_t lookupObj(const rooObj& scope,
const TString& name,Int_t openMode) const
Sets object reference or handle to reference the container with the
name name in the scope of the object specified by the handle scope,
and opens the container in the mode specified by openMode. Default
scope object is gooTopDB.
Bool_t lookupObj(const TString& name,Int_t openMode) const
Sets object reference or handle to reference the container with the
name name in the scope of the object specified by the handle scope,
and opens the container in the mode specified by openMode. Default
scope object is gooTopDB.
TString name() const
Returns the system name of the referenced container. The string is
statically allocated by the member function and is overwritten with
each invocation (you may wish to copy the string to locally allocated
storage rather than storing the pointer).
ULong_t nPage() const
Returns current number of pages in the container.
Bool_t open(Int_t openMode) const
Opens the referenced container in the access mode specified by
openMode, either kooRead and kooUpdate. The default open mode is
kooRead.
Any number of processes may open the same container for read access
as long as no process has it open for update access. No process may
open a container for update access if any other process has it open for
read access. No other process may open a container if any other process
has it open for update access unless MROW is in effect. The access
restrictions imposed by a process's access to a container applies until
the transaction in which the container was opened is terminated
(either committed or aborted).
Bool_t open(const TString& name,Int_t openMode) const
Opens the referenced container in the access mode specified by
openMode, either kooRead and kooUpdate. The default open mode is
kooRead.
Opens the container specified by system name - name.
Any number of processes may open the same container for read access
as long as no process has it open for update access. No process may
open a container for update access if any other process has it open for
read access. No other process may open a container if any other process
has it open for update access unless MROW is in effect. The access
restrictions imposed by a process's access to a container applies until
the transaction in which the container was opened is terminated
(either committed or aborted).
Bool_t open(const rooDBObj& db,
const TString& name,Int_t openMode) const
Opens the referenced container in the access mode specified by
openMode, either kooRead and kooUpdate. The default open mode is
kooRead.
Opens the container specified by system name and the database
in which the container resides, db.
Any number of processes may open the same container for read access
as long as no process has it open for update access. No process may
open a container for update access if any other process has it open for
read access. No other process may open a container if any other process
has it open for update access unless MROW is in effect. The access
restrictions imposed by a process's access to a container applies until
the transaction in which the container was opened is terminated
(either committed or aborted).
Int_t openMode() const
Returns the mode in which the currently referenced container has been
opened.
ULong_t percentGrow() const
Returns the growth factor for the container. The container grows by
this percent of its current size. The percent growth is set when the
container is created.
void Print(Option_t *option)
print out persistent data for all bject inthis container
void Browse(TBrowser *b)
Browse content of this container
Inline Functions
rooContObj rooContObj(const rooObj&)
rooContObj& operator=(const rooContObj&)
Bool_t IsFolder()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~rooContObj()
Author: Valeriy Onuchin 11/09/2000
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.