4 #ifndef FIRE_PLUGIN_DATA_SHARED_BUFFERSH_HPP_INCLUDED
5 #define FIRE_PLUGIN_DATA_SHARED_BUFFERSH_HPP_INCLUDED
7 #include <boost/shared_ptr.hpp>
8 #include <fire/shared/Shared.hpp>
12 #include "fire/gis/export.hpp"
13 #include "fire/source/vector/Buffer.hpp"
26 explicit BufferSh(
unsigned char* data,
size_t const & sz): Shared(NULL) {
40 void reset(
unsigned char * buff,
size_t const & size) {
41 _getPtr()->reset(buff, size);
43 unsigned char const * getData()
const {
44 return _getPtr()->getData();
46 unsigned char * getData() {
47 return _getPtr()->getData();
49 size_t getSize()
const {
50 return _getPtr()->getSize();
Definition: BufferSh.hpp:20
Definition: Shared.hpp:17
Oggetto che incapsula un array di byte con la sua lunghezza.
Definition: Buffer.hpp:27