Class pvx_data

This class holds information about a single piece of information used by the plug-in. Each piece of information has three attributes: name, value and type. This class was called 'Ecipse_data' in previous versions of the plug-in.

Build Information

Author Jarett Smith
Date Nov 16, 2006
Outputfile pvx_data.pvc
Forcelinenumbers false

Constructor

Create a new data object where a value can be stored and the data type can be set.

ParameterDescription
initKey$ The name of this data value.
InitValue$ Initial String value; the type is implied from this data value. (Optional) ** Only one value accepted String OR Numeric **
InitValue Initial numeric value (Optional) ** Only one value accepted String OR Numeric **

Properties

PROPERTY _version$

PROPERTY BOOLEAN_TYPE

PROPERTY STRING_TYPE

PROPERTY NUMERIC_TYPE

Methods

FUNCTION getKey$()

Return the key (name) associated with this data.

FUNCTION getType()

Return the type of data

FUNCTION getValue$()

Return the data value for string data

FUNCTION getValue()

Return the data value for numeric data

FUNCTION setType(initType)

Set the data type

ParameterDescription
initType A data type specified by referencing the corresponding property defined within this class.
FUNCTION setValue(inValue$)

Set the data value for string data

ParameterDescription
inValue$ The value to be assigned
FUNCTION setValue(inValue)

Set the data value for numeric data

ParameterDescription
inValue The value to be assigned