#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 114 of file Storable.inl.
00115 : state_ (goodbit) 00116 { 00117 } |
|
Definition at line 120 of file Storable.inl.
00121 { 00122 } |
|
Definition at line 150 of file Storable.inl. References badbit.
|
|
Definition at line 125 of file Storable.inl. Referenced by TAO_Storable_Naming_Context::load_map(), and setstate().
00126 { 00127 this->state_ = state; 00128 } |
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context::File_Open_Lock_and_Check::File_Open_Lock_and_Check(). |
|
Definition at line 156 of file Storable.inl. References eofbit.
|
|
Implemented in TAO_NS_FlatFileStream. Referenced by TAO_Storable_Naming_Context_Activator::incarnate(). |
|
Definition at line 162 of file Storable.inl. References failbit.
|
|
Implemented in TAO_NS_FlatFileStream. |
|
Implemented in TAO_NS_FlatFileStream. |
|
Definition at line 144 of file Storable.inl. References goodbit. Referenced by TAO_Storable_Naming_Context::load_map().
|
|
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 138 of file Storable.inl.
00139 { 00140 return this->state_; 00141 } |
|
Implemented in TAO_NS_FlatFileStream. |
|
Definition at line 131 of file Storable.inl. References clear(). Referenced by TAO_NS_FlatFileStream::operator>>().
00132 { 00133 this->clear (static_cast <TAO_Storable_Base::Storable_State> ( 00134 this->rdstate () | state)); 00135 } |
|
Definition at line 143 of file Storable.h. |