6#include <QtCore/QByteArray>
7#include <QtCore/QVector>
84 bool doAppend =
false,
86 const QByteArray* typeIdPtr =
NULL)
const = 0;
Interface allowing to manage queue of some objects.
virtual istd::IChangeable * PopBackObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Get object at the end of queue and remove it from queue.
virtual istd::IChangeable * CreateFrontObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Create object at the front of this queue.
virtual istd::IChangeable * CreateBackObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Create object at the end of this queue.
virtual void RemoveFrontObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Remove object at the front of this queue.
virtual istd::IChangeable * PopFrontObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Get object at the front of queue and remove it from queue.
virtual int GetObjectsCount(const QByteArray *typeIdPtr=NULL) const =0
Get number of objects in this queue.
virtual void SelectObjects(ObjectList &result, bool doAppend=false, int offsetPos=0, const QByteArray *typeIdPtr=NULL) const =0
Find set of objects.
virtual istd::IChangeable * GetBackObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL) const =0
Get object at the end of queue.
QVector< istd::IChangeable * > ObjectList
virtual istd::IChangeable * GetFrontObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL) const =0
Get object at the front of queue.
virtual void ClearQueue()=0
Remove all objects from queue.
virtual void RemoveBackObject(int offsetPos=0, const QByteArray *typeIdPtr=NULL)=0
Remove object at the end of this queue.
Common interface for data model objects, which can be changed.
This namespace contains basic implementations of standard primitives on the component level.