UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ZqbObjectArray Class Reference

#include <zqb_objectarray.hpp>

Inheritance diagram for ZqbObjectArray:

Public Member Functions

int count () const
 
ZqObjectVector::iterator find (ZqObject *pObj)
 
bool put (ZqObject *pObj)
 
bool remove (ZqObject *pObj)
 
bool toEnd (ZqObject *pObj)
 
bool toBegin (ZqObject *pObj)
 
int count () const
 
ZqObjectVector::iterator find (ZqObject *pObj)
 
bool put (ZqObject *pObj)
 
bool remove (ZqObject *pObj)
 
bool toEnd (ZqObject *pObj)
 
bool toBegin (ZqObject *pObj)
 

Detailed Description

Class is a container for pointers to ZqObjects.

Class provides associative operations over the array and reordering items.

Member Function Documentation

int ZqbObjectArray::count ( ) const
inline

Just for convenience,

int ZqbObjectArray::count ( ) const
inline

Just for convenience,

ZqObjectVector::iterator ZqbObjectArray::find ( ZqObject pObj)
inline

Find an object in the array and return pointer to it or end() if not found.

ZqObjectVector::iterator ZqbObjectArray::find ( ZqObject pObj)
inline

Find an object in the array and return pointer to it or end() if not found.

bool ZqbObjectArray::put ( ZqObject pObj)
inline

Put new ZqObject pointer to the end of array and return true. If such object is already exist in array do nothing and return false.

bool ZqbObjectArray::put ( ZqObject pObj)
inline

Put new ZqObject pointer to the end of array and return true. If such object is already exist in array do nothing and return false.

bool ZqbObjectArray::remove ( ZqObject pObj)
inline

Remove given ZqObject pointer from the array and return true. If such object is not exist in array do nothing and return false.

bool ZqbObjectArray::remove ( ZqObject pObj)
inline

Remove given ZqObject pointer from the array and return true. If such object is not exist in array do nothing and return false.

bool ZqbObjectArray::toBegin ( ZqObject pObj)
inline

Move some object to the begin of the array and return true. If such object is not found in array do nothing and return false.

bool ZqbObjectArray::toBegin ( ZqObject pObj)
inline

Move some object to the begin of the array and return true. If such object is not found in array do nothing and return false.

bool ZqbObjectArray::toEnd ( ZqObject pObj)
inline

Move some object to the end of the array and return true. If such object is not found in array do nothing and return false.

bool ZqbObjectArray::toEnd ( ZqObject pObj)
inline

Move some object to the end of the array and return true. If such object is not found in array do nothing and return false.


The documentation for this class was generated from the following files: