#include <Storable.h>
Inheritance diagram for TAO_Storable_Base:
Public Types | |
enum | Storable_State { goodbit = 0, badbit = 1, eofbit = 2, failbit = 4 } |
Public Member Functions | |
TAO_Storable_Base () | |
virtual | ~TAO_Storable_Base () |
virtual void | remove ()=0 |
virtual int | exists ()=0 |
virtual int | open ()=0 |
virtual int | close ()=0 |
virtual int | flock (int whence, int start, int len)=0 |
virtual int | funlock (int whence, int start, int len)=0 |
virtual time_t | last_changed (void)=0 |
void | clear (Storable_State state=goodbit) |
void | setstate (Storable_State state) |
Storable_State | rdstate (void) const |
bool | good (void) const |
bool | bad (void) const |
bool | eof (void) const |
bool | fail (void) const |
virtual TAO_Storable_Base & | operator<< (const TAO_NS_Persistence_Header &header)=0 |
virtual TAO_Storable_Base & | operator<< (const TAO_NS_Persistence_Record &record)=0 |
virtual TAO_Storable_Base & | operator>> (TAO_NS_Persistence_Header &header)=0 |
virtual TAO_Storable_Base & | operator>> (TAO_NS_Persistence_Record &record)=0 |
virtual TAO_Storable_Base & | operator<< (const TAO_NS_Persistence_Global &global)=0 |
virtual TAO_Storable_Base & | operator>> (TAO_NS_Persistence_Global &global)=0 |
Private Attributes | |
Storable_State | state_ |
|
Definition at line 104 of file Storable.h.
|
|
Definition at line 117 of file Storable.inl.
00118 : state_ (goodbit) 00119 { 00120 } |
|
Definition at line 123 of file Storable.inl.
00124 { 00125 } |
|
Definition at line 153 of file Storable.inl. References badbit.
|
|
Definition at line 128 of file Storable.inl. Referenced by setstate().
00129 { 00130 this->state_ = state; 00131 } |
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context::File_Open_Lock_and_Check::File_Open_Lock_and_Check(). |
|
Definition at line 159 of file Storable.inl. References eofbit.
|
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context_Activator::incarnate(). |
|
Definition at line 165 of file Storable.inl. References failbit.
|
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Definition at line 147 of file Storable.inl. References goodbit.
|
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context::File_Open_Lock_and_Check::File_Open_Lock_and_Check(). |
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context::File_Open_Lock_and_Check::File_Open_Lock_and_Check(). |
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Definition at line 141 of file Storable.inl.
00142 { 00143 return this->state_; 00144 } |
|
Implemented in TAO_NS_FlatFileStream. |
|
Definition at line 134 of file Storable.inl. References clear(). Referenced by TAO_NS_FlatFileStream::operator>>().
00135 { 00136 this->clear (static_cast <TAO_Storable_Base::Storable_State> ( 00137 this->rdstate () | state)); 00138 } |
|
Definition at line 143 of file Storable.h. |