#include <marker_entry_impl.h>
Public Member Functions | |
PDFCollection () | |
virtual | ~PDFCollection () |
virtual bool | get_first_element (void **data_ptr) |
virtual int | get_count () |
void | add (MarkerEntry *t) |
void | clear () |
MarkerEntry * | get (int num) |
MarkerEntry * | front () |
MarkerEntry * | back () |
int | size () |
Definition at line 45 of file pdf/plugin_impl/marker_entry_impl.h.
pdf::PDFCollection< MarkerEntry * >::PDFCollection | ( | ) | [inline] |
Definition at line 48 of file pdf/plugin_impl/marker_entry_impl.h.
virtual pdf::PDFCollection< MarkerEntry * >::~PDFCollection | ( | ) | [inline, virtual] |
Definition at line 49 of file pdf/plugin_impl/marker_entry_impl.h.
00049 {clear();}
void pdf::PDFCollection< MarkerEntry * >::add | ( | MarkerEntry * | t | ) | [inline] |
Definition at line 66 of file pdf/plugin_impl/marker_entry_impl.h.
MarkerEntry* pdf::PDFCollection< MarkerEntry * >::back | ( | ) | [inline] |
Definition at line 100 of file pdf/plugin_impl/marker_entry_impl.h.
void pdf::PDFCollection< MarkerEntry * >::clear | ( | void | ) | [inline] |
Definition at line 71 of file pdf/plugin_impl/marker_entry_impl.h.
References pdf::marker_entry_free_recursive().
00072 { 00073 VectIter begin = vect.begin(); 00074 VectIter end = vect.end(); 00075 VectIter iter = begin; 00076 for(; iter != end; ++iter) 00077 { 00078 MarkerEntry* first_child = reinterpret_cast<MarkerEntry *>(*iter); 00079 marker_entry_free_recursive(first_child); 00080 } 00081 vect.clear(); 00082 }
MarkerEntry* pdf::PDFCollection< MarkerEntry * >::front | ( | ) | [inline] |
Definition at line 91 of file pdf/plugin_impl/marker_entry_impl.h.
00092 { 00093 if (size() > 0) 00094 { 00095 return vect[0]; 00096 } 00097 return 0; 00098 }
MarkerEntry* pdf::PDFCollection< MarkerEntry * >::get | ( | int | num | ) | [inline] |
Definition at line 84 of file pdf/plugin_impl/marker_entry_impl.h.
virtual int pdf::PDFCollection< MarkerEntry * >::get_count | ( | ) | [inline, virtual] |
Implements pdf::PDFCollectionBase.
Definition at line 61 of file pdf/plugin_impl/marker_entry_impl.h.
00062 { 00063 return size(); 00064 }
virtual bool pdf::PDFCollection< MarkerEntry * >::get_first_element | ( | void ** | data_ptr | ) | [inline, virtual] |
Implements pdf::PDFCollectionBase.
Definition at line 51 of file pdf/plugin_impl/marker_entry_impl.h.
00052 { 00053 if (size()) 00054 { 00055 *data_ptr = static_cast<void *>(&vect[0]); 00056 return true; 00057 } 00058 return false; 00059 }
int pdf::PDFCollection< MarkerEntry * >::size | ( | ) | [inline] |
Definition at line 109 of file pdf/plugin_impl/marker_entry_impl.h.