#include <collection_impl.h>
Public Member Functions | |
DataContainer () | |
~DataContainer () | |
virtual bool | get_first_element (void **data_ptr) |
virtual int | get_count () |
std::vector< T > & | ref () |
Definition at line 53 of file plaintext/plugin_impl/collection_impl.h.
text::DataContainer< T >::DataContainer | ( | ) | [inline] |
Definition at line 56 of file plaintext/plugin_impl/collection_impl.h.
text::DataContainer< T >::~DataContainer | ( | ) | [inline] |
Definition at line 57 of file plaintext/plugin_impl/collection_impl.h.
virtual int text::DataContainer< T >::get_count | ( | ) | [inline, virtual] |
Implements text::DataContainerBase.
Definition at line 66 of file plaintext/plugin_impl/collection_impl.h.
00067 { 00068 return static_cast<int>(data.size()); 00069 }
virtual bool text::DataContainer< T >::get_first_element | ( | void ** | data_ptr | ) | [inline, virtual] |
Implements text::DataContainerBase.
Definition at line 60 of file plaintext/plugin_impl/collection_impl.h.
00061 { 00062 *data_ptr = &data[0]; 00063 return true; 00064 }
std::vector<T>& text::DataContainer< T >::ref | ( | ) | [inline] |
Definition at line 71 of file plaintext/plugin_impl/collection_impl.h.
Referenced by text::PluginCollectionImpl::take_data_ref().
00072 { 00073 return data; 00074 }