MPEG CDVA Experimentation Model (CXM)  1.0
Compact Descriptors for Visual Analisys
Public Member Functions
mpeg7cdva::LogManager Class Reference

Helper class to produce log files in various formats (csv, text, XML, etc.) More...

#include <LogManager.h>

Public Member Functions

 LogManager ()
 constructor More...
 
virtual ~LogManager ()
 destructor More...
 
void init (int formats, const std::string &datasetpath, const std::string &datasetname, size_t n_videos, int mode, int refmode=0)
 initialization method used by the Evaluation Framework; do not change. More...
 
void printExtractHeader ()
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void printExtractData (int index, const std::string &videoname, const ExtractData &data)
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void printMatchHeader ()
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void printMatchData (int index, const std::string &queryvideoname, const std::string &refvideoname, const MatchData &matchData)
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void printRetrievalHeader ()
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void printRetrievalData (int index, const std::string &queryvideoname, const std::vector< MatchData > &retrievalResults)
 method used by the Evaluation Framework to produce log files; do not change. More...
 
void close ()
 

Detailed Description

Helper class to produce log files in various formats (csv, text, XML, etc.)

Author
Massimo Balestri
Date
2015

Constructor & Destructor Documentation

◆ LogManager()

mpeg7cdva::LogManager::LogManager ( )

constructor

◆ ~LogManager()

virtual mpeg7cdva::LogManager::~LogManager ( )
virtual

destructor

Member Function Documentation

◆ close()

void mpeg7cdva::LogManager::close ( )

◆ init()

void mpeg7cdva::LogManager::init ( int  formats,
const std::string &  datasetpath,
const std::string &  datasetname,
size_t  n_videos,
int  mode,
int  refmode = 0 
)

initialization method used by the Evaluation Framework; do not change.

◆ printExtractData()

void mpeg7cdva::LogManager::printExtractData ( int  index,
const std::string &  videoname,
const ExtractData data 
)

method used by the Evaluation Framework to produce log files; do not change.

◆ printExtractHeader()

void mpeg7cdva::LogManager::printExtractHeader ( )

method used by the Evaluation Framework to produce log files; do not change.

◆ printMatchData()

void mpeg7cdva::LogManager::printMatchData ( int  index,
const std::string &  queryvideoname,
const std::string &  refvideoname,
const MatchData matchData 
)

method used by the Evaluation Framework to produce log files; do not change.

◆ printMatchHeader()

void mpeg7cdva::LogManager::printMatchHeader ( )

method used by the Evaluation Framework to produce log files; do not change.

◆ printRetrievalData()

void mpeg7cdva::LogManager::printRetrievalData ( int  index,
const std::string &  queryvideoname,
const std::vector< MatchData > &  retrievalResults 
)

method used by the Evaluation Framework to produce log files; do not change.

◆ printRetrievalHeader()

void mpeg7cdva::LogManager::printRetrievalHeader ( )

method used by the Evaluation Framework to produce log files; do not change.


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