LLFile Class Reference

#include <llfile.h>

List of all members.

Static Public Member Functions

static LLFILEfopen (const char *filename, const char *accessmode)
static LLFILE_fsopen (const char *filename, const char *accessmode, int sharingFlag)
static int mkdir (const char *filename, int perms=0700)
static int rmdir (const char *filename)
static int remove (const char *filename)
static int rename (const char *filename, const char *newname)
static int stat (const char *filename, llstat *file_status)
static LLFILE_Fiopen (const char *filename, std::ios::openmode mode, int)


Detailed Description

Definition at line 60 of file llfile.h.


Member Function Documentation

static LLFILE* LLFile::_Fiopen ( const char *  filename,
std::ios::openmode  mode,
int   
) [static]

LLFILE * LLFile::_fsopen ( const char *  filename,
const char *  accessmode,
int  sharingFlag 
) [static]

Definition at line 82 of file llfile.cpp.

References llassert, NULL, and utf8str_to_utf16str().

Referenced by init_marker_file(), and LLVFS::openAndLock().

LLFILE * LLFile::fopen ( const char *  filename,
const char *  accessmode 
) [static]

Definition at line 69 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by another_instance_running(), copy_file(), LLTransferTargetFile::dataCallback(), LLFrameStats::dump(), dump_prehash_files(), export_complete(), exported_j2c_complete(), LLXfer_File::flush(), LLOSInfo::getProcessResidentSizeKB(), LLOSInfo::getProcessVirtualSizeKB(), LLHTTPAssetStorage::getURLToFile(), gunzip_file(), gzip_file(), idle_startup(), init_marker_file(), LLTransferSourceFile::initTransfer(), LLAssetStorage::legacyGetDataCallback(), LLCPUInfo::LLCPUInfo(), LLFileEncoder::LLFileEncoder(), LLVFS::LLVFS(), load_name_cache(), load_password_from_disk(), LLViewerKeyboard::loadBindings(), LLViewerRegion::loadCache(), LLImageTGA::loadFile(), LLMuteList::loadFromFile(), LLInventoryModel::loadFromFile(), LLLogChat::loadHistory(), LLPolyMeshSharedData::loadMesh(), LLLiveLSLEditor::loadScriptText(), LLInventoryModel::loadSkeleton(), LLAudioBufferFMOD::loadWAV(), lscript_run(), main(), LLVFS::openAndLock(), LLXmlParser::parseFile(), LLXMLNode::parseFile(), LLFloaterImport::postBuild(), LLWearableList::processGetAssetReply(), LLScriptScript::recurse(), LLStandardBumpmap::restoreGL(), save_name_cache(), save_password_to_disk(), LLViewerRegion::saveCache(), LLLogChat::saveHistory(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLWearable::saveNewAsset(), LLMuteList::saveToFile(), LLInventoryModel::saveToFile(), LLFloaterCompileQueue::scriptArrived(), LLDir::setCacheDir(), LLXfer_File::startDownload(), LLXfer_File::startSend(), LLViewerAssetStorage::storeAssetData(), LLHTTPAssetStorage::storeAssetData(), LLMemoryInfo::stream(), LLCPUInfo::stream(), LLCRC::update(), upload_new_resource(), LLLiveLSLEditor::uploadAssetLegacy(), LLPreviewLSL::uploadAssetLegacy(), write_debug(), and CProcessor::WriteInfoTextFile().

int LLFile::mkdir ( const char *  filename,
int  perms = 0700 
) [static]

Definition at line 43 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by LLPrefsIMImpl::apply(), dir_exists_or_crash(), idle_startup(), LLDir_Solaris::initAppDirs(), LLDir_Linux::initAppDirs(), LLTextureCache::initCache(), tut::LLMessageConfigTestData::LLMessageConfigTestData(), LLDir::setCacheDir(), and updatethreadproc().

int LLFile::remove ( const char *  filename  )  [static]

Definition at line 96 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by LLInventoryModel::cache(), LLTransferTargetFile::completionCallback(), LLTransferSourceFile::completionCallback(), LLDir::deleteFilesInDir(), exported_j2c_complete(), LLXfer_File::free(), LLHTTPAssetStorage::getURLToFile(), gzip_file(), init_cache(), init_logging(), init_marker_file(), LLVFS::LLVFS(), LLInventoryModel::loadSkeleton(), LLViewerObject::loadTaskInvFile(), LLAudioBufferFMOD::loadWAV(), LLMuteList::onFileMuteList(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewNotecard::onSaveComplete(), LLWearable::onSaveNewAssetComplete(), LLVFS::presizeDataFile(), LLXfer_File::processEOF(), LLWearableList::processGetAssetReply(), LLXferManager::requestFile(), save_password_to_disk(), LLFloaterCompileQueue::scriptArrived(), LLDir::setCacheDir(), LLViewerAssetStorage::storeAssetData(), LLHTTPAssetStorage::storeAssetData(), upload_new_resource(), LLLiveLSLEditor::uploadAssetLegacy(), LLPreviewLSL::uploadAssetLegacy(), LLAssetUploadResponder::~LLAssetUploadResponder(), tut::LLMessageConfigTestData::~LLMessageConfigTestData(), and LLVFS::~LLVFS().

int LLFile::rename ( const char *  filename,
const char *  newname 
) [static]

Definition at line 107 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by gunzip_file(), gzip_file(), init_cache(), init_logging(), and LLXfer_File::processEOF().

int LLFile::rmdir ( const char *  filename  )  [static]

Definition at line 56 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by LLTextureCache::purgeAllTextures(), and tut::LLMessageConfigTestData::~LLMessageConfigTestData().

int LLFile::stat ( const char *  filename,
llstat file_status 
) [static]

Definition at line 120 of file llfile.cpp.

References utf8str_to_utf16str().

Referenced by LLLiveFile::Impl::check(), dir_exists_or_crash(), init_cache(), LLFileEncoder::LLFileEncoder(), LLVFS::LLVFS(), and LLVoiceClient::stateMachine().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:16 2010 for Second Life Viewer by  doxygen 1.4.7