B2BITS FIX Antenna HFT
1.0.16
|
#include <MCachedFile.h>
Classes | |
struct | Access |
struct | Params |
Public Types | |
typedef System::FileEx::offset_t | off_type |
typedef System::FileEx::offset_t | offset_t |
typedef System::FileEx::offset_t | pos_type |
typedef int | seek_dir |
typedef System::FileEx::offset_t | size_type |
typedef boost::weak_ptr < SerialAccessImpl > | WeakPtr |
Public Member Functions | |
size_type | claim (void *&buf, size_type size) |
void | close () |
void | commit (size_type size=0) |
bool | eof () const |
std::string | filename () const |
void | flush () |
WeakPtr | getWeakPtr () const |
bool | isOpened () const |
MCachedFile () | |
MCachedFile (WeakPtr &weekPtr) | |
MCachedFile (MCachedFile &other) | |
MCachedFile (const std::string &filename, const std::string &mode, const Params ¶ms=Params()) | |
void | open (const std::string &filename, const std::string &mode, const Params ¶ms=Params()) |
MCachedFile & | operator= (MCachedFile &) |
size_type | read (void *buf, size_type size) |
void | resize (size_type size) |
void | seek (off_type off, seek_dir way) |
size_type | size () const |
void | swap (MCachedFile &other) |
void | sync () |
pos_type | tell () |
bool | timerTick (System::u64 curtime=0) |
size_type | write (const void *buf, size_type size, bool flushStream=false, bool addEOL=false) |
~MCachedFile () | |
Static Public Member Functions | |
static bool | supportsIncrementalLogFileCreation () |
typedef int System::MCachedFile::seek_dir |
typedef boost::weak_ptr<SerialAccessImpl> System::MCachedFile::WeakPtr |
System::MCachedFile::MCachedFile | ( | ) |
|
explicit |
|
explicit |
|
explicit |
System::MCachedFile::~MCachedFile | ( | ) |
void System::MCachedFile::close | ( | ) |
void System::MCachedFile::commit | ( | size_type | size = 0 | ) |
bool System::MCachedFile::eof | ( | ) | const |
std::string System::MCachedFile::filename | ( | ) | const |
void System::MCachedFile::flush | ( | ) |
WeakPtr System::MCachedFile::getWeakPtr | ( | ) | const |
bool System::MCachedFile::isOpened | ( | ) | const |
void System::MCachedFile::open | ( | const std::string & | filename, |
const std::string & | mode, | ||
const Params & | params = Params() |
||
) |
MCachedFile& System::MCachedFile::operator= | ( | MCachedFile & | ) |
void System::MCachedFile::resize | ( | size_type | size | ) |
size_type System::MCachedFile::size | ( | ) | const |
|
inlinestatic |
void System::MCachedFile::swap | ( | MCachedFile & | other | ) |
void System::MCachedFile::sync | ( | ) |
pos_type System::MCachedFile::tell | ( | ) |
bool System::MCachedFile::timerTick | ( | System::u64 | curtime = 0 | ) |