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 |
Detailed Description
class bitpit::ProxyVectorDummyStorage< value_t, pointer_t, const_pointer_t >
Metafunction for generating ProxyVector dummy storages.
- Template Parameters
-
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 189 of file proxyVector.hpp.
Member Typedef Documentation
◆ const_pointer
typedef const_pointer_t bitpit::ProxyVectorDummyStorage< value_t, pointer_t, const_pointer_t >::const_pointer |
Definition at line 197 of file proxyVector.hpp.
◆ pointer
typedef pointer_t bitpit::ProxyVectorDummyStorage< value_t, pointer_t, const_pointer_t >::pointer |
Definition at line 196 of file proxyVector.hpp.
Constructor & Destructor Documentation
◆ ProxyVectorDummyStorage()
|
protected |
Constructor.
- Parameters
-
size is the size of the storage expressed in number of elements.
Definition at line 192 of file proxyVector.tpp.
Member Function Documentation
◆ data() [1/2]
|
overridevirtual |
Return a constant pointer to the data.
- Returns
- A constant pointer to the data.
Implements bitpit::ProxyVectorStorageInterface< value_t *, const value_t * >.
Definition at line 225 of file proxyVector.tpp.
◆ data() [2/2]
|
overridevirtual |
Return a pointer to the data.
- Returns
- A pointer to the data.
Implements bitpit::ProxyVectorStorageInterface< value_t *, const value_t * >.
Definition at line 214 of file proxyVector.tpp.
◆ empty()
|
overridevirtual |
Check if the storage is empty.
- Returns
- Returns true if the storage is empty, false otherwise.
Implements bitpit::ProxyVectorStorageInterface< value_t *, const value_t * >.
Definition at line 236 of file proxyVector.tpp.
◆ resize()
|
overridevirtual |
Resize the storage.
- Returns
- The size of the storage expressed in number of elements.
Implements bitpit::ProxyVectorStorageInterface< value_t *, const value_t * >.
Definition at line 258 of file proxyVector.tpp.
◆ size()
|
overridevirtual |
Get the size of the storage expressed in number of elements.
- Returns
- The size of the storage, expressed in number of elements.
Implements bitpit::ProxyVectorStorageInterface< value_t *, const value_t * >.
Definition at line 247 of file proxyVector.tpp.
◆ swap()
|
noexcept |
Swaps the contents.
- Parameters
-
other is another storage of the same type
Definition at line 203 of file proxyVector.tpp.
Friends And Related Symbol Documentation
◆ ProxyVector
|
friend |
Definition at line 193 of file proxyVector.hpp.
The documentation for this class was generated from the following files:
- src/containers/proxyVector.hpp
- src/containers/proxyVector.tpp
