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

Impala::Util::Database Class Reference

#include <Database.h>

Collaboration diagram for Impala::Util::Database:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Database ()
 Database (String setName)
void SetDataPath (String data)
String GetDataPath ()
void SetOverride (bool override)
String MakeDir (CString dir)
String MakeDir (CString dir1, CString dir2)
String MakeDir (CString dir1, CString dir2, CString dir3)
String MakeDir (CString dir1, CString dir2, CString dir3, CString dir4)
String MakeDir (CString dir1, CString dir2, CString dir3, CString dir4, CString dir5)
String GetFilePath (CString file, bool toWrite, bool silent)
String GetFilePath (CString dir, CString file, bool toWrite, bool silent)
String GetFilePath (CString dir1, CString dir2, CString file, bool toWrite, bool silent)
String GetFilePath (CString dir1, CString dir2, CString dir3, CString file, bool toWrite, bool silent)
String GetFilePath (CString dir1, CString dir2, CString dir3, CString dir4, CString file, bool toWrite, bool silent)
String GetFilePath (CString dir1, CString dir2, CString dir3, CString dir4, CString dir5, CString file, bool toWrite, bool silent)
IOBufferGetIOBuffer (CString fileName, bool readMode, bool useMemoryIfLocal, String useLocalFileIfRemote, Int64 useLocalSizeIfRemote=0, bool useIOBufferChannel=false)
 Obtain an IOBuffer to read/write the given fileName.
ChannelGetDataChannel ()
void Dump () const

Static Public Member Functions

static DatabaseGetInstance ()

Private Member Functions

void Init (String setName)
void DoMkDir (CString dir)
String DoMkDirPath (CString dir)
String DoMkDirPathLocal (CString dirWithBackSlashes)
String DoMkDirPathServer (CString dir)
String GetReadableFile (StringListCI begin, StringListCI end, CString file, bool silent)
String GetReadableFileLocal (StringListCI begin, StringListCI end, CString file, bool silent)
String GetReadableFileServer (CString file, bool silent)
String GetWritableFile (StringListCI begin, StringListCI end, CString file, bool silent)
String GetWritableFileLocal (StringListCI begin, StringListCI end, CString file, bool silent)
String GetWritableFileServer (CString file, bool silent)
String ConcatDir (CString dir, CString subDir)

Private Attributes

bool mOverride
String mDataString
StringList mData
String mDataServer
ChannelmDataChannel
 ILOG_VAR_DEC

Detailed Description

Definition at line 28 of file Database.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:39:45 2010 for ImpalaSrc by  doxygen 1.5.1