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

Impala::File::File ( CString  fileName,
String  mode,
bool  printError = true,
int  lineBufSize = 100000 
) [inline]

Definition at line 26 of file File.h.

References mBuf, mBufSize, and mFp.

00028     {
00029         mBuf = 0;
00030         if (!(mFp=fopen(fileName.c_str(), mode.c_str())))
00031         {
00032             if (printError)
00033                 std::cout << "Error opening (mode = " << mode << ") file "
00034                           << fileName << std::endl;
00035             return;
00036         }
00037         mBufSize = lineBufSize;
00038         mBuf = new char[mBufSize];
00039     }


Generated on Fri Mar 19 10:35:41 2010 for ImpalaSrc by  doxygen 1.5.1