DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | List of all members
Deveel.Data.Store.FileStream Class Reference
Inheritance diagram for Deveel.Data.Store.FileStream:

Public Member Functions

 FileStream (IFile file)
 
override void Flush ()
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override int Read (byte[] buffer, int offset, int count)
 
override void Write (byte[] buffer, int offset, int count)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

IFile File [get, private set]
 
override bool CanRead [get]
 
override bool CanSeek [get]
 
override bool CanWrite [get]
 
override long Length [get]
 
override long Position [get, set]
 

Detailed Description

Definition at line 21 of file FileStream.cs.

Constructor & Destructor Documentation

Deveel.Data.Store.FileStream.FileStream ( IFile  file)
inline

Definition at line 24 of file FileStream.cs.

24  {
25  if (file == null)
26  throw new ArgumentNullException("file");
27 
28  File = file;
29  }

Member Function Documentation

override void Deveel.Data.Store.FileStream.Dispose ( bool  disposing)
inlineprotected

Definition at line 72 of file FileStream.cs.

72  {
73  File = null;
74  base.Dispose(disposing);
75  }
override void Deveel.Data.Store.FileStream.Flush ( )
inline

Definition at line 31 of file FileStream.cs.

31  {
32  File.Flush(true);
33  }
void Flush(bool writeThrough)
override int Deveel.Data.Store.FileStream.Read ( byte[]  buffer,
int  offset,
int  count 
)
inline

Definition at line 43 of file FileStream.cs.

43  {
44  return File.Read(buffer, offset, count);
45  }
int Read(byte[] buffer, int offset, int length)
override long Deveel.Data.Store.FileStream.Seek ( long  offset,
SeekOrigin  origin 
)
inline

Definition at line 35 of file FileStream.cs.

35  {
36  return File.Seek(offset, origin);
37  }
long Seek(long offset, SeekOrigin origin)
override void Deveel.Data.Store.FileStream.SetLength ( long  value)
inline

Definition at line 39 of file FileStream.cs.

39  {
40  File.SetLength(value);
41  }
void SetLength(long value)
override void Deveel.Data.Store.FileStream.Write ( byte[]  buffer,
int  offset,
int  count 
)
inline

Definition at line 47 of file FileStream.cs.

47  {
48  File.Write(buffer, offset, count);
49  }
void Write(byte[] buffer, int offset, int length)

Property Documentation

override bool Deveel.Data.Store.FileStream.CanRead
get

Definition at line 51 of file FileStream.cs.

override bool Deveel.Data.Store.FileStream.CanSeek
get

Definition at line 55 of file FileStream.cs.

override bool Deveel.Data.Store.FileStream.CanWrite
get

Definition at line 59 of file FileStream.cs.

IFile Deveel.Data.Store.FileStream.File
getprivate set

Definition at line 22 of file FileStream.cs.

override long Deveel.Data.Store.FileStream.Length
get

Definition at line 63 of file FileStream.cs.

override long Deveel.Data.Store.FileStream.Position
getset

Definition at line 67 of file FileStream.cs.


The documentation for this class was generated from the following file: