Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::KeyConstructableSharedPtrFactory< Derived, ValueType > Struct Template Reference

#include <SharedPtrFactories.h>

Inheritance diagram for model::KeyConstructableSharedPtrFactory< Derived, ValueType >:
Collaboration diagram for model::KeyConstructableSharedPtrFactory< Derived, ValueType >:

Public Types

typedef ValueType::KeyType KeyType
typedef std::shared_ptr< ValueType > SharedPtrType
typedef std::map< KeyType, const SharedPtrType > MapType
typedef MapType::size_type SizeType

Public Member Functions

SharedPtrType get (const KeyType &key)
Public Member Functions inherited from model::CRTP< Derived >
 CRTP ()
 The default constructor.

Additional Inherited Members

Protected Member Functions inherited from model::CRTP< Derived >
Derived & derived ()
 A reference to the derived object.
Derived * p_derived ()
 A pointer to the derived object.
const Derived & derived () const
 A reference to the const derived object.
const Derived * p_derived () const
 A pointer to the const derived object.

Detailed Description

template<typename Derived, typename ValueType>
struct model::KeyConstructableSharedPtrFactory< Derived, ValueType >

Definition at line 21 of file SharedPtrFactories.h.

Member Typedef Documentation

◆ KeyType

template<typename Derived, typename ValueType>
typedef ValueType::KeyType model::KeyConstructableSharedPtrFactory< Derived, ValueType >::KeyType

Definition at line 27 of file SharedPtrFactories.h.

◆ MapType

template<typename Derived, typename ValueType>
typedef std::map<KeyType,const SharedPtrType> model::KeyConstructableSharedPtrFactory< Derived, ValueType >::MapType

Definition at line 29 of file SharedPtrFactories.h.

◆ SharedPtrType

template<typename Derived, typename ValueType>
typedef std::shared_ptr<ValueType> model::KeyConstructableSharedPtrFactory< Derived, ValueType >::SharedPtrType

Definition at line 28 of file SharedPtrFactories.h.

◆ SizeType

template<typename Derived, typename ValueType>
typedef MapType::size_type model::KeyConstructableSharedPtrFactory< Derived, ValueType >::SizeType

Definition at line 30 of file SharedPtrFactories.h.

Member Function Documentation

◆ get()

template<typename Derived, typename ValueType>
SharedPtrType model::KeyConstructableSharedPtrFactory< Derived, ValueType >::get ( const KeyType & key)
inline

Definition at line 33 of file SharedPtrFactories.h.


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