18 #define CSS_UTF8 L", ccs=UTF-8"
140 void*
GetHandle()
const {
return (
void*)(intptr_t)m_handle;}
BeFileStatus TranslateHResultToBeFileStatus(Long32 status)
Translates an HRESULT to a BeFileStatus value.
#define BENTLEYDLL_EXPORT
Definition: Bentley.h:249
An operation was attempted on a file that has already been closed.
Definition: Bentley.h:212
Delete this file when closed. Used for temporary files.
The default file attribute.
BeFileStatus GetLastError() const
Gets the status returned by the last operation that failed.
Definition: BeFile.h:143
There are too many files already open.
void * GetHandle() const
Query the native file handle to the the open disk file. This is useful only if you want to pass the h...
Definition: BeFile.h:140
BeFileSharing
The possible file sharing modes for the Create and Open methods.
Definition: BeFile.h:50
long Long32
Definition: Bentley.r.h:145
Optimize the file for random input and output operations.
BeFileAccess
The possible file access values for the Open method.
Definition: BeFile.h:42
Unable to open the file because there is no file of the specified name.
The specified position is relative to the current read/write position of the file.
The file exists, but is already open in a sharing mode that does not allow this open.
The file exists, but is either already open or protected from an open of the type specified...
uint32_t UInt32
Definition: Bentley.r.h:128
bstdmap & operator=(const bstdmap &__rhs)
Definition: stdcxx/bstdmap.h:170
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
~BeFile()
Destroys a BeTextFile instance.
Definition: BeFile.h:98
BeFileSeekOrigin
Possible origin modes for the SetPosition method.
Definition: BeFile.h:67
Open for both read and write.
A stream of bytes in a resizeable buffer.
Definition: ByteStream.h:22
Long32 TranslateBeFileStatusToHresult(BeFileStatus status)
Translates a BeFileStatus value to an HRESULT.
Defines typedefs and constants that can be used across other namespaces. All Bentley-authored C++ sou...
BeFileAccess GetAccess() const
Gets the access mode used to open the disk file.
Definition: BeFile.h:134
uint64_t UInt64
Definition: Bentley.r.h:131
BeFile provides a way to open a file and methods to access its contents and attributes.
Definition: BeFile.h:78
BeFileSharing GetShareMode() const
Gets the sharing option used to open the disk file.
Definition: BeFile.h:137
Definition: Bentley.h:210
BeFileAttributes
Possible file attributes for the Create and Open methods.
Definition: BeFile.h:59
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
BeFileStatus
The possible status returns for the BeFile methods.
Definition: BeFile.h:28