![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members BdbTreeNodeP Class Reference
[BdbTrees]Inheritance diagram for BdbTreeNodeP:
List of all members.
Public Methods
virtual ~BdbTreeNodeP () BdbRef (BdbMap) children() const d_ULong count () const const char * pathName () const const char * fullName () const const char * name () const BdbStatus add (BdbHandle(BdbPersObj)&aChild, const char *const theName) BdbStatus child (BdbHandle(BdbPersObj)&aChild, const char *const theName) const BdbStatus child (BdbHandle(BdbPersObj)&aChild, const char *const theName, ooTypeNumber theType) const BdbStatus child (BdbHandle(BdbPersObj)&aChild, const char *const theName, ooTypeNumber theTypes[], d_ULong numTypes) const BdbStatus clear () BdbStatus clearAndDestroy () d_Boolean hasChild (const char *const theName) const d_Boolean hasChild (BdbHandle(BdbPersObj)&aChild, d_Boolean descend=d_False) const d_Boolean childIsTreeNode (const char *const theName) const BdbStatus makeChild (BdbHandle(BdbTreeNodeP)&aNode, const char *const theName) BdbStatus parent (BdbHandle(BdbTreeNodeP)&theParent) const BdbStatus remove (const char *const theName) BdbStatus remove (BdbHandle(BdbPersObj)&aChild) BdbStatus removeAndDestroy (const char *const theName) BdbStatus removeAndDestroy (BdbHandle(BdbPersObj)&aChild) BdbStatus replace (BdbHandle(BdbPersObj)&aChild, const char *const theName) BdbStatus root (BdbHandle(BdbTreeNodeP)&theRoot) const BdbStatus cloneChildren (BdbHandle(BdbTreeNodeP)&theOther) BdbStatus upgradeName () BdbStatus fetchMetaData (BdbHandle(BdbMetaDataP)&theMetaData) BdbStatus metaData (BdbHandle(BdbMetaDataP)&theMetaData) const Static Public Methods
d_Boolean isTreeNode (BdbHandle(BdbPersObj)&theItem) d_Boolean isTreeNode (BdbRef(BdbPersObj)&theItem) d_Boolean isValid (const char *const theName) Public Attributes
BdbHintDeclare Protected Methods
BdbTreeNodeP (const char *const theName) BdbTreeNodeP (BdbHandle(BdbTreeNodeP)&theParent, const char *const theName) BdbStatus item (BdbHandle(BdbTreeNodeItemP)&anItem, const char *const theName) const BdbStatus setParent (BdbHandle(BdbTreeNodeP)&theParent, const char *const theName) void initialize (const char *const theName) Private Methods
BdbRef (BdbMap) _children BdbRef (BdbTreeNodeP) _parent BdbRef (BdbMetaDataP) _metadata Private Attributes
BdbTString _name Friends
class BdbTreeNode Constructor & Destructor Documentation
BdbTreeNodeP::~BdbTreeNodeP ( ) [virtual]
Definition at line 120 of file BdbTreeNodeP.cc.
BdbTreeNodeP::BdbTreeNodeP ( const char *const theName ) [protected]
Definition at line 679 of file BdbTreeNodeP.cc.
References initialize().
Referenced by makeChild().
BdbTreeNodeP::BdbTreeNodeP ( BdbHandle(BdbTreeNodeP)& theParent, const char *const theName ) [protected]
Definition at line 684 of file BdbTreeNodeP.cc.
References initialize(), and setParent().
Member Function Documentation
BdbStatus BdbTreeNodeP::add ( BdbHandle(BdbPersObj)& aChild, const char *const theName )
Definition at line 264 of file BdbTreeNodeP.cc.
References BdbcError, BdbcUserError, BdbHandle, BdbSignal, BdbStatus, isValid(), and result.
Referenced by makeChild(), and replace().
BdbTreeNodeP::BdbRef ( BdbMetaDataP ) [private]
BdbTreeNodeP::BdbRef ( BdbTreeNodeP ) [private]
BdbTreeNodeP::BdbRef ( BdbMap ) [private]
BdbTreeNodeP::BdbRef ( BdbMap ) const
Referenced by clear(), clearAndDestroy(), cloneChildren(), hasChild(), parent(), remove(), and removeAndDestroy().
BdbStatus BdbTreeNodeP::child ( BdbHandle(BdbPersObj)& aChild, const char *const theName, ooTypeNumber theTypes[], d_ULong numTypes ) const
Definition at line 321 of file BdbTreeNodeP.cc.
References BdbcError, BdbcRead, BdbcSuccess, BdbHandle, BdbIsNull, BdbStatus, and result.
BdbStatus BdbTreeNodeP::child ( BdbHandle(BdbPersObj)& aChild, const char *const theName, ooTypeNumber theType ) const
Definition at line 299 of file BdbTreeNodeP.cc.
References BdbcError, BdbcRead, BdbHandle, BdbIsNull, BdbStatus, and result.
BdbStatus BdbTreeNodeP::child ( BdbHandle(BdbPersObj)& aChild, const char *const theName ) const
Definition at line 282 of file BdbTreeNodeP.cc.
References BdbcError, BdbcRead, BdbHandle, BdbIsNull, BdbStatus, and result.
d_Boolean BdbTreeNodeP::childIsTreeNode ( const char *const theName ) const
Definition at line 348 of file BdbTreeNodeP.cc.
References BdbcRead, BdbHandle, BdbIsNull, d_False, and result.
BdbStatus BdbTreeNodeP::clear ( )
Definition at line 362 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbDelete, BdbMap, BdbRef(), BdbStatus, ooHandle(), result, and theMap.
Referenced by ~BdbTreeNodeP().
BdbStatus BdbTreeNodeP::clearAndDestroy ( )
Definition at line 381 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbDelete, BdbHandle, BdbMap, BdbRef(), BdbStatus, ooHandle(), result, and theMap.
BdbStatus BdbTreeNodeP::cloneChildren ( BdbHandle(BdbTreeNodeP)& theOther )
Definition at line 582 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbcUserError, BdbHandle, BdbHandleAny, BdbIsNull, BdbMap, BdbRef(), BdbSignal, BdbStatus, fetchMetaData(), metaData(), and result.
d_ULong BdbTreeNodeP::count ( )
Definition at line 136 of file BdbTreeNodeP.cc.
BdbStatus BdbTreeNodeP::fetchMetaData ( BdbHandle(BdbMetaDataP)& theMetaData )
Definition at line 647 of file BdbTreeNodeP.cc.
References BdbcError, BdbcSuccess, BdbHandle, BdbIsNull, BdbStatus, name(), and result.
Referenced by cloneChildren().
const char * BdbTreeNodeP::fullName ( )
Definition at line 184 of file BdbTreeNodeP.cc.
References _name, BdbHandle, BdbIsNull, BdbStatus, BdbTString::chars(), and result.
Referenced by upgradeName().
d_Boolean BdbTreeNodeP::hasChild ( BdbHandle(BdbPersObj)& aChild, d_Boolean descend = d_False ) const
Definition at line 418 of file BdbTreeNodeP.cc.
References BdbcError, BdbcSuccess, BdbHandle, BdbIsNull, BdbRef(), BdbStatus, result, and theMap.
d_Boolean BdbTreeNodeP::hasChild ( const char *const theName ) const
Definition at line 408 of file BdbTreeNodeP.cc.
void BdbTreeNodeP::initialize ( const char *const theName ) [protected]
Definition at line 736 of file BdbTreeNodeP.cc.
References _name, BdbcUserError, BdbHandle, BdbIsNull, BdbMap, BdbSignal, and theMap.
Referenced by BdbTreeNodeP().
d_Boolean BdbTreeNodeP::isTreeNode ( BdbRef(BdbPersObj)& theItem ) [static]
Definition at line 87 of file BdbTreeNodeP.cc.
d_Boolean BdbTreeNodeP::isTreeNode ( BdbHandle(BdbPersObj)& theItem ) [static]
Definition at line 73 of file BdbTreeNodeP.cc.
References d_False, d_True, and result.
Referenced by BdbTreeNodeItemP::BdbTreeNodeItemP(), BdbCollectionCommand::listNodeHandler(), BdbTreeNode::moveToRoot(), and BdbCollectionTInspector::scan().
d_Boolean BdbTreeNodeP::isValid ( const char *const theName ) [static]
Definition at line 100 of file BdbTreeNodeP.cc.
References d_False, d_True, and result.
Referenced by add(), and setParent().
BdbStatus BdbTreeNodeP::item ( BdbHandle(BdbTreeNodeItemP)& anItem, const char *const theName ) const [protected]
Definition at line 693 of file BdbTreeNodeP.cc.
References BdbcError, BdbcRead, BdbcSuccess, BdbIsNull, BdbStatus, and result.
Referenced by makeChild(), remove(), and removeAndDestroy().
BdbStatus BdbTreeNodeP::makeChild ( BdbHandle(BdbTreeNodeP)& aNode, const char *const theName )
Definition at line 450 of file BdbTreeNodeP.cc.
References add(), BdbcError, BdbcSuccess, BdbHandle, BdbHandleAny, BdbIsNull, BdbStatus, BdbTreeNodeP(), item(), and result.
BdbStatus BdbTreeNodeP::metaData ( BdbHandle(BdbMetaDataP)& theMetaData ) const
Definition at line 665 of file BdbTreeNodeP.cc.
References BdbcSuccess.
Referenced by cloneChildren().
const char * BdbTreeNodeP::name ( )
Definition at line 225 of file BdbTreeNodeP.cc.
References _name, BdbTString::chars(), and result.
Referenced by fetchMetaData().
BdbStatus BdbTreeNodeP::parent ( BdbHandle(BdbTreeNodeP)& theParent ) const
Definition at line 476 of file BdbTreeNodeP.cc.
References BdbcError, BdbcSuccess, BdbIsNull, BdbRef(), BdbStatus, and result.
Referenced by root().
const char * BdbTreeNodeP::pathName ( )
Definition at line 142 of file BdbTreeNodeP.cc.
References _name, BdbHandle, BdbIsNull, BdbStatus, BdbTString::chars(), and result.
BdbStatus BdbTreeNodeP::remove ( BdbHandle(BdbPersObj)& aChild )
Definition at line 500 of file BdbTreeNodeP.cc.
References BdbcError, BdbcSuccess, BdbHandle, BdbRef(), BdbStatus, remove(), and result.
BdbStatus BdbTreeNodeP::remove ( const char *const theName )
Definition at line 489 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbDelete, BdbHandle, BdbStatus, item(), and result.
BdbStatus BdbTreeNodeP::removeAndDestroy ( BdbHandle(BdbPersObj)& aChild )
Definition at line 541 of file BdbTreeNodeP.cc.
References BdbcError, BdbcSuccess, BdbRef(), BdbStatus, removeAndDestroy(), and result.
BdbStatus BdbTreeNodeP::removeAndDestroy ( const char *const theName )
Definition at line 522 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbDelete, BdbHandle, BdbStatus, item(), and result.
Referenced by removeAndDestroy().
BdbStatus BdbTreeNodeP::replace ( BdbHandle(BdbPersObj)& aChild, const char *const theName )
Definition at line 562 of file BdbTreeNodeP.cc.
BdbStatus BdbTreeNodeP::root ( BdbHandle(BdbTreeNodeP)& theRoot ) const
Definition at line 570 of file BdbTreeNodeP.cc.
References BdbcSuccess, BdbHandle, BdbIsNull, BdbStatus, and parent().
BdbStatus BdbTreeNodeP::setParent ( BdbHandle(BdbTreeNodeP)& theParent, const char *const theName ) [protected]
Definition at line 707 of file BdbTreeNodeP.cc.
References _name, BdbcError, BdbcUserError, BdbSignal, BdbStatus, isValid(), and result.
Referenced by BdbTreeNodeP().
BdbStatus BdbTreeNodeP::upgradeName ( )
Definition at line 624 of file BdbTreeNodeP.cc.
References _name, BdbcError, BdbcSuccess, BdbStatus, fullName(), and result.
Friends And Related Function Documentation
friend class BdbTreeNode [friend]
Definition at line 120 of file BdbTreeNodeP.ddl.
Member Data Documentation
BdbTString BdbTreeNodeP::_name [private]
Definition at line 136 of file BdbTreeNodeP.ddl.
Referenced by fullName(), initialize(), name(), pathName(), setParent(), and upgradeName().
BdbTreeNodeP::BdbHintDeclare
Definition at line 58 of file BdbTreeNodeP.ddl.
The documentation for this class was generated from the following files:
- /BdbTrees/BdbTreeNodeP.ddl
- /BdbTrees/BdbTreeNodeP.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002