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 .) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from CustomBinaryStreamWriter T .) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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