HDK
|
#include "NET_API.h"
#include <UT/UT_ErrorCode.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_EnumHelper.h>
Go to the source code of this file.
Classes | |
class | UT_Array< T > |
class | NET_IODevice |
Enumerations | |
enum | NET_IODeviceOpenMode : uint32 { NET_IODeviceOpenMode::NotOpen = 0, NET_IODeviceOpenMode::ReadOnly = 1 << 0, NET_IODeviceOpenMode::WriteOnly = 1 << 1, NET_IODeviceOpenMode::ReadWrite = ReadOnly | WriteOnly, NET_IODeviceOpenMode::Append = 1 << 2, NET_IODeviceOpenMode::Truncate = 1 << 3, NET_IODeviceOpenMode::Unbuffered = 1 << 4, NET_IODeviceOpenMode::NewOnly = 1 << 5, NET_IODeviceOpenMode::ExistingOnly = 1 << 6 } |
Functions | |
UT_ENABLE_ENUM_BIT_FLAGS (NET_IODeviceOpenMode) | |
|
strong |
Bit flags for how the device should behave. NotOpen: Device is not open ReadOnly: Device is open for reading WriteOnly: Device is open for writing ReadWrite: Device is open for reading and writing Append: Device is in append mode so all data is written to EOF Truncate: All earlier contents of the device are lost. Unbuffered: Any buffer in the device is bypassed. NewOnly: Fail if the the file already exists. ExistingOnly: Fail if the file opened does not already exist.
Enumerator | |
---|---|
NotOpen | |
ReadOnly | |
WriteOnly | |
ReadWrite | |
Append | |
Truncate | |
Unbuffered | |
NewOnly | |
ExistingOnly |
Definition at line 36 of file NET_IODevice.h.
UT_ENABLE_ENUM_BIT_FLAGS | ( | NET_IODeviceOpenMode | ) |