#include <test_main_window.h>
Public Member Functions | |
BoundingRectangles () | |
~BoundingRectangles () | |
void | release () |
Data Fields | |
std::vector< GdkRectangle * > | rects |
Definition at line 45 of file test_main_window.h.
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 }
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 }
std::vector<GdkRectangle*> test::BoundingRectangles::rects |
Definition at line 47 of file test_main_window.h.
Referenced by release().