XFace::FAPFile Class Reference
[XFace]
#include <FapFile.h>
Inheritance diagram for XFace::FAPFile:
![](classXFace_1_1FAPFile.png)
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- June 2003
Public Member Functions | |
bool | isEnd () const |
query open | |
bool | isOpen () const |
query open | |
void | next () |
void | rewind () |
bool | open (std::istream &input, const FAPU &fapu) |
open/read the stream | |
virtual size_t | getFAPCount () const |
Retrieves FAP count. | |
Static Public Member Functions | |
static bool | save (IFapStream &faps, const FAPU &fapu, const std::string &filename) |
Saves fap stream to disk. |
Member Function Documentation
|
Advances the current FAP to the next one. If we are at the end of the stream, pointer to current FAP is set to 0, so getCurrentFAP() call following it will return 0. So this code is legal (althoug it does nothing but goes to the end of the fap stream only); while(pFAPs->getCurrentFAP())
{
pFAPs->next();
};
Implements XFace::IFapStream. |
|
Rewinds the stream to the first FAP in the stream. Implements XFace::IFapStream. |
|
Saves a FAP stream to disk. |
The documentation for this class was generated from the following files:
- FapFile.h
- FapFile.cpp
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by
![doxygen](doxygen.png)