Inheritance diagram for FileStyle:
Public Types | |
enum | Open { Exists = 0, Create, Truncate, Append } |
enum | Share { Read = 0, Write, ReadWrite } |
enum | Cache { None = 0x00, Random = 0x01, Stream = 0x02, WriteThru = 0x04 } |
Public Member Functions | |
this (Access access, Open open=Open.Exists, Share share=Share.Read, Cache cache=Cache.None) | |
Open | open () |
Share | share () |
Cache | cache () |
Static Public Member Functions | |
static | this () |
Static Public Attributes | |
static FileStyle | ReadExisting |
static FileStyle | WriteTruncate |
static FileStyle | WriteAppending |
static FileStyle | ReadWriteCreate |
static FileStyle | ReadWriteExisting |
Private Types | |
enum | Access { Read = 0x01, Write = 0x02, ReadWrite = 0x03 } |
Private Member Functions | |
this (Access access) | |
Access | access () |
Private Attributes | |
Open | m_open |
Share | m_share |
Cache | m_cache |
Definition at line 50 of file FileStyle.d.
|
Definition at line 68 of file FileStyle.d. |
|
Definition at line 79 of file FileStyle.d. |
|
Definition at line 89 of file FileStyle.d. |
|
Declare the basic styles for a Conduit Definition at line 57 of file ConduitStyle.d. |
|
Construct a set of typical FileStyle instances. Reimplemented from ConduitStyle. Definition at line 110 of file FileStyle.d. References FileStyle, ReadExisting, ReadWriteCreate, ReadWriteExisting, WriteAppending, and WriteTruncate. |
|
Construct a FileStyle with the given properties. Defaults are set to indicate the file should exist, will be opened for read-only sharing, and should not be cache optimized in any special manner by the OS. Definition at line 128 of file FileStyle.d. References cache(), m_cache, m_open, m_share, open(), and share(). |
|
Return the style of opening Definition at line 145 of file FileStyle.d. References m_open. Referenced by FileConduit::VersionPosix::open(), FileConduit::VersionWin32::open(), and this(). |
|
Return the style of sharing Definition at line 156 of file FileStyle.d. References m_share. Referenced by FileConduit::VersionPosix::open(), FileConduit::VersionWin32::open(), and this(). |
|
Return the style of caching Definition at line 167 of file FileStyle.d. References m_cache. Referenced by FileConduit::VersionWin32::open(), and this(). |
|
Construct a ConduitStyle with the given access Definition at line 94 of file ConduitStyle.d. References ConduitStyle::access(), and ConduitStyle::m_access. |
|
Return the access attribute of this ConduitStyle Definition at line 105 of file ConduitStyle.d. References ConduitStyle::m_access. Referenced by Conduit::isReadable(), Conduit::isWritable(), FileConduit::VersionPosix::open(), FileConduit::VersionWin32::open(), VersionMapped::MappedFile::VersionWin32::this(), and ConduitStyle::this(). |
|
Instantiate some common styles Definition at line 58 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 58 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 58 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 58 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 58 of file FileStyle.d. Referenced by this(). |
|
Definition at line 100 of file FileStyle.d. |
|
Definition at line 101 of file FileStyle.d. |
|
Definition at line 102 of file FileStyle.d. |