B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
Engine::FastFileT< FileT > Class Template Reference

#include <LogMsgFile.h>

Public Types

typedef System::u64 Offset
 

Public Member Functions

void close ()
 
bool eof ()
 
 FastFileT (FileT &file, bool chunkAlloc, Offset inc)
 
void flush ()
 
Offset getFileSize () const
 
Offset getSize () const
 
bool hasMoreData (int size)
 
void increase (Offset inc)
 
bool isOpened () const
 
std::size_t read (void *buf, std::size_t size)
 
void seek (Offset offset, int origin)
 
void setSize (Offset size)
 
void sync ()
 
Offset tell () const
 
std::size_t write (const void *buf, std::size_t size, bool flushStream=false, bool addEOL=false)
 
 ~FastFileT ()
 

Member Typedef Documentation

template<typename FileT>
typedef System::u64 Engine::FastFileT< FileT >::Offset

Constructor & Destructor Documentation

template<typename FileT>
Engine::FastFileT< FileT >::FastFileT ( FileT &  file,
bool  chunkAlloc,
Offset  inc 
)
template<typename FileT >
Engine::FastFileT< FileT >::~FastFileT ( )

Member Function Documentation

template<typename FileT >
void Engine::FastFileT< FileT >::close ( )
template<typename FileT >
bool Engine::FastFileT< FileT >::eof ( )
template<typename FileT >
void Engine::FastFileT< FileT >::flush ( )
template<typename FileT >
Engine::FastFileT< FileT >::Offset Engine::FastFileT< FileT >::getFileSize ( ) const
template<typename FileT >
Engine::FastFileT< FileT >::Offset Engine::FastFileT< FileT >::getSize ( ) const
template<typename FileT >
bool Engine::FastFileT< FileT >::hasMoreData ( int  size)
template<typename FileT >
void Engine::FastFileT< FileT >::increase ( Offset  inc)
template<typename FileT >
bool Engine::FastFileT< FileT >::isOpened ( ) const
template<typename FileT>
size_t Engine::FastFileT< FileT >::read ( void *  buf,
std::size_t  size 
)

!!

template<typename FileT >
void Engine::FastFileT< FileT >::seek ( Offset  offset,
int  origin 
)
template<typename FileT >
void Engine::FastFileT< FileT >::setSize ( Offset  size)
template<typename FileT >
void Engine::FastFileT< FileT >::sync ( )
template<typename FileT >
Engine::FastFileT< FileT >::Offset Engine::FastFileT< FileT >::tell ( ) const
template<typename FileT>
size_t Engine::FastFileT< FileT >::write ( const void *  buf,
std::size_t  size,
bool  flushStream = false,
bool  addEOL = false 
)