#include <RawDataSet.h>
Inheritance diagram for Impala::Core::Database::RawDataSet:
Public Types | |
typedef Feature::FeatureDefinition | FeatureDefinition |
Public Member Functions | |
RawDataSet (String setName) | |
RawDataSet (Util::Database *db, String setName, String setFileName) | |
RawDataSet (Util::Database *db, String setName, String setFileName, String nameExt) | |
String | GetSetName () const |
String | GetSetNameBase () const |
void | SetProtocolAndHost (CString protocolAndHost) |
Persistency::Locator | GetLocator () const |
Util::Database * | GetDatabase () |
void | SetDatabase (Util::Database *db) |
virtual int | GetSetId () |
int | GetQuidClass () const |
int | NrDirs () const |
String | GetSection (int elemId) const |
String | GetSectionOfFile (int fileId) const |
String | GetDir (int elemId) const |
int | GetDirId (String dir) const |
int | GetDirId (String section, String dir) const |
int | GetDirIdOfFile (int fileId) const |
String | GetDirOfFile (int fileId) const |
int | GetFirstFileId (int elemId) const |
int | GetNrFiles (int elemId) const |
bool | HasFiles () const |
int | NrFiles () const |
String | GetFile (int i) const |
String | GetFileOrDir (int i, String extension) const |
String | GetFileBase (int i) const |
int | GetFileId (int idx) const |
int | GetFileId (String file) const |
int | GetFileId (int dirId, String file) const |
int | GetFileId (String section, String dir, String file) const |
int | GetFileIdOfQuid (Quid q) |
void | GenerateFileNames (String extension) |
String | GetAsPath (int fileId) |
bool | IsImageSet () const |
int | GetNrContainers () const |
String | GetContainer (int nr) |
int | GetContainerNrOfQuid (Quid q) |
String | GetContainerDir (int elemId) |
String | GetContainerDirOfFile (int fileId) |
String | GetContainerFile (int fileId) |
String | MakeDir (String dir) |
String | MakeDir (String dir1, String dir2) |
String | MakeDir (String dir1, String dir2, String dir3) |
String | MakeDir (String dir1, String dir2, String dir3, String dir4) |
String | MakeDir (String dir1, String dir2, String dir3, String dir4, String dir5) |
String | GetFilePath (String dir, String file, bool toWrite, bool silent) |
String | GetFilePath (String dir1, String dir2, String file, bool toWrite, bool silent) |
String | GetFilePath (String dir1, String dir2, String dir3, String file, bool toWrite, bool silent) |
String | GetFilePath (String dir1, String dir2, String dir3, String dir4, String file, bool toWrite, bool silent) |
String | GetFilePath (String dir1, String dir2, String dir3, String dir4, String dir5, String file, bool toWrite, bool silent) |
String | GetFilePathVideoData (String setName, bool toWrite, bool silent) |
String | GetFilePathVideoData (int nameId, bool toWrite, bool silent) |
String | GetFilePathImageData (String setName, bool toWrite, bool silent) |
String | GetFilePathImageData (int nameId, bool toWrite, bool silent) |
String | GetFilePathImageArchive (String archiveName, bool toWrite, bool silent) |
String | GetFilePathImageArchive (int fileId, String archiveName, bool toWrite, bool silent) |
String | GetFilePathFrames (int fileId, String name, bool toWrite, bool silent) |
String | GetFilePathFrames (int fileId, int frameNr, String suffix, bool toWrite, bool silent) |
String | GetFilePathVideoIndex (String subDir, String file, bool toWrite, bool silent) |
String | GetFilePathMetaData (int fileId, String metaName, bool useDbFile, String suffix, bool toWrite, bool silent) |
Get a file in the DB_DIR/DB_FILE/metaName directory in MetaData. | |
String | GetFilePathMpeg7Shot (int fileId, bool toWrite, bool silent) |
String | GetFilePathMpeg7Anno (int fileId, String conceptSet, String xmlName, bool toWrite, bool silent) |
String | GetFilePathMpeg7Feature (int fileId, String xmlName, bool toWrite, bool silent) |
String | GetFilePathMpeg7Concept (int fileId, String conceptSet, String xmlName, bool toWrite, bool silent) |
String | GetFilePathPrototype (String protoDataFile, String featureName, String fileName, bool toWrite, bool silent) |
String | GetFilePathFeatureData (String walkType, FeatureDefinition def, int fileOrDirId, bool partial, int startFrameOrFile, bool toWrite, bool silent) |
String | GetFilePathFeatureData (FeatureDefinition def, int dirId, bool partial, int startFile, bool toWrite, bool silent) |
String | GetFilePathFeatureIndex (FeatureDefinition def, String subSet, bool toWrite, bool silent) |
String | GetFilePathPrecomputedKernels (String filename, String otherSet, bool toWrite, bool silent) |
String | GetFilePathRandomForest (FeatureDefinition def, bool toWrite, bool silent) |
String | GetFilePathCodebook (FeatureDefinition def, bool toWrite, bool silent) |
String | GetFilePathSimilarityData (String walkType, String conceptSet, String model, String featureString, int fileOrDirId, String fileName, bool toWrite, bool silent) |
String | GetFilePathSimilarityIndex (String conceptSet, String model, String featureString, String fileName, bool toWrite, bool silent) |
String | GetFilePathAnnotation (String annoFile, bool toWrite, bool silent) |
String | GetFilePathAnnotation (int quidClass, String conceptSet, String annoFile, bool toWrite, bool silent) |
String | GetFilePathGroundTruth (String truthFile, bool toWrite, bool silent) |
String | GetFilePathConceptModel (String conceptSet, String modelType, FeatureDefinition def, String modelFile, bool toWrite, bool silent) |
String | GetFilePathReference (int fileId, String suffix, bool toWrite, bool silent) |
String | GetFilePathKernelData (String walkType, String referenceSet, String kernelName, int fileOrDirId, bool toWrite, bool silent) |
void | AddFile (String file, String container, int id=-1) |
void | AddFile (String path, int id) |
void | Save () |
void | Save (String fileName) |
void | SaveBinary () |
void | Dump (int startDir, int endDir, int startFile, int endFile) |
virtual String | QuidToString (Quid quid, bool elaborate) |
Protected Member Functions | |
void | Init (String setName) |
void | Init (Util::Database *db, String setName, String setFileName) |
void | ExtractFileSectionDir (CString src, String &file, String §ion, String &dir) |
void | ExtractFileAndContainer (CString src, String &file, String &container) |
Protected Attributes | |
Util::Database * | mDb |
String | mSetName |
String | mSetNameBase |
String | mSetFileName |
String | mProtocolAndHost |
bool | mHasFiles |
int | mLastId |
int | mLastKeyForWarning |
std::vector< int > | mFileId |
std::vector< String > | mFile |
std::vector< int > | mFileKey |
std::vector< String > | mContainer |
Util::SimpleMap< String, int > | mContainerMap |
std::vector< int > | mFirstFileId |
std::vector< int > | mNrFiles |
int | mQuidClass |
ILOG_VAR_DEC |
Definition at line 26 of file RawDataSet.h.