Open() opens a file from a pathname. Call close when done.
Implements CATStream. Definition at line 41 of file CATStreamFile.cpp. References CAT_ERR_FILE_OPEN, CAT_ERR_FILE_UNSUPPORTED_MODE, CAT_SUCCESS, CATASSERT, CATRESULT, CATRESULTFILE, fFileHandle, fFilename, CATStream::READ_ONLY, CATStream::READ_WRITE_CREATE_TRUNC, CATStream::READ_WRITE_EXISTING_FIRST, CATStream::READ_WRITE_EXISTING_ONLY, and CATStream::WRITE_CREATE_ONLY. Referenced by CATImage::DbgSave(), CATStreamRAM::FromFile(), CATXMLParser::Parse(), CATImage::Save(), CATDLLInjector::StartDLLWithProcess(), CATStreamRAM::ToFile(), and CATXMLParser::Write().
|