Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Core::Database::RawDataSet Class Reference

A set of (DB_SECTION,DB_DIR,DB_FILE) tuples. More...

#include <RawDataSet.h>

Inheritance diagram for Impala::Core::Database::RawDataSet:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Database::RawDataSet:

Collaboration graph
[legend]
List of all members.

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::DatabaseGetDatabase ()
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 &section, String &dir)
void ExtractFileAndContainer (CString src, String &file, String &container)

Protected Attributes

Util::DatabasemDb
String mSetName
String mSetNameBase
String mSetFileName
String mProtocolAndHost
bool mHasFiles
int mLastId
int mLastKeyForWarning
std::vector< int > mFileId
std::vector< StringmFile
std::vector< int > mFileKey
std::vector< StringmContainer
Util::SimpleMap< String, int > mContainerMap
std::vector< int > mFirstFileId
std::vector< int > mNrFiles
int mQuidClass
 ILOG_VAR_DEC

Detailed Description

A set of (DB_SECTION,DB_DIR,DB_FILE) tuples.

Definition at line 26 of file RawDataSet.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:18:56 2011 for ImpalaSrc by  doxygen 1.5.1