ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::details::VectorCloneMap< Real, KeyType > Class Template Reference

#include <ROL_VectorClone.hpp>

Public Member Functions

template<typename... Keys>
 VectorCloneMap (Keys &&...keys)
 Preallocate keys if desired.
 
Ptr< Vector< Real > > operator() (const Vector< Real > &x, KeyType key)
 
Ptr< Vector< Real > > operator() (const Ptr< const Vector< Real > > &x, KeyType key)
 

Private Member Functions

template<typename First , typename... Rest>
void Constructor_Impl (First first, Rest... rest)
 
template<typename First >
void Constructor_Impl (First first)
 

Private Attributes

map< KeyType, VectorClone< Real > > clones_
 

Detailed Description

template<typename Real, typename KeyType = const char*>
class ROL::details::VectorCloneMap< Real, KeyType >

Definition at line 119 of file ROL_VectorClone.hpp.

Constructor & Destructor Documentation

◆ VectorCloneMap()

template<typename Real , typename KeyType = const char*>
template<typename... Keys>
ROL::details::VectorCloneMap< Real, KeyType >::VectorCloneMap ( Keys &&... keys)
inline

Preallocate keys if desired.

Definition at line 138 of file ROL_VectorClone.hpp.

References ROL::details::VectorCloneMap< Real, KeyType >::Constructor_Impl().

Member Function Documentation

◆ Constructor_Impl() [1/2]

template<typename Real , typename KeyType = const char*>
template<typename First , typename... Rest>
void ROL::details::VectorCloneMap< Real, KeyType >::Constructor_Impl ( First first,
Rest... rest )
inlineprivate

◆ Constructor_Impl() [2/2]

template<typename Real , typename KeyType = const char*>
template<typename First >
void ROL::details::VectorCloneMap< Real, KeyType >::Constructor_Impl ( First first)
inlineprivate

◆ operator()() [1/2]

template<typename Real , typename KeyType = const char*>
Ptr< Vector< Real > > ROL::details::VectorCloneMap< Real, KeyType >::operator() ( const Vector< Real > & x,
KeyType key )
inline

◆ operator()() [2/2]

template<typename Real , typename KeyType = const char*>
Ptr< Vector< Real > > ROL::details::VectorCloneMap< Real, KeyType >::operator() ( const Ptr< const Vector< Real > > & x,
KeyType key )
inline

Member Data Documentation

◆ clones_

template<typename Real , typename KeyType = const char*>
map<KeyType, VectorClone<Real> > ROL::details::VectorCloneMap< Real, KeyType >::clones_
private

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