AppCore
Loading...
Searching...
No Matches
Functions | Variables
cardeventcreator.cpp File Reference
#include "cardeventcreator.h"
#include <map>
#include <vector>
#include "factory.h"
#include <cstring>
#include "cardeventidxfilemanager.h"
Include dependency graph for cardeventcreator.cpp:

Functions

 ~CardEventCreatorPr ()
 
static std::string ExtractPathFromFileName (std::string fileName)
 
static void DeleteEvent (CardEventIdxFileManager *idxManager, CardEventDatFileManager *datManager, std::vector< CardEventIdxFileRecordData * > *indexRecords, unsigned long deletedCardEventID, long long snr)
 
static void RemoveIndexRecord (std::vector< CardEventIdxFileRecordData * > *indexRecords, long long snr, unsigned long offsetToDat)
 
static bool ExistsTheSameEvent (CardEventIdxFileManager *idxManager, CardEventDatFileManager *datManager, long long snr, unsigned long cardEventID)
 
static void InsertEventToIndexes (std::vector< CardEventIdxFileRecordData * > *indexRecords, long long snr, unsigned long offset)
 
static void WriteNewIndexFile (const std::string &path_old, std::vector< CardEventIdxFileRecordData * > *indexRecords, CardEventIdxFileManager *idxManagerUpd)
 
static void RenameUpdateFiles (std::string pathOld, std::string pathUpd)
 

Variables

__ECLASS CardEventCreatorPr
 
CardEventDatFileManagermDatMgr
 
CardEventCol __EDATAPTR cardEvents
 
unsigned long mFilePosition
 

Function Documentation

◆ DeleteEvent()

void CardEventCreatorPr::DeleteEvent ( CardEventIdxFileManager idxManager,
CardEventDatFileManager datManager,
std::vector< CardEventIdxFileRecordData * > *  indexRecords,
unsigned long  deletedCardEventID,
long long  snr 
)
static
Here is the call graph for this function:

◆ ExistsTheSameEvent()

bool CardEventCreatorPr::ExistsTheSameEvent ( CardEventIdxFileManager idxManager,
CardEventDatFileManager datManager,
long long  snr,
unsigned long  cardEventID 
)
static
Here is the call graph for this function:

◆ ExtractPathFromFileName()

static std::string ExtractPathFromFileName ( std::string  fileName)
static

◆ InsertEventToIndexes()

void CardEventCreatorPr::InsertEventToIndexes ( std::vector< CardEventIdxFileRecordData * > *  indexRecords,
long long  snr,
unsigned long  offset 
)
static

◆ RemoveIndexRecord()

void CardEventCreatorPr::RemoveIndexRecord ( std::vector< CardEventIdxFileRecordData * > *  indexRecords,
long long  snr,
unsigned long  offsetToDat 
)
static
Here is the caller graph for this function:

◆ RenameUpdateFiles()

void CardEventCreatorPr::RenameUpdateFiles ( std::string  pathOld,
std::string  pathUpd 
)
static

◆ WriteNewIndexFile()

void CardEventCreatorPr::WriteNewIndexFile ( const std::string &  path_old,
std::vector< CardEventIdxFileRecordData * > *  indexRecords,
CardEventIdxFileManager idxManagerUpd 
)
static

nastavim platnost podla updatoveho suboru

Here is the call graph for this function:

◆ ~CardEventCreatorPr()

CardEventCreatorPr::~CardEventCreatorPr ( )

Variable Documentation

◆ CardEventCreatorPr

__ECLASS CardEventCreatorPr
Initial value:
{
public:
Definition cardeventidxfilemanager.h:76

◆ cardEvents

◆ mDatMgr

◆ mFilePosition

unsigned long mFilePosition