Virtual PhotonicsThe DatabaseWriter TDatabase, TElement type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| DatabaseWriter TDatabase, TElement | Initializes a new instance of the DatabaseWriter TDatabase, TElement class |
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the filestream and writes the accompanying .xml
(Inherited from CustomBinaryStreamWriter T .) | |
| Dispose |
Closes the file and writes the accompanying .xml
(Inherited from CustomBinaryStreamWriter T .) | |
| (Inherited from | ||
| Finalize | (Inherited from CustomBinaryStreamWriter T .) | |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
| Write(IEnumerable T ) |
Writes an enumerable list of data points to the underlying filestream
(Inherited from CustomBinaryStreamWriter T .) | |
| Write(T) |
Writes a single data point to the underlying filestream
(Inherited from CustomBinaryStreamWriter T .) |
Properties
| Name | Description | |
|---|---|---|
| Count |
The number of items that have been written
(Inherited from CustomBinaryStreamWriter T .) | |
| Database |
Publicly exposed database for assigning custom parameters (todo: evaluate utility)
| |
| IsOpen |
Value to check if the file is open for writing
(Inherited from CustomBinaryStreamWriter T .) | |
| PostWriteAction |
Optional code that will be run after the database has completed writing (on call to Close() or Dispose())
(Inherited from CustomBinaryStreamWriter T .) | |
| PreWriteAction |
Optional code that will be run before the database begins writing (after call to Open())
(Inherited from CustomBinaryStreamWriter T .) |
See Also