C# Класс TSystems.RELOAD.Storage.StoredDataValue

The protocol currently defines the following data models: o single value o array o dictionary These are represented with the StoredDataValue structure. The actual dataModel is known from the kind being stored. RELOAD base -13 p.83 --alex
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
array_entry ArrayEntry
dictionary_entry DictionaryEntry
single_value_entry DataValue

Открытые методы

Метод Описание
Dump ( BinaryWriter writer ) : UInt32

This method just serializes itself depended of the data model of the contained Usage data.

single_value: writes exists value

array_entry : writes exits and index values

dictionary : writes exits and key values

StoredDataValue ( IUsage value, System.Boolean exists ) : System

This private Constructor creates instances of StoredDataValue, that carray a single_value_entry

StoredDataValue ( UInt32 index, IUsage value, System.Boolean exists ) : System

This private Constructor creates instances of StoredDataValue, that carray a array_entry

StoredDataValue ( string key, IUsage value, System.Boolean exists ) : System

This Constructor creates instances of StoredDataValue, that carray a dictionary_entry

Приватные методы

Метод Описание
createDataValue ( IUsage value, System.Boolean exists ) : DataValue

Описание методов

Dump() публичный Метод

This method just serializes itself depended of the data model of the contained Usage data.

single_value: writes exists value

array_entry : writes exits and index values

dictionary : writes exits and key values

public Dump ( BinaryWriter writer ) : UInt32
writer System.IO.BinaryWriter
Результат System.UInt32

StoredDataValue() публичный Метод

This private Constructor creates instances of StoredDataValue, that carray a single_value_entry
public StoredDataValue ( IUsage value, System.Boolean exists ) : System
value IUsage
exists System.Boolean
Результат System

StoredDataValue() публичный Метод

This private Constructor creates instances of StoredDataValue, that carray a array_entry
public StoredDataValue ( UInt32 index, IUsage value, System.Boolean exists ) : System
index System.UInt32
value IUsage
exists System.Boolean
Результат System

StoredDataValue() публичный Метод

This Constructor creates instances of StoredDataValue, that carray a dictionary_entry
public StoredDataValue ( string key, IUsage value, System.Boolean exists ) : System
key string
value IUsage
exists System.Boolean
Результат System

Описание свойств

array_entry публичное свойство

public ArrayEntry,TSystems.RELOAD.Storage array_entry
Результат ArrayEntry

dictionary_entry публичное свойство

public DictionaryEntry,TSystems.RELOAD.Storage dictionary_entry
Результат DictionaryEntry

single_value_entry публичное свойство

public DataValue,TSystems.RELOAD.Storage single_value_entry
Результат DataValue