C# Class 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
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
array_entry ArrayEntry
dictionary_entry DictionaryEntry
single_value_entry DataValue

Méthodes publiques

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

Private Methods

Méthode Description
createDataValue ( IUsage value, System.Boolean exists ) : DataValue

Method Details

Dump() public méthode

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

StoredDataValue() public méthode

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

StoredDataValue() public méthode

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

StoredDataValue() public méthode

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

Property Details

array_entry public_oe property

public ArrayEntry,TSystems.RELOAD.Storage array_entry
Résultat ArrayEntry

dictionary_entry public_oe property

public DictionaryEntry,TSystems.RELOAD.Storage dictionary_entry
Résultat DictionaryEntry

single_value_entry public_oe property

public DataValue,TSystems.RELOAD.Storage single_value_entry
Résultat DataValue