#include <CdbSQLPartition.hh>
Inheritance diagram for CdbSQLPartition:

Public Member Functions | |
| virtual | ~CdbSQLPartition () |
| Destructor. | |
| CdbCPtr< CdbSQLOrigin > | parent () const |
| Back link to the parent. | |
| unsigned short | id () const |
| unsigned short | originId () const |
| bool | isInstantiated () const |
| bool | isClosed () const |
| BdbTime | created () const |
| BdbTime | modified () const |
| const CdbSQLCell & | cell () const |
| BdbTime | beginValidity () const |
| BdbTime | endValidity () const |
| BdbTime | beginInsertion () const |
| BdbTime | endInsertion () const |
| std::string | description () const |
| bool | isInValidityInterval (const BdbTime &theValidityTime) const |
| Get the cell Find out of the specific validity time is within the partition. | |
| virtual void | dump (const std::string &theIndent="") const |
| Print object's contents onto the Standard Output Stream. | |
| virtual void | dump (std::ostream &os, const std::string &theIndent="") const |
| Print object's contents onto the specified output stream. | |
| virtual CdbStatus | number_of_increments (unsigned short &theNumber)=0 |
| Get the number of increments. | |
| virtual CdbStatus | find_last_increment (CdbCPtr< CdbSQLPartitionIncrement > &thePtr)=0 |
| Find the last increment of the partition. | |
| virtual CdbStatus | find_increment (CdbCPtr< CdbSQLPartitionIncrement > &thePtr, unsigned int thId)=0 |
| Find all increments of the partition. | |
| virtual CdbStatus | increments (std::vector< CdbCPtr< CdbSQLPartitionIncrement > > &theList)=0 |
| Get a list of increments for the partition. | |
| virtual CdbStatus | update (const BdbTime &theUpdateTime)=0 |
| Update the modification time of the partition. | |
Protected Member Functions | |
| CdbSQLPartition (const CdbCPtr< CdbSQLOrigin > &theParentPtr, unsigned short theId, unsigned short theOriginId, bool isInstantiatedFlag, bool isClosedFlag, const BdbTime &theCreationTime, const BdbTime &theModificationTime, const BdbTime &theBeginValidity, const BdbTime &theEndValidity, const BdbTime &theBeginInsertion, const BdbTime &theEndInsertion, const std::string &theDescription) | |
| Normal constructor. | |
| CdbSQLPartition (const CdbSQLPartition &theOther) | |
| Copy constructor. | |
| void | setModified (const BdbTime &theTime) |
| Cange the modification time. | |
This class reresents a partition.
Definition at line 25 of file CdbSQLPartition.hh.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Normal constructor.
Definition at line 21 of file CdbSQLPartition.cc. References CdbCPtr< P, CLOSE_POLICY >::isNull(). |
|
|
Copy constructor. The c-tor is available to the current or derived classes. Its original use would be to implement the "deep" clone mechanism. Definition at line 45 of file CdbSQLPartition.cc. |
|
|
Destructor.
Definition at line 56 of file CdbSQLPartition.cc. |
|
|
Definition at line 91 of file CdbSQLPartition.hh. References CdbSQLCell::beginInsertion. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
|
Definition at line 89 of file CdbSQLPartition.hh. References CdbSQLCell::beginValidity. Referenced by dump(), CdbMySQLPartition::equals(), and isInValidityInterval(). |
|
|
Definition at line 87 of file CdbSQLPartition.hh. Referenced by CdbMySQLPartition::equals(). |
|
|
Definition at line 84 of file CdbSQLPartition.hh. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
|
Definition at line 95 of file CdbSQLPartition.hh. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
||||||||||||
|
Print object's contents onto the specified output stream.
Definition at line 73 of file CdbSQLPartition.cc. References beginInsertion(), beginValidity(), created(), description(), endInsertion(), endValidity(), id(), isClosed(), isInstantiated(), modified(), originId(), and CdbTimeUtils::time2string(). |
|
|
Print object's contents onto the Standard Output Stream.
Definition at line 66 of file CdbSQLPartition.cc. |
|
|
Definition at line 92 of file CdbSQLPartition.hh. References CdbSQLCell::endInsertion. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
|
Definition at line 90 of file CdbSQLPartition.hh. References CdbSQLCell::endValidity. Referenced by dump(), CdbMySQLPartition::equals(), and isInValidityInterval(). |
|
||||||||||||
|
Find all increments of the partition.
Implemented in CdbMySQLPartition. |
|
|
Find the last increment of the partition.
Implemented in CdbMySQLPartition. |
|
|
Definition at line 78 of file CdbSQLPartition.hh. Referenced by dump(), CdbMySQLPartition::equals(), CdbMySQLPartition::find_increment(), CdbMySQLPartition::find_last_increment(), CdbMySQLPartition::increments(), and CdbMySQLPartition::update(). |
|
|
Get a list of increments for the partition.
Implemented in CdbMySQLPartition. |
|
|
Definition at line 82 of file CdbSQLPartition.hh. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
|
Definition at line 81 of file CdbSQLPartition.hh. Referenced by dump(), and CdbMySQLPartition::equals(). |
|
|
Get the cell Find out of the specific validity time is within the partition.
Definition at line 102 of file CdbSQLPartition.hh. References beginValidity(), and endValidity(). |
|
|
Definition at line 85 of file CdbSQLPartition.hh. Referenced by dump(), CdbMySQLPartition::equals(), and CdbMySQLPartition::update(). |
|
|
Get the number of increments.
Implemented in CdbMySQLPartition. |
|
|
Definition at line 79 of file CdbSQLPartition.hh. Referenced by dump(), CdbMySQLPartition::equals(), CdbMySQLPartition::find_increment(), CdbMySQLPartition::find_last_increment(), CdbMySQLPartition::increments(), and CdbMySQLPartition::update(). |
|
|
Back link to the parent.
Definition at line 60 of file CdbSQLPartition.cc. |
|
|
Cange the modification time.
Definition at line 64 of file CdbSQLPartition.hh. Referenced by CdbMySQLPartition::update(). |
|
|
Update the modification time of the partition.
Implemented in CdbMySQLPartition. |
1.3-rc3