The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::VectorCopier< std::unique_ptr, VT > Class Template Reference

Specialization for unique_ptr. More...

#include <VectorUtils.hpp>

Public Types

typedef std::unique_ptr< VT > container_t
 

Public Member Functions

 VectorCopier (const std::vector< container_t > &input)
 
void deepCopy (std::vector< container_t > &output) const
 
void extractRawCopy (std::vector< VT * > &output) const
 

Public Attributes

const std::vector< container_t > & input_
 

Detailed Description

template<typename VT>
class sparta::utils::VectorCopier< std::unique_ptr, VT >

Specialization for unique_ptr.

Definition at line 54 of file VectorUtils.hpp.

Member Typedef Documentation

◆ container_t

template<typename VT >
typedef std::unique_ptr<VT> sparta::utils::VectorCopier< std::unique_ptr, VT >::container_t

Definition at line 58 of file VectorUtils.hpp.

Constructor & Destructor Documentation

◆ VectorCopier()

template<typename VT >
sparta::utils::VectorCopier< std::unique_ptr, VT >::VectorCopier ( const std::vector< container_t > &  input)
inline

Definition at line 61 of file VectorUtils.hpp.

Member Function Documentation

◆ deepCopy()

template<typename VT >
void sparta::utils::VectorCopier< std::unique_ptr, VT >::deepCopy ( std::vector< container_t > &  output) const
inline

Definition at line 65 of file VectorUtils.hpp.

◆ extractRawCopy()

template<typename VT >
void sparta::utils::VectorCopier< std::unique_ptr, VT >::extractRawCopy ( std::vector< VT * > &  output) const
inline

Definition at line 76 of file VectorUtils.hpp.

Member Data Documentation

◆ input_

template<typename VT >
const std::vector<container_t>& sparta::utils::VectorCopier< std::unique_ptr, VT >::input_

Definition at line 59 of file VectorUtils.hpp.


The documentation for this class was generated from the following file: