C# Class BACnet.Tagging.TagReaderStream

Inheritance: IValueStream
Afficher le fichier Open project: LorenVS/bacstack Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Enters an array value
public EnterArray ( ) : void
Résultat void

EnterChoice() public méthode

Enters a choice value
public EnterChoice ( ) : byte
Résultat byte

EnterSequence() public méthode

Enters a sequence value
public EnterSequence ( ) : void
Résultat void

GetBitString24() public méthode

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

GetBitString56() public méthode

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

GetBitString8() public méthode

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

GetBoolean() public méthode

Retrieves a boolean value from the stream
public GetBoolean ( ) : bool
Résultat bool

GetCharString() public méthode

Retrieves an char stream value from the stream
public GetCharString ( ) : string
Résultat string

GetDate() public méthode

Retrieves a date value from the stream
public GetDate ( ) : Date
Résultat Date

GetEnumerated() public méthode

Retrieves an enumerated value from the stream
public GetEnumerated ( ) : uint
Résultat uint

GetFloat32() public méthode

Retrieves a float32 value from the stream
public GetFloat32 ( ) : float
Résultat float

GetFloat64() public méthode

Retrieves a float64 value from the stream
public GetFloat64 ( ) : double
Résultat double

GetGeneric() public méthode

Retrieves a generic value from the stream
public GetGeneric ( ) : GenericValue
Résultat GenericValue

GetNull() public méthode

Retrieves a null value from the tream
public GetNull ( ) : System.Null
Résultat System.Null

GetObjectId() public méthode

Retrieves an object id value from the stream
public GetObjectId ( ) : ObjectId
Résultat ObjectId

GetOctetString() public méthode

Retrieves an octet stream value from the stream
public GetOctetString ( ) : byte[]
Résultat byte[]

GetSigned16() public méthode

Retrieves a signed value from the stream
public GetSigned16 ( ) : short
Résultat short

GetSigned32() public méthode

Retrieves a signed value from the stream
public GetSigned32 ( ) : int
Résultat int

GetSigned64() public méthode

Retrieves a signed value from the stream
public GetSigned64 ( ) : long
Résultat long

GetSigned8() public méthode

Retrieves a signed value from the stream
public GetSigned8 ( ) : sbyte
Résultat sbyte

GetTime() public méthode

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

GetUnsigned16() public méthode

Retrieves an unsigned value from the stream
public GetUnsigned16 ( ) : ushort
Résultat ushort

GetUnsigned32() public méthode

Retrieves an unsigned value from the stream
public GetUnsigned32 ( ) : uint
Résultat uint

GetUnsigned64() public méthode

Retrieves an unsigned value from the stream
public GetUnsigned64 ( ) : ulong
Résultat ulong

GetUnsigned8() public méthode

Retrieves an unsigned value from the stream
public GetUnsigned8 ( ) : byte
Résultat byte

LeaveArray() public méthode

Leaves an array value
public LeaveArray ( ) : void
Résultat void

LeaveChoice() public méthode

Leaves a choice value
public LeaveChoice ( ) : void
Résultat void

LeaveSequence() public méthode

Leaves a sequence value
public LeaveSequence ( ) : void
Résultat void

OptionHasValue() public méthode

Determines whether an option has a value
public OptionHasValue ( ) : bool
Résultat bool

TagReaderStream() public méthode

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
Résultat System