images::DataContainer< MarkerEntry * > Class Template Reference

#include <marker_entry_impl.h>

Inheritance diagram for images::DataContainer< MarkerEntry * >:
Inheritance graph
[legend]
Collaboration diagram for images::DataContainer< MarkerEntry * >:
Collaboration graph
[legend]

Public Member Functions

 DataContainer ()
 ~DataContainer ()
virtual bool get_first_element (void **data_ptr)
virtual int get_count ()
std::vector< MarkerEntry * > & ref ()

Detailed Description

template<>
class images::DataContainer< MarkerEntry * >

Definition at line 45 of file images/plugin_impl/marker_entry_impl.h.


Constructor & Destructor Documentation

Definition at line 48 of file images/plugin_impl/marker_entry_impl.h.

00048 {}

Definition at line 49 of file images/plugin_impl/marker_entry_impl.h.

References data, and images::marker_entry_free_recursive().

00050     {
00051         for (unsigned int i=0; i<data.size(); i++)
00052         {
00053             marker_entry_free_recursive(data[i]);
00054         }
00055     }

Here is the call graph for this function:


Member Function Documentation

virtual int images::DataContainer< MarkerEntry * >::get_count (  )  [inline, virtual]

Implements images::DataContainerBase.

Definition at line 64 of file images/plugin_impl/marker_entry_impl.h.

References data.

00065     {
00066         return static_cast<int>(data.size());
00067     }

virtual bool images::DataContainer< MarkerEntry * >::get_first_element ( void **  data_ptr  )  [inline, virtual]

Implements images::DataContainerBase.

Definition at line 58 of file images/plugin_impl/marker_entry_impl.h.

References data.

00059     {
00060         *data_ptr = &data[0];
00061         return true;
00062     }

std::vector<MarkerEntry *>& images::DataContainer< MarkerEntry * >::ref (  )  [inline]

Definition at line 69 of file images/plugin_impl/marker_entry_impl.h.

References data.

00070     {
00071         return data;
00072     }


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