astrotypes  0.0
Public Member Functions | List of all members
pss::astrotypes::DataBuffer< T, Alloc > Class Template Reference

a std::vector that does not initialise its members when they are plain old data (i.e. float, int,...) More...

#include <src/cpp/pss/astrotypes/multiarray/DataBuffer.h>

Inheritance diagram for pss::astrotypes::DataBuffer< T, Alloc >:
Inheritance graph

Public Member Functions

 DataBuffer ()
 
 ~DataBuffer ()
 

Detailed Description

template<typename T, typename Alloc>
class pss::astrotypes::DataBuffer< T, Alloc >

a std::vector that does not initialise its members when they are plain old data (i.e. float, int,...)

If they are of a type that needs initialisation then the DataBuffer is a std::vector Memory is guaranteed to be contiguous

Definition at line 212 of file DataBuffer.h.

Constructor & Destructor Documentation

template<typename T , typename Alloc , bool Enable = true>
pss::astrotypes::DataBuffer< T, Alloc, Enable >::DataBuffer ( )

Definition at line 30 of file DataBuffer.cpp.

template<typename T , typename Alloc >
pss::astrotypes::DataBuffer< T, Alloc >::~DataBuffer ( )

Definition at line 35 of file DataBuffer.cpp.