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. More...
 
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

std::map< KeyType, VectorClone
< Real > > 
clones_
 

Detailed Description

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

Definition at line 83 of file ROL_VectorClone.hpp.

Constructor & Destructor Documentation

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 102 of file ROL_VectorClone.hpp.

Member Function Documentation

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
template<typename Real, typename KeyType = const char*>
template<typename First >
void ROL::details::VectorCloneMap< Real, KeyType >::Constructor_Impl ( First  first)
inlineprivate

Definition at line 94 of file ROL_VectorClone.hpp.

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

Definition at line 106 of file ROL_VectorClone.hpp.

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

Definition at line 110 of file ROL_VectorClone.hpp.

Member Data Documentation

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

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