A record is a container and an element. A record refers to a set of fields in a defined order. A set or records that has the same fields in the same order can be called a recordset or a table. Fields in a given position make a column. A column is conceptual. The CommsDat API has no C++ item defined as a column.
There are two types of record:
records defined at system compile time - these records have named fields and are defined by Symbian OS.
records defined by the user - these records are defined at run time - they are not known to Symbian OS when Symbian OS is built.
The class
The class defines a schema for the record. A schema is a pattern for the record that all records of this type follow. The class contains a set of fields and links to other records.
For example, Symbian OS defines the class
The public data members of this class are the fields and links that make the record. The following code shows part of the class definition. Some parts are omitted - this is not the complete class definition.
To create an instance of a Symbian OS defined record in memory, use the factory function:
Tools and applications can also create an instance of a Symbian OS defined record in memory, and copy it from another record. Use the factory function:
Fields are public data members of a Symbian OS defined record. Tools and applications access the fields directly.
Tools and applications can use the
The class
A schema is an array of
Tools and applications can use the
You use the same methods to create, store and access user defined records that Symbian OS defined records use. Symbian OS backs up user defined data and secures user defined data with Platform Security. Symbian OS does not maintain user defined data formats.
Tools and applications must use the
A record is a container and an element. A record refers to a set of fields +in a defined order. A set or records that has the same fields in the same +order can be called a recordset or a table. Fields in a given position make +a column. A column is conceptual. The CommsDat API has no C++ item defined +as a column.
+There are two types of record:
+records defined at system +compile time - these records have named fields and are defined by Symbian +platform.
records defined by the +user - these records are defined at run time - they are not known to Symbian +platform when Symbian platform is built.
The
+class
The class defines a schema for the record. A schema is a +pattern for the record that all records of this type follow. The class contains +a set of fields and links to other records.
For example, Symbian platform defines the class
The +public data members of this class are the fields and links that make the record. +The following code shows part of the class definition. Some parts are omitted +- this is not the complete class definition.
To create an instance of a Symbian platform defined record
+in memory, use the factory function:
Tools
+and applications can also create an instance of a Symbian platform defined
+record in memory, and copy it from another record. Use the factory function:
Fields +are public data members of a Symbian platform defined record. Tools and applications +access the fields directly.
Tools and applications can use the
The class
A
+schema is an array of
Tools
+and applications can use the
You use the same methods to create, store and access user +defined records that Symbian platform defined records use. Symbian platform +backs up user defined data and secures user defined data with Platform Security. +Symbian platform does not maintain user defined data formats.
Tools
+and applications must use the