Home > Language Reference > Classes
StreamRecord Class
+ Object
+ Stream
+ StreamMemory
+ StreamRecord
Description
The StreamRecord class encapsulates the necessary properties for manipulating database records which contain data or resources. This class is instantiable and cloneable, but not derivable (see also Data Streams).
Members
| Members | Description |
| Category | Record category. |
| Dirty | Indicates whether the record has been modified since the last HotSync® operation or not. |
| ResID | Resource identifier |
| ResType | Resource type. |
| Secret | Indicates if the record is 'Private'. |
| UniqueID | Unique record identifier |
| Inherited from StreamMemory | Description |
| Clear | Deletes the data in a stream. |
| Crc16 | Computes the CRC-16 value of the data in a stream (deprecated). |
| Destructive | Indicates whether the stream is in destructive mode or not. |
| FindByte | Finds the first occurence of a byte value in the data stream. |
| hMem | Handle or pointer to the memory block the object holds. |
| Kind | Retrieves information about the memory block the object holds. |
| Map | Maps the StreamMemory object to a specific memory address. |
| Truncate | Truncates the stream from the current pointer position. |
| Inherited from Stream | Description |
| Position | Stream pointer position. |
| Read | Reads data from a stream. |
| Seek | Moves the stream pointer. |
| SeekToBegin | Moves the pointer to the beginning of the stream. |
| SeekToEnd | Moves the pointer to the end of the stream. |
| Size | Total size of the data in a stream. |
| Write | Writes data to a stream. |
| Inherited from Object | Description |
| ClassID | Returns the type identifier corresponding to the actual class of the object. |
| Implements | Determines whether the object implements the features of a given class. |
| Iterate | Event raised to iterate over the elements of a container object. |
| Recipient | Recipient of events sent by the object. |
| Serialize | Event raised to serialize the object content into a stream. |
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |