Loading...
Searching...
No Matches
proxyVector.tpp
48template<typename other_value_t, typename std::enable_if<std::is_const<value_t>::value && !std::is_const<other_value_t>::value && std::is_same<other_value_t, typename std::remove_cv<value_t>::type>::value, int>::type>
105ProxyVectorIterator<value_t, container_t> ProxyVectorIterator<value_t, container_t>::operator--(int)
120ProxyVectorIterator<value_t, container_t>& ProxyVectorIterator<value_t, container_t>::operator+=(int increment)
121{
156template<typename other_value_t, typename std::enable_if<std::is_const<value_t>::value && !std::is_const<other_value_t>::value && std::is_same<other_value_t, typename std::remove_cv<value_t>::type>::value, int>::type>
157ProxyVectorIterator<value_t, container_t> & ProxyVectorIterator<value_t, container_t>::operator=(const ProxyVectorIterator<other_value_t, container_t> &other)
181std::size_t ProxyVectorIterator<value_t, container_t>::operator-(const ProxyVectorIterator &other)
203void ProxyVectorDummyStorage<value_t, pointer_t, const_pointer_t>::swap(ProxyVectorDummyStorage &other) noexcept
214typename ProxyVectorDummyStorage<value_t, pointer_t, const_pointer_t>::pointer ProxyVectorDummyStorage<value_t, pointer_t, const_pointer_t>::data()
225typename ProxyVectorDummyStorage<value_t, pointer_t, const_pointer_t>::const_pointer ProxyVectorDummyStorage<value_t, pointer_t, const_pointer_t>::data() const
267std::vector<std::unique_ptr<container_t>> ProxyVectorStorage<value_t, container_t, thread_safe>::m_containerPool = std::vector<std::unique_ptr<container_t>>();
277std::unique_ptr<container_t> ProxyVectorStorage<value_t, container_t, thread_safe>::createContainer(std::size_t size, bool allowEmpty)
310std::unique_ptr<container_t> ProxyVectorStorage<value_t, container_t, thread_safe>::createContainer(const std::unique_ptr<container_t> &source, bool allowEmpty)
338void ProxyVectorStorage<value_t, container_t, thread_safe>::destroyContainer(std::unique_ptr<container_t> *container)
365}
374ProxyVectorStorage<value_t, container_t, thread_safe>::ProxyVectorStorage(const ProxyVectorStorage<value_t, container_t, thread_safe> &other)
376{
377}
386ProxyVectorStorage<value_t, container_t, thread_safe> & ProxyVectorStorage<value_t, container_t, thread_safe>::operator=(const ProxyVectorStorage<value_t, container_t, thread_safe> &other)
387{
399{
411container_t * ProxyVectorStorage<value_t, container_t, thread_safe>::container(bool forceCreation)
415 }
418}
428const container_t * ProxyVectorStorage<value_t, container_t, thread_safe>::container(bool forceCreation) const
429{
443void ProxyVectorStorage<value_t, container_t, thread_safe>::swap(ProxyVectorStorage &other) noexcept
454typename ProxyVectorStorage<value_t, container_t, thread_safe>::pointer ProxyVectorStorage<value_t, container_t, thread_safe>::data()
469typename ProxyVectorStorage<value_t, container_t, thread_safe>::const_pointer ProxyVectorStorage<value_t, container_t, thread_safe>::data() const
551template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
574template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
594template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
596 : ProxyVector<value_t, thread_safe>::ProxyVector(data, size, (data != INTERNAL_STORAGE) ? 0 : size)
618template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
619ProxyVector<value_t, thread_safe>::ProxyVector(__PXV_POINTER__ data, std::size_t size, std::size_t capacity)
620 : m_storage(capacity), m_size(size), m_data((data != INTERNAL_STORAGE) ? data : m_storage.data())
636template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
650 : m_storage(other.m_storage), m_size(other.m_size), m_data(other.storedData() ? m_storage.data() : other.m_data)
731template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
763template<typename other_value_t, typename std::enable_if<std::is_const<other_value_t>::value, int>::type>
764void ProxyVector<value_t, thread_safe>::set(__PXV_POINTER__ data, std::size_t size, std::size_t capacity)
794template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
862typename ProxyVector<value_t, thread_safe>::container_type * ProxyVector<value_t, thread_safe>::storedDataContainer(bool forceCreation)
882const typename ProxyVector<value_t, thread_safe>::container_type * ProxyVector<value_t, thread_safe>::storedDataContainer(bool forceCreation) const
956template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
982template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
1007template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
1031template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
1054template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
1077template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
1100template<typename other_value_t, typename std::enable_if<!std::is_const<other_value_t>::value, int>::type>
std::size_t size() const override
Definition proxyVector.tpp:247
void resize(std::size_t size) override
Definition proxyVector.tpp:258
void swap(ProxyVectorDummyStorage &other) noexcept
Definition proxyVector.tpp:203
ProxyVectorDummyStorage(std::size_t size=0)
Definition proxyVector.tpp:192
ProxyVectorIterator & operator+=(int increment)
Definition proxyVector.tpp:120
ProxyVectorIterator & operator++()
Definition proxyVector.tpp:70
ProxyVectorIterator & operator--()
Definition proxyVector.tpp:94
__PXI_REFERENCE__ operator*() const
Definition proxyVector.tpp:133
__PXI_POINTER__ operator->() const
Definition proxyVector.tpp:144
void swap(ProxyVectorIterator &other) noexcept
Definition proxyVector.tpp:61
std::size_t operator-(const ProxyVectorIterator &other)
Definition proxyVector.tpp:181
Metafunction for generating ProxyVector storages.
Definition proxyVector.hpp:225
ProxyVectorStorage(std::size_t size=0)
Definition proxyVector.tpp:362
ProxyVectorStorage & operator=(const ProxyVectorStorage &other)
Definition proxyVector.tpp:386
void swap(ProxyVectorStorage &other) noexcept
Definition proxyVector.tpp:443
~ProxyVectorStorage() override
Definition proxyVector.tpp:398
container_t * container(bool forceCreation)
Definition proxyVector.tpp:411
void resize(std::size_t size) override
Definition proxyVector.tpp:514
static constexpr __PXV_POINTER__ INTERNAL_STORAGE
Definition proxyVector.hpp:359
ProxyVector & operator=(const ProxyVector &other)
Definition proxyVector.tpp:680
std::size_t size() const
Definition proxyVector.tpp:945
std::vector< value_no_cv_t > container_type
Definition proxyVector.hpp:301
void swap(ProxyVector &other)
Definition proxyVector.tpp:893
bool operator==(const ProxyVector &other) const
Definition proxyVector.tpp:907
__PXV_REFERENCE__ operator[](std::size_t n)
Definition proxyVector.tpp:983
__PXV_STORAGE_POINTER__ storedData() noexcept
Definition proxyVector.tpp:814
ProxyVectorIterator< value_t, container_type > iterator
Definition proxyVector.hpp:311
container_type * storedDataContainer(bool forceCreation=false)
Definition proxyVector.tpp:862
void set(__PXV_POINTER__ data, std::size_t size)
Definition proxyVector.tpp:732
ProxyVectorIterator< typename std::add_const< value_no_cv_t >::type, container_type > const_iterator
Definition proxyVector.hpp:316
