Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbSFolderP Class Reference

Persistent folder class at teh persistent view. More...

Inheritance diagram for CdbBdbSFolderP:

BdbPersObj List of all members.

Public Member Functions

 ooString (32) name() const
 ooString (32) description() const
BdbTime created () const
 BdbRef (CdbBdbSViewP) parentView() const
 BdbRef (CdbBdbSFolderP) parentFolder() const
CdbStatus findFolder (const CdbPathName &thePathName, BdbRef(CdbBdbSFolderP)&theRef) const
 Find the folder.

CdbStatus findCondition (const CdbPathName &thePathName, BdbRef(CdbBdbSConditionAtFolderP)&theRef) const
 Find the condition.

CdbStatus folderIterator (CdbItr< const char * > &theItr) const
 Set up an iterator of folder names.

CdbStatus conditionIterator (CdbItr< const char * > &theItr) const
 Set up an iterator of condition names.

void dump (std::ostream &o) const
 Dump the contents of the object.


Friends

class CdbBdbSViewP

Detailed Description

Persistent folder class at teh persistent view.

Folders may own other folders or persistent conditions.

Definition at line 28 of file CdbBdbSFolderP.ddl.


Member Function Documentation

CdbBdbSFolderP::BdbRef CdbBdbSFolderP    const
 

CdbBdbSFolderP::BdbRef CdbBdbSViewP    const
 

Referenced by findCondition(), and findFolder().

CdbStatus CdbBdbSFolderP::conditionIterator CdbItr< const char * > &    theItr const
 

Set up an iterator of condition names.

Parameters:
theItr  the value of the iterator be set up

Definition at line 648 of file CdbBdbSFolderP.cc.

References CdbStatus::Success.

BdbTime CdbBdbSFolderP::created   const
 

Definition at line 88 of file CdbBdbSFolderP.cc.

void CdbBdbSFolderP::dump std::ostream &    o const
 

Dump the contents of the object.

Definition at line 659 of file CdbBdbSFolderP.cc.

CdbStatus CdbBdbSFolderP::findCondition const CdbPathName   thePathName,
BdbRef(CdbBdbSConditionAtFolderP)&    theRef
const
 

Find the condition.

This operation requires the relative path to the required object. Upon successfull completion it will return CdbStatus::Success. If the object is not found CdbStatus::NotFound will be returned, The error status will be returned in other cases.

Parameters:
thePathName  the relative path name to the condition
theRef  the reference to the found object to be set up

Definition at line 553 of file CdbBdbSFolderP.cc.

References CdbPathName::afterFirst(), BdbRef(), CdbStatus::Error, CdbPathName::first(), CdbPathName::isAbsolute(), CdbPathName::isComposite(), CdbPathName::isValid(), CdbStatus::NotFound, CdbStatus::Success, and CdbPathName::toString().

CdbStatus CdbBdbSFolderP::findFolder const CdbPathName   thePathName,
BdbRef(CdbBdbSFolderP)&    theRef
const
 

Find the folder.

This operation requires the relative path to the required object. Upon successfull completion it will return CdbStatus::Success. If the object is not found CdbStatus::NotFound will be returned, The error status will be returned in other cases.

Parameters:
thePathName  the relative path name to the folder
theRef  the reference to the found object to be set up

Definition at line 498 of file CdbBdbSFolderP.cc.

References CdbPathName::afterFirst(), BdbRef(), CdbStatus::Error, CdbPathName::first(), CdbPathName::isAbsolute(), CdbPathName::isComposite(), CdbPathName::isValid(), CdbStatus::NotFound, CdbStatus::Success, and CdbPathName::toString().

Referenced by CdbBdbSViewP::findFolder().

CdbStatus CdbBdbSFolderP::folderIterator CdbItr< const char * > &    theItr const
 

Set up an iterator of folder names.

Parameters:
theItr  the value of the iterator be set up

Definition at line 637 of file CdbBdbSFolderP.cc.

References CdbStatus::Success.

CdbBdbSFolderP::ooString 32    const
 

CdbBdbSFolderP::ooString 32    const
 


Friends And Related Function Documentation

friend class CdbBdbSViewP [friend]
 

Definition at line 30 of file CdbBdbSFolderP.ddl.


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:19 2005 for CDB by doxygen1.3-rc3