Value - Value handle
Similar to property handles, value handles handle property instances. In contrast to property handles, which provide access functionality and management functions for properties, value handle provides operation functions in order to calculate with values.
Value handle refer to an attribute instances, which might be defined as elementary or complex data type attributes, but also as array attributes. Since value handles do not have got iteration or access functions, they cannot handle collection instances, except arrays.
When a value handle refers to a generic attribute, which is a collection property from a technical point of view, the value refers to the currently selected instance for the generic attribute.
Value handles may also refer to MEMO properties, which are conceptual attributes, but technical references, i.e. collection properties.
Value handles support most algebraic operations for elementary values. You can apply most of algebraic operations (as +, -, * etc.) on numerical values and some on string or Boolean values. Conversion is provided implicitly whenever required.
- 1. Administration - Value administration functions
- 2. Access - Access functions
- 2.1. Conversion - Access functions - data conversion
- 2.2. Operation - Access functions - operations
- 2.3. Compare - Access functions - comparison
- 3. Metadata - Value meta information
- Value - Constructor
- abs - Calculate absolute value
- accessible - Is value accessible
- acos - Calculate arc cosine
- appendString - Append string to text field
- asin - Calculate arc sine
- assign - Assign Value
- atan - Calculate arc tangent
- canCompare - Check values for comparability
- close - Close value handle
- compare - Compare the values for two value handles
- contains - Does property contain text
- cos - Calculate cosine
- cosh - Calculate hyperbolic cosine
- database - Database handle
- dictionary - Dictionary handle
- enumStringType - Current enumeration string type
- evaluate - Refresh attribute value
- exp - Calculate exponential function on base-e
- format - Get formatted string
- insertString - Insert string at given position
- isEmpty - Is property instance empty?
- isValid - Is value handle valid
- isValidText - Checks text fields for valid characters
- log - Calculate logarithm on base-e
- log10 - Calculate logarithm on base-10
- objectSpace - Object space handle
- open - Open value handle
- operator! - Negation operator for logical values
- operator!= - Compare two property instances (not equal)
- operator% - Remaining part for integer division
- operator&& - Logical AND operation
- operator* - Multiply two values
- operator*= - Multiply and assign result to first operator
- operator+ - Add two values
- operator++ - Increase by 1
- operator+= - Sum and assign result to first operator
- operator- - Minus operator
- operator-- - Decrease by 1
- operator-= - Subtract and assign result to first operator
- operator/ - Divide properties
- operator/= - Divide and assign result to first operator
- operator< - Compare two property instances (less)
- operator<< - Shift left operator
- operator<= - Compare two property instances (less or equal)
- operator= - Assign value
- operator== - Compare two property instances (equal)
- operator> - Compare two property instances (greater)
- operator>= - Compare two property instances (greater or equal)
- operator>> - Shift right operator
- operator[] - Locate array instance
- operator^ - Exclusive OR operation
- operator|| - Logical OR operation
- pow - Calculate power
- property - Get property handle
- propertyDefinition - Property definition for the value
- read - Read data from MEMO or BLOB field
- removeString - Remove string from text field
- replaceOptions - Replace system variable
- replaceString - Replace text
- searchString - Search string in property
- sin - Calculate sine
- sinh - Calculate hyperbolic sine
- size - Get size for current value
- sqrt - Calculate square root
- subString - Extract substring
- tan - Calculate tangent
- tanh - Calculate hyperbolic tangent
- toBig - Convert value to big integer
- toBool - Convert value to Boolean value
- toDate - Convert value to date value
- toDateTime - Convert value to timestamp value
- toDouble - Convert value to floating value
- toInstance - Convert value into instance
- toInteger - Convert to integer value
- toKey - Convert value into key
- toNormalizedInteger - Get normalized integer value
- toString - Convert to string value
- toTime - Convert to time value
- typeDefinition - Type definition for value
- use - Use passed value handle
- value - Get attribute value
- write - Write data for BLOB properties
- ~Value - Destructor