#include <Index.hpp>
◆ Index() [1/2]
| pocolog_cpp::Index::Index |
( |
std::string |
indexFileName, |
|
|
size_t |
streamIdx |
|
) |
| |
◆ Index() [2/2]
◆ ~Index()
| pocolog_cpp::Index::~Index |
( |
| ) |
|
◆ addSample()
| void pocolog_cpp::Index::addSample |
( |
off_t |
filePosition, |
|
|
const base::Time & |
sampleTime |
|
) |
| |
◆ getDescriptionPos()
| std::streampos pocolog_cpp::Index::getDescriptionPos |
( |
| ) |
const |
|
inline |
◆ getFirstSampleTime()
| const base::Time& pocolog_cpp::Index::getFirstSampleTime |
( |
| ) |
const |
|
inline |
◆ getLastSampleTime()
| const base::Time& pocolog_cpp::Index::getLastSampleTime |
( |
| ) |
const |
|
inline |
◆ getName()
| std::string pocolog_cpp::Index::getName |
( |
| ) |
|
|
inline |
◆ getNumSamples()
| size_t pocolog_cpp::Index::getNumSamples |
( |
| ) |
const |
|
inline |
◆ getPrologueSize()
| off_t pocolog_cpp::Index::getPrologueSize |
( |
| ) |
|
|
static |
Returns the size of the prologue written to the file
◆ getSamplePos()
| std::streampos pocolog_cpp::Index::getSamplePos |
( |
size_t |
sampleNr | ) |
|
◆ getSampleTime()
| base::Time pocolog_cpp::Index::getSampleTime |
( |
size_t |
sampleNr | ) |
|
◆ matches()
◆ writeIndexToFile()
| off_t pocolog_cpp::Index::writeIndexToFile |
( |
std::fstream & |
indexFile, |
|
|
off_t |
prologPos, |
|
|
off_t |
indexDataPos |
|
) |
| |
Writes the index to the Index File.
- Parameters
-
| prologPos | position, from the start of the file, where to write the prologue |
| indexDataPos | position, from the start of the file, were to write the index data |
- Returns
- the offset from the start of the file, were the index Data ENDS + 1
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-tools-pocolog-cpp-0.20180329/src/Index.hpp
- /build/rock-master-18.09-tools-pocolog-cpp-0.20180329/src/Index.cpp