API General Design
API uses a Super Class approach
- Abstract “SEDRIS Object” base class.
- Functions can be thought of as methods of this base class.
- Functions for the most part are not class specific.
Objects allocated and returned by the API must be freed by the application via functions specific to the data type.
In addition to their specific functional capabilities each API provides the following basic features:
- Range validation of API structures (does not do “logical” validation).
- String formatting of API structures to support display and printing.