MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ to_vector()

template<typename T >
std::vector< T > MayaFlux::Kakshya::StructuredView< T >::to_vector ( ) const
inline

Definition at line 234 of file DataAccess.hpp.

235 {
236 std::vector<T> result;
237 result.reserve(m_element_count);
238 for (size_t i = 0; i < m_element_count; ++i) {
239 result.push_back((*this)[i]);
240 }
241 return result;
242 }

References MayaFlux::Kakshya::StructuredView< T >::m_element_count.