The following classes are composite data-type classes. For details, see the Origin C Reference: Classes ā Composite Data Types chapter in the Origin C help.
| Class | Brief Description |
|---|---|
| CategoricalData | An array of integers tied to an internal Origin Text data set. Values map text to category indices (1-based). The mapped texts live in the associated CategoricalMap. |
| CategoricalMap | An array of unique text values (allocated dynamically), not tied to an internal data set. Values are stored alphanumerically and referenced by CategoricalData indices. |
| complex | Handles complex numbers; stores both real and imaginary parts and provides complex arithmetic/utilities. |
| Curve | Derived from curvebase and vectorbase. Represents a Y data set with an optional associated X. Can be plotted via GraphLayer methods. |
| curvebase | Abstract base of curve-like classes (used polymorphically). Not constructible; use a derived class such as Curve. |
| Dataset | Dynamic array derived from vector/vectorbase. May be tied or not tied to an internal Origin data set. Default element type is double; supports basic types (char, byte, short, word, int, uint, complex; not string). Use Dataset<type>.
|
| Matrix | Two-dimensional array derived from matrix/matrixbase, tied to an Origin matrix window. Default type is double; supports basic types (char, byte, short, word, int, uint, complex; not string). Use Matrix<type>. Accesses matrix data; MatrixObject controls display/style. Worksheet āZā values map linearly to X (columns) and Y (rows).
|
| matrix | Two-dimensional array (lowercase m) derived from matrixbase, not tied to a matrix window (more flexible). Default type is double; supports the same basic types (not string). Use matrix<type>.
|
| matrixbase | Abstract base for matrix and Matrix (polymorphic use). Not constructible; use derived classes. |
| PropertyNode | Container for typed properties (bool, int, float, double, string, vector, matrix, picture, etc.). |
| string | Null-terminated character array (similar to MFC CString) with rich string APIs. Works with vector<string> for string arrays.
|
| Tree | Save/load Origin C trees as XML. |
| TreeNode | Build multi-level trees; traverse nodes; access attributes. |
| TreeNodeCollection | Retrieve collections of child nodes with a shared name prefix. |
| vectorbase | Abstract base for vector and Dataset (polymorphic use). Not constructible; use derived classes. |
| vector | Dynamic array derived from vectorbase, not tied to an internal data set (more flexible). Default type is double; supports basic types including char, byte, short, word, int, uint, complex, and string. Use vector<type>.
|