test::BoundingRectangles Struct Reference

#include <test_main_window.h>

Collaboration diagram for test::BoundingRectangles:
Collaboration graph
[legend]

Public Member Functions

 BoundingRectangles ()
 ~BoundingRectangles ()
void release ()

Data Fields

std::vector< GdkRectangle * > rects

Detailed Description

Definition at line 45 of file test_main_window.h.


Constructor & Destructor Documentation

test::BoundingRectangles::BoundingRectangles (  )  [inline]

Definition at line 49 of file test_main_window.h.

00049 : rects() {}

test::BoundingRectangles::~BoundingRectangles (  )  [inline]

Definition at line 50 of file test_main_window.h.

References release().

00051     {
00052         release();
00053     }

Here is the call graph for this function:


Member Function Documentation

void test::BoundingRectangles::release (  )  [inline]

Definition at line 55 of file test_main_window.h.

References rects.

Referenced by ~BoundingRectangles().

00056     {
00057        typedef std::vector<GdkRectangle*>::iterator Iter;
00058        for(Iter i = rects.begin(); i != rects.end(); ++i)
00059        {
00060            delete *i;
00061        }
00062        rects.clear();
00063     }

Here is the caller graph for this function:


Field Documentation

std::vector<GdkRectangle*> test::BoundingRectangles::rects

Definition at line 47 of file test_main_window.h.

Referenced by release().


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208