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

CdbBdbSConditionAtFolderP Class Reference

Class representing a condition at a view's folder. More...

Inheritance diagram for CdbBdbSConditionAtFolderP:

BdbPersObj List of all members.

Public Member Functions

 ooString (32) name() const
 ooString (32) description() const
BdbTime created () const
CdbBdbSId id () const
 BdbRef (CdbBdbSFolderP) parentFolder() const
 BdbRef (CdbBdbSConfigCollectionP) config() const
CdbStatus find (const BdbTime &theTime, CdbBdbSConfigInterval &theConfigInterval) const
 Find the value of the configuration and its interval of validity...

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


Friends

class CdbBdbSViewP
class CdbBdbSFolderP

Detailed Description

Class representing a condition at a view's folder.

Class CdbBdbSConditionAtFolderP. This persistent class represents "condition at folder" objects, which are plaing two roles:

Definition at line 36 of file CdbBdbSConditionAtFolderP.ddl.


Member Function Documentation

CdbBdbSConditionAtFolderP::BdbRef CdbBdbSConfigCollectionP    const
 

CdbBdbSConditionAtFolderP::BdbRef CdbBdbSFolderP    const
 

Referenced by find().

BdbTime CdbBdbSConditionAtFolderP::created   const
 

Definition at line 57 of file CdbBdbSConditionAtFolderP.cc.

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

Dump the contents of the object.

Definition at line 169 of file CdbBdbSConditionAtFolderP.cc.

CdbStatus CdbBdbSConditionAtFolderP::find const BdbTime   theTime,
CdbBdbSConfigInterval   theConfigInterval
const
 

Find the value of the configuration and its interval of validity...

...where the specified validity time falls into.

NOTES:

  • the local configuration (if any) at the condition's level will take precedence over the view's default configuration.

  • the restriction in the validity interval covered by this view is also taken into account. So the returned interval of the configuration will never exceed these limits.

  • if there is no configuration found for specified time (either due to out-of-supported-range value of the time, or due to missing configuration, which is basically a sign that the view is incomplete) then Cdbstatus::NotFound is returned.
Parameters:
theTime  the validity time
theConfigInterval  the configuration interval to be set up upon completion

Definition at line 81 of file CdbBdbSConditionAtFolderP.cc.

References BdbRef(), CdbBdbSTimeLineInterval< CdbBdbSConfigElement >::begin, CdbBdbSTimeLineInterval< CdbBdbSConfigElement >::end, CdbStatus::NotFound, and CdbStatus::Success.

CdbBdbSId CdbBdbSConditionAtFolderP::id   const
 

Definition at line 63 of file CdbBdbSConditionAtFolderP.cc.

CdbBdbSConditionAtFolderP::ooString 32    const
 

CdbBdbSConditionAtFolderP::ooString 32    const
 


Friends And Related Function Documentation

friend class CdbBdbSFolderP [friend]
 

Definition at line 39 of file CdbBdbSConditionAtFolderP.ddl.

friend class CdbBdbSViewP [friend]
 

Definition at line 38 of file CdbBdbSConditionAtFolderP.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