Persistent store definition
Inheritance:
Public Methods
-
FXStream(const FXObject* cont=NULL)
- Constructor
-
FXbool open(FXStreamDirection save_or_load)
- Open archive return TRUE if OK
-
FXbool close()
- Close; return TRUE if OK
-
FXStreamStatus status() const
- Get status code
-
void setError(FXStreamStatus err)
- Set status code
-
FXStreamDirection direction() const
- Obtain direction
-
const FXObject* container() const
- Get parent object
-
unsigned long position() const
- Get position
-
virtual FXbool position(unsigned long p)
- Move to position
-
void swapBytes(FXbool s)
- Change swap bytes flag
-
FXbool swapBytes() const
- Get swap bytes flag
-
static FXbool isLittleEndian()
- Return implementation's endianness
-
virtual FXStream& operator<<(const FXuchar& v)
- Save to stream
-
FXStream& saveObject(const FXObject* v)
- Save object
-
virtual FXStream& operator>>(FXuchar& v)
- Load from stream
-
FXStream& loadObject(FXObject*& v)
- Load object
-
virtual ~FXStream()
- Destructor
Protected Methods
-
virtual void saveItems(const void* buf, FXuint n)
- Save bunch of items
-
virtual void loadItems(void* buf, FXuint n)
- Load bunch of items
Documentation
Persistent store definition
virtual void saveItems(const void* buf, FXuint n)
- Save bunch of items
virtual void loadItems(void* buf, FXuint n)
- Load bunch of items
FXStream(const FXObject* cont=NULL)
- Constructor
FXbool open(FXStreamDirection save_or_load)
- Open archive return TRUE if OK
FXbool close()
- Close; return TRUE if OK
FXStreamStatus status() const
- Get status code
void setError(FXStreamStatus err)
- Set status code
FXStreamDirection direction() const
- Obtain direction
const FXObject* container() const
- Get parent object
unsigned long position() const
- Get position
virtual FXbool position(unsigned long p)
- Move to position
void swapBytes(FXbool s)
- Change swap bytes flag
FXbool swapBytes() const
- Get swap bytes flag
static FXbool isLittleEndian()
- Return implementation's endianness
virtual FXStream& operator<<(const FXuchar& v)
- Save to stream
FXStream& saveObject(const FXObject* v)
- Save object
virtual FXStream& operator>>(FXuchar& v)
- Load from stream
FXStream& loadObject(FXObject*& v)
- Load object
virtual ~FXStream()
- Destructor
- Direct child classes:
- FXMemoryStream
FXGzFileStream
FXFileStream
FXBzMemoryStream
FXBzFileStream
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.