ROArrayType

Overview

Abstract array object used as a prototype by custom RODL array types. Can read/write itself from/to the message

Location

RemObjectsSDK.js


 

constructor ROArrayType

Creates an instance.

function constructor ROArrayType()

elementType

Holds name of the array elements type.

elementType

fromObject

Populates items from aValue, creates complex objects when needed.

function fromObject(aValue)

Parameters:

  • aValue: array

items

Holds items values.

items

readFrom

Reads itself from the message object.

function readFrom(aMessage)

Parameters:


toObject

Returns shallow JavaScript array with items data.

function toObject(aStoreType)

Parameters:

  • aStoreType: boolean

writeTo

Writes itself to the message object.

function writeTo(aMessage)

Parameters:

 

elementType

Holds name of the array elements type.

elementType

items

Holds items values.

items

 

constructor ROArrayType

Creates an instance.

function constructor ROArrayType()

fromObject

Populates items from aValue, creates complex objects when needed.

function fromObject(aValue)

Parameters:

  • aValue: array

readFrom

Reads itself from the message object.

function readFrom(aMessage)

Parameters:


toObject

Returns shallow JavaScript array with items data.

function toObject(aStoreType)

Parameters:

  • aStoreType: boolean

writeTo

Writes itself to the message object.

function writeTo(aMessage)

Parameters: