B2BITS FIX Antenna HFT  1.0.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Engine::IndexFileJava Class Reference

#include <IndexFileJava.h>

+ Inheritance diagram for Engine::IndexFileJava:
+ Collaboration diagram for Engine::IndexFileJava:

Public Types

typedef System::FileEx::offset_t Offset
 
typedef System::u64 Position
 
typedef System::u64 Size
 

Public Member Functions

Position getCurrentIndexOffset ()
 
virtual Size getSize () throw ()
 
 IndexFileJava (System::FileEx *file, bool chunkAlloc, bool readOnly=false, bool init=true)
 
bool next (IndexFileJava_Block *data)
 
virtual bool read (IndexFileJava_Block *data)
 
virtual void seekTo (Offset offset)
 
Position tell () const throw ()
 
virtual void toBegin ()
 
virtual void toEnd ()
 
virtual Size write (const IndexFileJava_Block &data, bool flush=false)
 

Static Public Member Functions

static bool readBlockData (IndexFileJava_Block &data, System::FileEx *file)
 

Static Public Attributes

static const size_t BLOCK_SIZE = sizeof(IndexFileJava_Block)
 

Protected Member Functions

virtual void initialize ()
 

Static Protected Member Functions

static void swapBlockData (IndexFileJava_Block &data)
 

Protected Attributes

Position cur_ind_offset_
 
Block curBlockData_
 
System::FileExfile_
 
std::string filename_
 
const bool readonly_
 

Member Typedef Documentation

Constructor & Destructor Documentation

Engine::IndexFileJava::IndexFileJava ( System::FileEx file,
bool  chunkAlloc,
bool  readOnly = false,
bool  init = true 
)

Member Function Documentation

Position Engine::IndexFileJava::getCurrentIndexOffset ( )
inline
virtual Size Engine::IndexFileJava::getSize ( )
throw (
)
virtual

Reimplemented in Engine::IndexFileJavaMMF.

virtual void Engine::IndexFileJava::initialize ( )
protectedvirtual

Reimplemented in Engine::IndexFileJavaMMF.

bool Engine::IndexFileJava::next ( IndexFileJava_Block data)
virtual bool Engine::IndexFileJava::read ( IndexFileJava_Block data)
virtual

Reimplemented in Engine::IndexFileJavaMMF.

static bool Engine::IndexFileJava::readBlockData ( IndexFileJava_Block data,
System::FileEx file 
)
static
virtual void Engine::IndexFileJava::seekTo ( Offset  offset)
virtual

Reimplemented in Engine::IndexFileJavaMMF.

static void Engine::IndexFileJava::swapBlockData ( IndexFileJava_Block data)
staticprotected
Position Engine::IndexFileJava::tell ( ) const
throw (
)
virtual void Engine::IndexFileJava::toBegin ( )
virtual

Reimplemented in Engine::IndexFileJavaMMF.

virtual void Engine::IndexFileJava::toEnd ( )
virtual

Reimplemented in Engine::IndexFileJavaMMF.

virtual Size Engine::IndexFileJava::write ( const IndexFileJava_Block data,
bool  flush = false 
)
virtual

Reimplemented in Engine::IndexFileJavaMMF.

Member Data Documentation

const size_t Engine::IndexFileJava::BLOCK_SIZE = sizeof(IndexFileJava_Block)
static
Position Engine::IndexFileJava::cur_ind_offset_
protected
Block Engine::IndexFileJava::curBlockData_
protected
System::FileEx& Engine::IndexFileJava::file_
protected
std::string Engine::IndexFileJava::filename_
protected
const bool Engine::IndexFileJava::readonly_
protected