fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::Prec Struct Reference

File persister. More...

#include <persist.hpp>

Public Member Functions

 Prec (const off_t offset, const int32_t size)
 
 Prec ()
 
Precoperator= (const Prec &that)
 

Public Attributes

off_t _offset
 
int32_t _size
 

Friends

std::ostream & operator<< (std::ostream &os, const Prec &what)
 

Detailed Description

File persister.

Definition at line 357 of file persist.hpp.

Constructor & Destructor Documentation

FIX8::Prec::Prec ( const off_t  offset,
const int32_t  size 
)
inline

Definition at line 359 of file persist.hpp.

359 : _offset(offset), _size(size) {}
int32_t _size
Definition: persist.hpp:362
off_t _offset
Definition: persist.hpp:361
FIX8::Prec::Prec ( )
inline

Definition at line 360 of file persist.hpp.

360 : _offset(), _size() {}
int32_t _size
Definition: persist.hpp:362
off_t _offset
Definition: persist.hpp:361

Member Function Documentation

Prec& FIX8::Prec::operator= ( const Prec that)
inline

Definition at line 364 of file persist.hpp.

References _offset, and _size.

365  {
366  if (this != &that)
367  {
368  _offset = that._offset;
369  _size = that._size;
370  }
371  return *this;
372  }
int32_t _size
Definition: persist.hpp:362
off_t _offset
Definition: persist.hpp:361

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Prec what 
)
friend

Definition at line 374 of file persist.hpp.

375  { return os << "offset:" << what._offset << " size:" << what._size; }

Member Data Documentation

off_t FIX8::Prec::_offset

Definition at line 361 of file persist.hpp.

Referenced by main(), and operator=().

int32_t FIX8::Prec::_size

Definition at line 362 of file persist.hpp.

Referenced by main(), and operator=().


The documentation for this struct was generated from the following file: