Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.IO.CBOR.CBORType Class Reference

The CBOR type. More...

Static Public Attributes

static readonly CBORType VALUE_NULL = new CBORType( CBORTypeID.ValueNull )
 Represents the CBOR 'null' value type. More...
 
static readonly CBORType VALUE_FALSE = new CBORType( CBORTypeID.ValueFalse )
 Represents the CBOR boolean value type that is set to false. More...
 
static readonly CBORType VALUE_TRUE = new CBORType( CBORTypeID.ValueTrue )
 Represents the CBOR boolean value that is set to true. More...
 
static readonly CBORType VALUE_INTEGER = new CBORType( CBORTypeID.ValueInteger )
 Represents the CBOR integer value type. More...
 
static readonly CBORType VALUE_FLOAT = new CBORType( CBORTypeID.ValueFloat )
 Represents the CBOR floating point value type. More...
 
static readonly CBORType BYTE_SEQUENCE = new CBORType( CBORTypeID.ByteSequence )
 Represents the CBOR byte sequence type. More...
 
static readonly CBORType VALUE_STRING = new CBORType( CBORTypeID.ValueString )
 Represents the CBOR UTF-8 encoded string type. More...
 
static readonly CBORType FIELD_NAME = new CBORType( CBORTypeID.FieldName )
 Represents the CBOR UTF-8 encoded field name type. More...
 
static readonly CBORType ARRAY_START = new CBORType( CBORTypeID.ArrayStart )
 Represents the start of a CBOR array structure type. More...
 
static readonly CBORType ARRAY_END = new CBORType( CBORTypeID.ArrayEnd )
 Represents the end of a CBOR array structure type. More...
 
static readonly CBORType OBJECT_START = new CBORType( CBORTypeID.ObjectStart )
 Represents the start of a CBOR object structure type. More...
 
static readonly CBORType OBJECT_END = new CBORType( CBORTypeID.ObjectEnd )
 Represents the end of a CBOR object structure type. More...
 

Properties

bool IsNumeric [get, set]
 Returns true if the current CBOR type is a numeric type. Otherwise false. More...
 
bool IsSequence [get, set]
 Returns true if the current CBOR type is a sequence of bytes. Otherwise false. More...
 
bool IsStructureStart [get, set]
 Returns true if the current CBOR type indicates the start of a structure. Otherwise false. More...
 
bool IsStructureEnd [get, set]
 Returns true if the current CBOR type indicated the end of a structure. Otherwise false; More...
 
bool IsBoolean [get, set]
 Returns true if the current CBOR type is a boolean value. Otherwise false. More...
 

Detailed Description

The CBOR type.

Member Data Documentation

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.ARRAY_END = new CBORType( CBORTypeID.ArrayEnd )
static

Represents the end of a CBOR array structure type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.ARRAY_START = new CBORType( CBORTypeID.ArrayStart )
static

Represents the start of a CBOR array structure type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.BYTE_SEQUENCE = new CBORType( CBORTypeID.ByteSequence )
static

Represents the CBOR byte sequence type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.FIELD_NAME = new CBORType( CBORTypeID.FieldName )
static

Represents the CBOR UTF-8 encoded field name type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.OBJECT_END = new CBORType( CBORTypeID.ObjectEnd )
static

Represents the end of a CBOR object structure type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.OBJECT_START = new CBORType( CBORTypeID.ObjectStart )
static

Represents the start of a CBOR object structure type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_FALSE = new CBORType( CBORTypeID.ValueFalse )
static

Represents the CBOR boolean value type that is set to false.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_FLOAT = new CBORType( CBORTypeID.ValueFloat )
static

Represents the CBOR floating point value type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_INTEGER = new CBORType( CBORTypeID.ValueInteger )
static

Represents the CBOR integer value type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_NULL = new CBORType( CBORTypeID.ValueNull )
static

Represents the CBOR 'null' value type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_STRING = new CBORType( CBORTypeID.ValueString )
static

Represents the CBOR UTF-8 encoded string type.

readonly CBORType PushTechnology.ClientInterface.IO.CBOR.CBORType.VALUE_TRUE = new CBORType( CBORTypeID.ValueTrue )
static

Represents the CBOR boolean value that is set to true.

Property Documentation

bool PushTechnology.ClientInterface.IO.CBOR.CBORType.IsBoolean
getset

Returns true if the current CBOR type is a boolean value. Otherwise false.

The boolean value will either be true or false. It will never be represented as a integer or string value.

bool PushTechnology.ClientInterface.IO.CBOR.CBORType.IsNumeric
getset

Returns true if the current CBOR type is a numeric type. Otherwise false.

A numeric type can either be a integer or floating point.

bool PushTechnology.ClientInterface.IO.CBOR.CBORType.IsSequence
getset

Returns true if the current CBOR type is a sequence of bytes. Otherwise false.

A sequence of bytes could either be a UTF-8 encoded field name, a UTF-8 encoded string or a simple sequence of bytes with no predetermined encoding.

bool PushTechnology.ClientInterface.IO.CBOR.CBORType.IsStructureEnd
getset

Returns true if the current CBOR type indicated the end of a structure. Otherwise false;

A structure could either be a simple sequence of values or a sequence of key/value pairs, where the key is a UTF-8 encoded fieldname.

bool PushTechnology.ClientInterface.IO.CBOR.CBORType.IsStructureStart
getset

Returns true if the current CBOR type indicates the start of a structure. Otherwise false.

A structure could either be a simple sequence of values or a sequence of key/value pairs, where the key is a UTF-8 encoded fieldname.


The documentation for this class was generated from the following file: