Mobile API Reference
MicroStrategy 2019
|
Classes | |
class | CloseFileDescriptor |
class | CloseFileStream |
class | Directory |
class | File |
class | FileImpl |
class | GenericFile |
class | Initializer |
class | InprocessFileLocker |
class | ModuleMain |
class | Path |
class | ReadableFile |
class | ReadableFileImpl |
class | StrongFileDescriptor |
class | StrongFilename |
class | UpdateableFile |
class | UpdateableFileImpl |
class | WriteableFile |
class | WriteableFileImpl |
Typedefs | |
typedef MBase::StrongObj< FILE *, CloseFileStream > | StrongFileStream |
typedef MBase::String | Exception |
typedef int | FileHandle |
Functions | |
DLL_FILE_SYSTEM_EXIM MBase::ReturnString | GetCurrentWorkingDirectory () |
DLL_FILE_SYSTEM_EXIM void | SetCurrentWorkingDirectory (const char *ipPath) |
DLL_FILE_SYSTEM_EXIM MBase::ReturnString | GetTemporaryPath () |
DLL_FILE_SYSTEM_EXIM ReadableFile::ReturnPtr | OpenReadableFile (const char *ipPath) |
DLL_FILE_SYSTEM_EXIM ReadableFile::ReturnPtr | OpenReadableFile_InProcessLockNoWait (const char *ipPath) |
DLL_FILE_SYSTEM_EXIM UpdateableFile::ReturnPtr | OpenUpdateableFile (const char *ipPath, IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED iWhatToDoIfCommitAndCloseWasNotCalled) |
DLL_FILE_SYSTEM_EXIM WriteableFile::ReturnPtr | OpenWriteableFile (const char *ipPath, IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED iWhatToDoIfCommitAndCloseWasNotCalled) |
Variables | |
MBase::ModuleMainPtr< ModuleMain > | gModuleMainPtr |
FileSystem is a constellation that puts together functions that manipulate directories and files. It is not intended to replace or be used instead of the standard stream libraries and such. But rather, it is intended to cover gaping holes in non-standard or OS-dependent functionality.
typedef MBase::String MFileSystem::Exception |
typedef int MFileSystem::FileHandle |
typedef MBase::StrongObj< FILE*, CloseFileStream > MFileSystem::StrongFileStream |
DLL_FILE_SYSTEM_EXIM MBase::ReturnString MFileSystem::GetCurrentWorkingDirectory | ( | ) |
Returns the current working directory. Throws an exception if current working directory cannot be retrieved.
MBase::FileSystemException() |
DLL_FILE_SYSTEM_EXIM MBase::ReturnString MFileSystem::GetTemporaryPath | ( | ) |
Returns the path for temporary files.
DLL_FILE_SYSTEM_EXIM ReadableFile::ReturnPtr MFileSystem::OpenReadableFile | ( | const char * | ipPath | ) |
Opens a file and returns the ReadableFile object.
MBase::BaseException | if file cannot be opened (file does not exist, access denied, etc.) |
DLL_FILE_SYSTEM_EXIM ReadableFile::ReturnPtr MFileSystem::OpenReadableFile_InProcessLockNoWait | ( | const char * | ipPath | ) |
Opens a file and returns the ReadableFile object.
MBase::BaseException | if file cannot be opened (file does not exist or is already locked by writing) |
DLL_FILE_SYSTEM_EXIM UpdateableFile::ReturnPtr MFileSystem::OpenUpdateableFile | ( | const char * | ipPath, |
IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED | iWhatToDoIfCommitAndCloseWasNotCalled | ||
) |
DLL_FILE_SYSTEM_EXIM WriteableFile::ReturnPtr MFileSystem::OpenWriteableFile | ( | const char * | ipPath, |
IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED | iWhatToDoIfCommitAndCloseWasNotCalled | ||
) |
Opens (or creates if necessary) a file and returns the WriteableFile object.
MBase::BaseException | if file cannot be opened/created (access denied, etc.) |
DLL_FILE_SYSTEM_EXIM void MFileSystem::SetCurrentWorkingDirectory | ( | const char * | ipPath | ) |
Sets the current working directory.
ipPath | an absolute path. |
MBase::FileSystemException() |
MBase::ModuleMainPtr< ModuleMain > MFileSystem::gModuleMainPtr |