PropertyLib::PropertyBuffer Class Reference
The list of properties which does not own them. More...
#include <propertylist.h>
Inheritance diagram for PropertyLib::PropertyBuffer:


Public Member Functions | |
PropertyBuffer (PropertyList *list) | |
Constructs a buffer from given property list. | |
PropertyBuffer () | |
Constructs an empty property buffer. | |
virtual void | intersect (const PropertyList *list) |
Intersects with other PropertyList. |
Detailed Description
The list of properties which does not own them.This class acts as PropertyList but it does not delete properties in destructor (i.e. it does not own properties). This class should be used to store results of property intersections.
Example: /code PropertyList *list = new PropertyList(); PropertyList *list2 = new PropertyList(); PropertyList *list3 = new PropertyList(); ... PropertyBuffer *buf = new PropertyBuffer(list); buf->intersect(list2); buf->intersect(list3); ... /endcode
Definition at line 148 of file propertylist.h.
Constructor & Destructor Documentation
|
Constructs a buffer from given property list.
Definition at line 236 of file propertylist.cpp. References PropertyLib::PropertyList::addToGroup(), PropertyLib::PropertyList::m_groupOfProperty, PropertyLib::PropertyList::m_list, PropertyLib::MultiProperty::m_propertyList, and PropertyLib::PropertyList::MultiProperty. |
|
Constructs an empty property buffer.
Definition at line 206 of file propertylist.cpp. |
Member Function Documentation
|
Intersects with other PropertyList.
Definition at line 211 of file propertylist.cpp. References PropertyLib::PropertyList::m_groupOfProperty, PropertyLib::PropertyList::m_list, and PropertyLib::PropertyList::removeProperty(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/propertylist.h
- lib/widgets/propeditor/propertylist.cpp