C# Class BACnet.Tagging.TagReaderStream

Inheritance: IValueStream
Show file Open project: LorenVS/bacstack Class Usage Examples

Public Methods

Method Description
EnterArray ( ) : void

Enters an array value

EnterChoice ( ) : byte

Enters a choice value

EnterSequence ( ) : void

Enters a sequence value

GetBitString24 ( ) : BitString24

Retrieves an bit string value from the stream

GetBitString56 ( ) : BitString56

Retrieves an bit string value from the stream

GetBitString8 ( ) : BitString8

Retrieves an bit string value from the stream

GetBoolean ( ) : bool

Retrieves a boolean value from the stream

GetCharString ( ) : string

Retrieves an char stream value from the stream

GetDate ( ) : Date

Retrieves a date value from the stream

GetEnumerated ( ) : uint

Retrieves an enumerated value from the stream

GetFloat32 ( ) : float

Retrieves a float32 value from the stream

GetFloat64 ( ) : double

Retrieves a float64 value from the stream

GetGeneric ( ) : GenericValue

Retrieves a generic value from the stream

GetNull ( ) : System.Null

Retrieves a null value from the tream

GetObjectId ( ) : ObjectId

Retrieves an object id value from the stream

GetOctetString ( ) : byte[]

Retrieves an octet stream value from the stream

GetSigned16 ( ) : short

Retrieves a signed value from the stream

GetSigned32 ( ) : int

Retrieves a signed value from the stream

GetSigned64 ( ) : long

Retrieves a signed value from the stream

GetSigned8 ( ) : sbyte

Retrieves a signed value from the stream

GetTime ( ) : Time

Retrieves a time value from the stream

GetUnsigned16 ( ) : ushort

Retrieves an unsigned value from the stream

GetUnsigned32 ( ) : uint

Retrieves an unsigned value from the stream

GetUnsigned64 ( ) : ulong

Retrieves an unsigned value from the stream

GetUnsigned8 ( ) : byte

Retrieves an unsigned value from the stream

LeaveArray ( ) : void

Leaves an array value

LeaveChoice ( ) : void

Leaves a choice value

LeaveSequence ( ) : void

Leaves a sequence value

OptionHasValue ( ) : bool

Determines whether an option has a value

TagReaderStream ( TagReader reader, ISchema schema ) : System

Constructs a new TagReaderStream

Private Methods

Method Description
_atEnd ( byte tag ) : bool

Determines whether the tag reader is at the end of an array or list

_moveNext ( ) : void

Moves the current state to the next value to read

_require ( StreamOp op ) : void

Requires that the next operation is expected

Method Details

EnterArray() public method

Enters an array value
public EnterArray ( ) : void
return void

EnterChoice() public method

Enters a choice value
public EnterChoice ( ) : byte
return byte

EnterSequence() public method

Enters a sequence value
public EnterSequence ( ) : void
return void

GetBitString24() public method

Retrieves an bit string value from the stream
public GetBitString24 ( ) : BitString24
return BACnet.Types.BitString24

GetBitString56() public method

Retrieves an bit string value from the stream
public GetBitString56 ( ) : BitString56
return BACnet.Types.BitString56

GetBitString8() public method

Retrieves an bit string value from the stream
public GetBitString8 ( ) : BitString8
return BACnet.Types.BitString8

GetBoolean() public method

Retrieves a boolean value from the stream
public GetBoolean ( ) : bool
return bool

GetCharString() public method

Retrieves an char stream value from the stream
public GetCharString ( ) : string
return string

GetDate() public method

Retrieves a date value from the stream
public GetDate ( ) : Date
return Date

GetEnumerated() public method

Retrieves an enumerated value from the stream
public GetEnumerated ( ) : uint
return uint

GetFloat32() public method

Retrieves a float32 value from the stream
public GetFloat32 ( ) : float
return float

GetFloat64() public method

Retrieves a float64 value from the stream
public GetFloat64 ( ) : double
return double

GetGeneric() public method

Retrieves a generic value from the stream
public GetGeneric ( ) : GenericValue
return GenericValue

GetNull() public method

Retrieves a null value from the tream
public GetNull ( ) : System.Null
return System.Null

GetObjectId() public method

Retrieves an object id value from the stream
public GetObjectId ( ) : ObjectId
return ObjectId

GetOctetString() public method

Retrieves an octet stream value from the stream
public GetOctetString ( ) : byte[]
return byte[]

GetSigned16() public method

Retrieves a signed value from the stream
public GetSigned16 ( ) : short
return short

GetSigned32() public method

Retrieves a signed value from the stream
public GetSigned32 ( ) : int
return int

GetSigned64() public method

Retrieves a signed value from the stream
public GetSigned64 ( ) : long
return long

GetSigned8() public method

Retrieves a signed value from the stream
public GetSigned8 ( ) : sbyte
return sbyte

GetTime() public method

Retrieves a time value from the stream
public GetTime ( ) : Time
return BACnet.Types.Time

GetUnsigned16() public method

Retrieves an unsigned value from the stream
public GetUnsigned16 ( ) : ushort
return ushort

GetUnsigned32() public method

Retrieves an unsigned value from the stream
public GetUnsigned32 ( ) : uint
return uint

GetUnsigned64() public method

Retrieves an unsigned value from the stream
public GetUnsigned64 ( ) : ulong
return ulong

GetUnsigned8() public method

Retrieves an unsigned value from the stream
public GetUnsigned8 ( ) : byte
return byte

LeaveArray() public method

Leaves an array value
public LeaveArray ( ) : void
return void

LeaveChoice() public method

Leaves a choice value
public LeaveChoice ( ) : void
return void

LeaveSequence() public method

Leaves a sequence value
public LeaveSequence ( ) : void
return void

OptionHasValue() public method

Determines whether an option has a value
public OptionHasValue ( ) : bool
return bool

TagReaderStream() public method

Constructs a new TagReaderStream
public TagReaderStream ( TagReader reader, ISchema schema ) : System
reader TagReader The tag reader instance to read from
schema ISchema The schema for the types to read
return System