C# Class Goedel.Mesh.ApplicationProfileEntry

Base class for application profile entries.
Exibir arquivo Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Properties

Property Type Description
ApplicationProfile ApplicationProfile

Public Methods

Method Description
AddDevice ( SignedDeviceProfile Device ) : void

Add the specified device to the linked personal profile and create any device specific entries in the private profile.

ApplicationProfileEntry ( ) : System

Default Constructor

ApplicationProfileEntry ( ApplicationProfile ApplicationProfile ) : System

Create a new entry for the specified profile.

ApplicationProfileEntry ( JSONReader JSONReader ) : System

Initialize class from JSONReader stream.

ApplicationProfileEntry ( string _String ) : System

Initialize class from a JSON encoded class.

DeserializeToken ( JSONReader JSONReader, string Tag ) : void

Having read a tag, process the corresponding value data.

From ( byte _Data ) : ApplicationProfileEntry

Create a new instance from untagged byte input. i.e. {... data ... }

From ( string _Input ) : ApplicationProfileEntry

Create a new instance from untagged string input. i.e. {... data ... }

FromTagged ( JSONReader JSONReader ) : ApplicationProfileEntry

Deserialize a tagged stream

FromTagged ( byte _Data ) : ApplicationProfileEntry

Create a new instance from tagged byte input. i.e. { "ApplicationProfileEntry" : {... data ... } }

FromTagged ( string _Input ) : ApplicationProfileEntry

Create a new instance from tagged string input. i.e. { "ApplicationProfileEntry" : {... data ... } }

Serialize ( Writer Writer, bool wrap, bool &first ) : void

Serialize this object to the specified output stream.

SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void

Serialize this object to the specified output stream. Unlike the Serlialize() method, this method is not inherited from the parent class allowing a specific version of the method to be called.

Tag ( ) : string

Tag identifying this class.

Method Details

AddDevice() public method

Add the specified device to the linked personal profile and create any device specific entries in the private profile.
public AddDevice ( SignedDeviceProfile Device ) : void
Device SignedDeviceProfile The device to add.
return void

ApplicationProfileEntry() public method

Default Constructor
public ApplicationProfileEntry ( ) : System
return System

ApplicationProfileEntry() public method

Create a new entry for the specified profile.
public ApplicationProfileEntry ( ApplicationProfile ApplicationProfile ) : System
ApplicationProfile ApplicationProfile Profile to link to.
return System

ApplicationProfileEntry() public method

Initialize class from JSONReader stream.
public ApplicationProfileEntry ( JSONReader JSONReader ) : System
JSONReader JSONReader Input stream
return System

ApplicationProfileEntry() public method

Initialize class from a JSON encoded class.
public ApplicationProfileEntry ( string _String ) : System
_String string Input string
return System

DeserializeToken() public method

Having read a tag, process the corresponding value data.
public DeserializeToken ( JSONReader JSONReader, string Tag ) : void
JSONReader JSONReader The input stream
Tag string The tag
return void

From() public static method

Create a new instance from untagged byte input. i.e. {... data ... }
public static From ( byte _Data ) : ApplicationProfileEntry
_Data byte The input data.
return ApplicationProfileEntry

From() public static method

Create a new instance from untagged string input. i.e. {... data ... }
public static From ( string _Input ) : ApplicationProfileEntry
_Input string The input data.
return ApplicationProfileEntry

FromTagged() public static method

Deserialize a tagged stream
public static FromTagged ( JSONReader JSONReader ) : ApplicationProfileEntry
JSONReader JSONReader The input stream
return ApplicationProfileEntry

FromTagged() public static method

Create a new instance from tagged byte input. i.e. { "ApplicationProfileEntry" : {... data ... } }
public static FromTagged ( byte _Data ) : ApplicationProfileEntry
_Data byte The input data.
return ApplicationProfileEntry

FromTagged() public static method

Create a new instance from tagged string input. i.e. { "ApplicationProfileEntry" : {... data ... } }
public static FromTagged ( string _Input ) : ApplicationProfileEntry
_Input string The input data.
return ApplicationProfileEntry

Serialize() public method

Serialize this object to the specified output stream.
public Serialize ( Writer Writer, bool wrap, bool &first ) : void
Writer Writer Output stream
wrap bool If true, output is wrapped with object /// start and end sequences '{ ... }'.
first bool If true, item is the first entry in a list.
return void

SerializeX() public method

Serialize this object to the specified output stream. Unlike the Serlialize() method, this method is not inherited from the parent class allowing a specific version of the method to be called.
public SerializeX ( Writer _Writer, bool _wrap, bool &_first ) : void
_Writer Writer Output stream
_wrap bool If true, output is wrapped with object /// start and end sequences '{ ... }'.
_first bool If true, item is the first entry in a list.
return void

Tag() public method

Tag identifying this class.
public Tag ( ) : string
return string

Property Details

ApplicationProfile public_oe property

The application profile object this entry belongs to.
public ApplicationProfile,Goedel.Mesh ApplicationProfile
return ApplicationProfile