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

map< KeyType, VectorClone< Real > > clones_
 

Detailed Description

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

Definition at line 85 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 104 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

Definition at line 90 of file ROL_VectorClone.hpp.

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

Definition at line 96 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 108 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 112 of file ROL_VectorClone.hpp.

Member Data Documentation

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

Definition at line 87 of file ROL_VectorClone.hpp.


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