Metafunction for generating ProxyVector dummy storages. More...
#include <proxyVector.hpp>
Public Types | |
typedef const_pointer_t | const_pointer |
typedef pointer_t | pointer |
Public Member Functions | |
const_pointer | data () const override |
pointer | data () override |
bool | empty () const override |
void | resize (std::size_t size) override |
std::size_t | size () const override |
void | swap (ProxyVectorDummyStorage &other) noexcept |
Protected Member Functions | |
ProxyVectorDummyStorage (std::size_t size=0) | |
Friends | |
template<typename PXV_value_t , bool PXV_thread_safe> | |
class | ProxyVector |
Metafunction for generating ProxyVector dummy storages.
value_t | is the type of the objects handled by the dummy storage |
pointer_t | defines a pointer to the data stored |
const_pointer_t | defines a constant pointer to the data stored |
Definition at line 190 of file proxyVector.hpp.
typedef const_pointer_t bitpit::ProxyVectorDummyStorage< value_t, pointer_t, const_pointer_t >::const_pointer |
Definition at line 198 of file proxyVector.hpp.
typedef pointer_t bitpit::ProxyVectorDummyStorage< value_t, pointer_t, const_pointer_t >::pointer |
Definition at line 197 of file proxyVector.hpp.
|
protected |
Constructor.
size | is the size of the storage expressed in number of elements. |
Definition at line 192 of file proxyVector.tpp.
|
overridevirtual |
Return a constant pointer to the data.
Implements bitpit::ProxyVectorStorageInterface< pointer_t, const_pointer_t >.
Definition at line 225 of file proxyVector.tpp.
|
overridevirtual |
Return a pointer to the data.
Implements bitpit::ProxyVectorStorageInterface< pointer_t, const_pointer_t >.
Definition at line 214 of file proxyVector.tpp.
|
overridevirtual |
Check if the storage is empty.
Implements bitpit::ProxyVectorStorageInterface< pointer_t, const_pointer_t >.
Definition at line 236 of file proxyVector.tpp.
|
overridevirtual |
Resize the storage.
Implements bitpit::ProxyVectorStorageInterface< pointer_t, const_pointer_t >.
Definition at line 258 of file proxyVector.tpp.
|
overridevirtual |
Get the size of the storage expressed in number of elements.
Implements bitpit::ProxyVectorStorageInterface< pointer_t, const_pointer_t >.
Definition at line 247 of file proxyVector.tpp.
|
noexcept |
Swaps the contents.
other | is another storage of the same type |
Definition at line 203 of file proxyVector.tpp.
|
friend |
Definition at line 194 of file proxyVector.hpp.