#include <Storable.h>
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_ |
TAO_Storable_Base::TAO_Storable_Base | ( | ) | [inline] |
TAO_Storable_Base::~TAO_Storable_Base | ( | ) | [inline, virtual] |
bool TAO_Storable_Base::bad | ( | void | ) | const [inline] |
void TAO_Storable_Base::clear | ( | TAO_Storable_Base::Storable_State | state = goodbit |
) | [inline] |
virtual int TAO_Storable_Base::close | ( | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
bool TAO_Storable_Base::eof | ( | void | ) | const [inline] |
virtual int TAO_Storable_Base::exists | ( | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
bool TAO_Storable_Base::fail | ( | void | ) | const [inline] |
virtual int TAO_Storable_Base::flock | ( | int | whence, | |
int | start, | |||
int | len | |||
) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual int TAO_Storable_Base::funlock | ( | int | whence, | |
int | start, | |||
int | len | |||
) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
bool TAO_Storable_Base::good | ( | void | ) | const [inline] |
virtual time_t TAO_Storable_Base::last_changed | ( | void | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual int TAO_Storable_Base::open | ( | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator<< | ( | const TAO_NS_Persistence_Global & | global | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator<< | ( | const TAO_NS_Persistence_Record & | record | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator<< | ( | const TAO_NS_Persistence_Header & | header | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator>> | ( | TAO_NS_Persistence_Global & | global | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator>> | ( | TAO_NS_Persistence_Record & | record | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
virtual TAO_Storable_Base& TAO_Storable_Base::operator>> | ( | TAO_NS_Persistence_Header & | header | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
TAO_Storable_Base::Storable_State TAO_Storable_Base::rdstate | ( | void | ) | const [inline] |
virtual void TAO_Storable_Base::remove | ( | ) | [pure virtual] |
Implemented in TAO_NS_FlatFileStream.
void TAO_Storable_Base::setstate | ( | TAO_Storable_Base::Storable_State | state | ) | [inline] |
Storable_State TAO_Storable_Base::state_ [private] |