Dynamic View Services > Specifying Dynamic View Types > User-Defined Representation Attributes Types > Predefined User Types
 
Predefined User Types
A few commonly used user types are now predefined as Rogue Wave® Server user types, supported both in C++ and JavaTM. These new predefined user types are:
*IlsMvArray/MvArray: This class implements a transportable and extensible array of IlsMvValue objects.
*IlsMvKeyValueTable/MvKeyValueTable: This class implements a transportable map of IlsMvValue objects. This map stores (key,value) pairs in which both key and value are IlsMvValue objects.
*IlsMvDateTime/MvDateTime: This class implements a transportable date type which can be used to represent a date. This date supports time zones and millisecond precision.
All these types can be used both in C++ and Java, and can be exchanged through the Rogue Wave Server generic protocol as arguments of exported callbacks or through the mapping of attributes in dynamic views.
Note: The Java names of the predefined user types should be used in Rogue Wave Server macros when applicable.
Example
The following line describing a global function that takes a date:
ILS_GLOBAL_FUNCTION1(IlsBoolean, setDate, MvDateTime);

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.