C# Class BACnet.Tagging.TagWriterSink

Inheritance: IValueSink
Exibir arquivo Open project: LorenVS/bacstack Class Usage Examples

Public Methods

Method Description
EnterArray ( ) : void

Enters an array value

EnterChoice ( byte choiceIndex ) : void

Enters a choice value

EnterOption ( bool hasValue ) : void

Optionally enters value

EnterSequence ( ) : void

Enters a sequence value

LeaveArray ( ) : void

Leaves an array value

LeaveChoice ( ) : void

Leaves a choice value

LeaveSequence ( ) : void

Leaves a sequence value

PutBitString24 ( BitString24 value ) : void

Puts a value into the sink

PutBitString56 ( BitString56 value ) : void

Puts a value into the sink

PutBitString8 ( BitString8 value ) : void

Puts a value into the sink

PutBoolean ( bool value ) : void

Puts a value into the sink

PutCharString ( string value ) : void

Puts a value into the sink

PutDate ( Date value ) : void

Puts a value into the sink

PutEnumerated ( Enumerated value ) : void

Puts a value into the sink

PutFloat32 ( float value ) : void

Puts a value into the sink

PutFloat64 ( double value ) : void

Puts a value into the sink

PutGeneric ( GenericValue value ) : void

Puts a value into the sink

PutNull ( System.Null value ) : void

Puts a value into the sink

PutObjectId ( ObjectId value ) : void

Puts a value into the sink

PutOctetString ( byte value ) : void

Puts a value into the sink

PutSigned16 ( short value ) : void

Puts a value into the sink

PutSigned32 ( int value ) : void

Puts a value into the sink

PutSigned64 ( long value ) : void

Puts a value into the sink

PutSigned8 ( sbyte value ) : void

Puts a value into the sink

PutTime ( Time value ) : void

Puts a value into the sink

PutUnsigned16 ( ushort value ) : void

Puts a value into the sink

PutUnsigned32 ( uint value ) : void

Puts a value into the sink

PutUnsigned64 ( ulong value ) : void

Puts a value into the sink

PutUnsigned8 ( byte value ) : void

Puts a value into the sink

TagWriterSink ( TagWriter writer, ISchema schema ) : System

Constructs a new TagWriterSink

Private Methods

Method Description
_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 choiceIndex ) : void
choiceIndex byte The active choice
return void

EnterOption() public method

Optionally enters value
public EnterOption ( bool hasValue ) : void
hasValue bool True if there is a value, false otherwise
return void

EnterSequence() public method

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

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

PutBitString24() public method

Puts a value into the sink
public PutBitString24 ( BitString24 value ) : void
value BACnet.Types.BitString24 The value to put
return void

PutBitString56() public method

Puts a value into the sink
public PutBitString56 ( BitString56 value ) : void
value BACnet.Types.BitString56 The value to put
return void

PutBitString8() public method

Puts a value into the sink
public PutBitString8 ( BitString8 value ) : void
value BACnet.Types.BitString8 The value to put
return void

PutBoolean() public method

Puts a value into the sink
public PutBoolean ( bool value ) : void
value bool The value to put
return void

PutCharString() public method

Puts a value into the sink
public PutCharString ( string value ) : void
value string The value to put
return void

PutDate() public method

Puts a value into the sink
public PutDate ( Date value ) : void
value Date The value to put
return void

PutEnumerated() public method

Puts a value into the sink
public PutEnumerated ( Enumerated value ) : void
value BACnet.Types.Enumerated The value to put
return void

PutFloat32() public method

Puts a value into the sink
public PutFloat32 ( float value ) : void
value float The value to put
return void

PutFloat64() public method

Puts a value into the sink
public PutFloat64 ( double value ) : void
value double The value to put
return void

PutGeneric() public method

Puts a value into the sink
public PutGeneric ( GenericValue value ) : void
value GenericValue The value to put
return void

PutNull() public method

Puts a value into the sink
public PutNull ( System.Null value ) : void
value System.Null The value to put
return void

PutObjectId() public method

Puts a value into the sink
public PutObjectId ( ObjectId value ) : void
value ObjectId The value to put
return void

PutOctetString() public method

Puts a value into the sink
public PutOctetString ( byte value ) : void
value byte The value to put
return void

PutSigned16() public method

Puts a value into the sink
public PutSigned16 ( short value ) : void
value short The value to put
return void

PutSigned32() public method

Puts a value into the sink
public PutSigned32 ( int value ) : void
value int The value to put
return void

PutSigned64() public method

Puts a value into the sink
public PutSigned64 ( long value ) : void
value long The value to put
return void

PutSigned8() public method

Puts a value into the sink
public PutSigned8 ( sbyte value ) : void
value sbyte The value to put
return void

PutTime() public method

Puts a value into the sink
public PutTime ( Time value ) : void
value BACnet.Types.Time The value to put
return void

PutUnsigned16() public method

Puts a value into the sink
public PutUnsigned16 ( ushort value ) : void
value ushort The value to put
return void

PutUnsigned32() public method

Puts a value into the sink
public PutUnsigned32 ( uint value ) : void
value uint The value to put
return void

PutUnsigned64() public method

Puts a value into the sink
public PutUnsigned64 ( ulong value ) : void
value ulong The value to put
return void

PutUnsigned8() public method

Puts a value into the sink
public PutUnsigned8 ( byte value ) : void
value byte The value to put
return void

TagWriterSink() public method

Constructs a new TagWriterSink
public TagWriterSink ( TagWriter writer, ISchema schema ) : System
writer TagWriter The tag writer instance to write to
schema ISchema The schema for the types to write
return System