OpenClovis Logo

Functional Description
Container Service

Description of the Container Service. More...

Description of the Container Service.

The OpenClovis Container Library provides basic data management facilities by means of Container abstraction. It provides a common interface for all Container types. It provides the following functions:

When adding data into the Container, you must specify a tuple consisting of key and data. The data is associated with specified key. You can associate multiple data with the same key. This can be done by specifying same key when adding data. Before any of the afore-mentioned operations can be performed on the Container, the Container must be created. Container creation is achieved through a specific Container create operation. Currently, the Container Library supports the following three types of specific Containers:

It is important to realize that by using the Container abstraction, you can switch Containers without having to rewrite a significant section of their code. Only the Container creation call needs to be changed appropriately. This is explained further with an example in a later section. This document contains the definitions and function prototypes for the Container Library.

Interaction with other components

Container APIs depend on the Heap utility for memory allocation and deallocation.


Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen