19#ifndef FASTDDS_DDS_CORE__USERALLOCATEDSEQUENCE_HPP
20#define FASTDDS_DDS_CORE__USERALLOCATEDSEQUENCE_HPP
26#include <fastdds/dds/core/LoanableCollection.hpp>
93 throw std::bad_alloc();
A collection of generic opaque pointers that can receive the buffer from outside (loan).
Definition LoanableCollection.hpp:34
bool has_ownership_
Definition LoanableCollection.hpp:243
size_type maximum_
Definition LoanableCollection.hpp:240
int32_t size_type
Definition LoanableCollection.hpp:37
size_type length_
Definition LoanableCollection.hpp:241
element_type * elements_
Definition LoanableCollection.hpp:242
void * element_type
Definition LoanableCollection.hpp:38
Definition DomainParticipant.hpp:45
A collection of generic opaque pointers allocated by the user.
Definition UserAllocatedSequence.hpp:41
UserAllocatedSequence(const UserAllocatedSequence &)=delete
UserAllocatedSequence(element_type *items, size_type num_items)
Construct a UserAllocatedSequence.
Definition UserAllocatedSequence.hpp:56
bool has_ownership_
Definition LoanableCollection.hpp:243
size_type maximum_
Definition LoanableCollection.hpp:240
void resize(size_type new_length) override
Definition UserAllocatedSequence.hpp:87
size_type length_
Definition LoanableCollection.hpp:241
UserAllocatedSequence(UserAllocatedSequence &&)=delete
LoanableCollection::element_type element_type
Definition UserAllocatedSequence.hpp:43
element_type * elements_
Definition LoanableCollection.hpp:242
LoanableCollection::size_type size_type
Definition UserAllocatedSequence.hpp:42
UserAllocatedSequence & operator=(const UserAllocatedSequence &)=delete
~UserAllocatedSequence()=default