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 | |
this () | |
Static Public Attributes | |
FileStyle | ReadExisting |
FileStyle | WriteTruncate |
FileStyle | WriteAppending |
FileStyle | ReadWriteCreate |
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 47 of file FileStyle.d.
|
Definition at line 65 of file FileStyle.d. Referenced by FileConduit::VersionWin32::_open(), open(), and this(). |
|
Definition at line 76 of file FileStyle.d. |
|
Definition at line 86 of file FileStyle.d. |
|
Declare the basic styles for a Conduit Definition at line 54 of file ConduitStyle.d. Referenced by ConduitStyle::access(), and ConduitStyle::this(). |
|
Construct a set of typical FileStyle instances. Reimplemented from ConduitStyle. Definition at line 107 of file FileStyle.d. References FileStyle, Open, 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 125 of file FileStyle.d. References Cache, m_cache, m_open, m_share, Open, share(), and Share. |
|
Return the style of opening Definition at line 142 of file FileStyle.d. Referenced by FileConduit::Versionlinux::_open(), and FileConduit::VersionWin32::_open(). |
|
Return the style of sharing Definition at line 153 of file FileStyle.d. References m_share, and Share. Referenced by FileConduit::Versionlinux::_open(), FileConduit::VersionWin32::_open(), and this(). |
|
Return the style of caching Definition at line 164 of file FileStyle.d. References Cache, and m_cache. Referenced by FileConduit::VersionWin32::_open(). |
|
Construct a ConduitStyle with the given access Definition at line 91 of file ConduitStyle.d. References ConduitStyle::access(), ConduitStyle::Access, and ConduitStyle::m_access. |
|
Return the access attribute of this ConduitStyle Definition at line 102 of file ConduitStyle.d. References ConduitStyle::Access, and ConduitStyle::m_access. Referenced by FileConduit::Versionlinux::_open(), FileConduit::VersionWin32::_open(), Conduit::isReadable(), Conduit::isWritable(), FileConduit::VersionWin32::Win32MappedBuffer::this(), and ConduitStyle::this(). |
|
Instantiate some common styles Definition at line 55 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 55 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 55 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 55 of file FileStyle.d. Referenced by this(). |
|
Instantiate some common styles Definition at line 55 of file FileStyle.d. Referenced by this(). |
|
Definition at line 97 of file FileStyle.d. |
|
Definition at line 98 of file FileStyle.d. |
|
Definition at line 99 of file FileStyle.d. |