# Container classes

## Detailed Description

Container classes:.

- cQueue: a (priority) queue for objects derived from cObject
- cArray: a dynamic array for storing objects derived from cObject

You can also use other container classes (such as STL's vector or map), especially for structs or classes not derived from cObject. For cMessage (and other cObject-rooted classes) the disadvantage of STL is that those container objects will not appear and will not be inspectable under graphical user interfaces like Tkenv. To make them inspectable, you have to wrap them into a class derived from cObject.

Some other classes, closely related to the above ones (for example their iterators) are not listed here explicitly, but you can find them via 'See also' links from their main classes.

## Classes

class | cBag
| Use of this class is DISCOURAGED, it is provided for backward compatibility only. More...
class | cArray
| Container object that holds objects derived from cObject. More...
class | cDefaultList
| Internal class, used as a base class for cModule. More...
class | cLinkedList
| Use of this class is DISCOURAGED, it is provided for backward compatibility only. More...
class | cQueue
| Queue class. More...