Skip to content

QuantumGate::Buffer::GetVector

Karel Donk edited this page Sep 28, 2018 · 2 revisions

Returns a reference to the underlying std::vector object with the buffer data.

Signature

VectorType& GetVector() noexcept;
const VectorType& GetVector() const noexcept;

Return values

Returns a reference to a Buffer::VectorType object containing the buffer data. The Buffer::VectorType type is a typedef for std::vector with specific template parameters. As such the std::vector API is available.

Clone this wiki locally