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 119 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 138 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 124 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 130 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 142 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 146 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 121 of file ROL_VectorClone.hpp.


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