Provides Bentley implemented file management functions (Bentley/BeFile.h). More...
#include "Bentley.h"
#include <assert.h>
#include "BeFileName.h"
#include "ByteStream.h"
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | BeFile |
BeFile provides a way to open a file and methods to access its contents and attributes. More... | |
Namespaces | |
Bentley | |
The Bentley namespace contains types defined by the Bentley Library. | |
Macros | |
#define | CSS_UTF8 L", ccs=UTF-8" |
Enumerations | |
enum | BeFileStatus { Success = SUCCESS, FileNotFoundError, AccessViolationError, SharingViolationError, TooManyOpenFilesError, FileNotOpenError, NotLockedError, ReadError, UnknownError = ERROR } |
The possible status returns for the BeFile methods. More... | |
enum | BeFileAccess { Read = 1, Write = 2, ReadWrite = 3 } |
The possible file access values for the Open method. More... | |
enum | BeFileSharing { None = 0, Read = 1, Write = 2, ReadWrite = 3 } |
The possible file sharing modes for the Create and Open methods. More... | |
enum | BeFileAttributes { Normal = 0, RandomIO = 1, DeleteOnClose = 2 } |
Possible file attributes for the Create and Open methods. More... | |
enum | BeFileSeekOrigin { Begin = 0, Current = 1, End = 2 } |
Possible origin modes for the SetPosition method. More... | |
Functions | |
Long32 | TranslateBeFileStatusToHresult (BeFileStatus status) |
Translates a BeFileStatus value to an HRESULT. More... | |
BeFileStatus | TranslateHResultToBeFileStatus (Long32 status) |
Translates an HRESULT to a BeFileStatus value. More... | |
Provides Bentley implemented file management functions (Bentley/BeFile.h).
#define CSS_UTF8 L", ccs=UTF-8" |