#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 () |
String | GetSetNameBase () |
Persistency::Locator | GetLocator () |
Util::Database * | GetDatabase () |
void | SetDatabase (Util::Database *db) |
virtual int | GetSetId () |
int | GetQuidClass () |
int | NrDirs () |
String | GetSection (int elemId) |
String | GetSectionOfFile (int fileId) |
String | GetDir (int elemId) |
int | GetDirId (String dir) |
int | GetDirId (String section, String dir) |
int | GetDirIdOfFile (int fileId) |
String | GetDirOfFile (int fileId) |
int | GetFirstFileId (int elemId) |
int | GetNrFiles (int elemId) |
bool | HasFiles () |
int | NrFiles () |
String | GetFile (int i) |
String | GetFileOrDir (int i, String extension) |
String | GetFileBase (int i) |
int | GetFileId (int idx) |
int | GetFileId (String file) |
int | GetFileId (int dirId, String file) |
int | GetFileId (String section, String dir, String file) |
void | GenerateFileNames (String extension) |
String | GetAsPath (int fileId) |
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 section, String dir, 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) |
void | CopyIndex (const RawDataSet *src) |
experimental: for testing | |
Protected Member Functions | |
void | Init (String setName) |
void | Init (Util::Database *db, String setName, String setFileName) |
void | ExtractFileSectionDir (const String &src, String &file, String §ion, String &dir) |
Protected Attributes | |
Util::Database * | mDb |
String | mSetName |
String | mSetNameBase |
String | mSetFileName |
bool | mHasFiles |
int | mLastId |
int | mLastKeyForWarning |
std::vector< int > | mFileId |
std::vector< String > | mFile |
std::vector< int > | mFileKey |
std::vector< String > | mSection |
std::vector< String > | mDir |
std::vector< int > | mFirstFileId |
std::vector< int > | mNrFiles |
int | mQuidClass |
ILOG_VAR_DEC |
Optionally, each dir has a set of files (if not, file names are generated).
Definition at line 26 of file RawDataSet.h.