BlockReaderXml Class

Block writer implementation, outputting XML

Definition

Namespace: DHI.Mike1D.ModelState
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class BlockReaderXml : IBlockReader
Inheritance
Object    BlockReaderXml
Implements
IBlockReader

Constructors

BlockReaderXml(Stream) Create reader, and read from stream
BlockReaderXml(String) Create reader, and read from file

Properties

HasLineInfo Flag indicating if class can return line information
LineNumber The current line number in the xml file, or -1 if not available
LinePosition The current line position in the xml file, or -1 if not available
TokenName Name of current token.
TokenType Type of current token

Methods

Close Close reader
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Read Read next token from state stream
ReadBoolean Read string integer
ReadBooleans Read a list of strings
ReadDateTime Read DateTime
ReadDateTimes 
ReadDouble Read double
ReadDoubleOrDateTime Try to read a double or DateTime value.
ReadDoubles Read a list of doubles
ReadInt Read string integer
ReadInts Read a list of integers
ReadListDoubleOrDateTime Try to read a list of double or DateTime values.
ReadString Read string
ReadStrings Read a list of strings
ReadTimeSpan Read TimeSpan
ReadTimeSpans 
Skip Skip current element, moves beyond the ObjectEnd of the current section.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also