KDevelop API Documentation

PropertyLib::PropertyBuffer Class Reference

The list of properties which does not own them. More...

#include <propertylist.h>

Inheritance diagram for PropertyLib::PropertyBuffer:

Inheritance graph
[legend]
Collaboration diagram for PropertyLib::PropertyBuffer:

Collaboration graph
[legend]
List of all members.

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

PropertyLib::PropertyBuffer::PropertyBuffer PropertyList list  ) 
 

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.

PropertyLib::PropertyBuffer::PropertyBuffer  ) 
 

Constructs an empty property buffer.

Definition at line 206 of file propertylist.cpp.


Member Function Documentation

void PropertyLib::PropertyBuffer::intersect const PropertyList list  )  [virtual]
 

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:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:51:59 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003