suanPan
Storage< T > Class Template Reference

A candidate Storage class that stores FEM objects. More...

#include <Storage.hpp>

Inheritance diagram for Storage< T >:
Collaboration diagram for Storage< T >:

Public Types

using object_type = T
 

Public Member Functions

 Storage ()=default
 
 Storage (const Storage &)=delete
 
 Storage (Storage &&) noexcept=delete
 
Storageoperator= (const Storage &)=delete
 
Storageoperator= (Storage &&) noexcept=delete
 
 ~Storage ()=default
 
const_iterator cbegin () const
 
const_iterator cend () const
 
iterator begin ()
 
iterator end ()
 
bool insert (const shared_ptr< T > &)
 
shared_ptr< T > & operator[] (unsigned)
 
const shared_ptr< T > & at (unsigned) const
 
const std::vector< shared_ptr< T > > & get () const
 
bool find (unsigned) const
 
bool erase (unsigned)
 
void enable (unsigned)
 
void disable (unsigned)
 
void update ()
 
void enable ()
 
void reset ()
 
void clear ()
 
size_t size () const
 

Detailed Description

template<typename T>
class Storage< T >

A candidate Storage class that stores FEM objects.

Author
T
Date
12/20/2018
Version
0.3.0

Member Typedef Documentation

◆ object_type

template<typename T >
using Storage< T >::object_type = T

Constructor & Destructor Documentation

◆ Storage() [1/3]

template<typename T >
Storage< T >::Storage ( )
default

◆ Storage() [2/3]

template<typename T >
Storage< T >::Storage ( const Storage< T > &  )
delete

◆ Storage() [3/3]

template<typename T >
Storage< T >::Storage ( Storage< T > &&  )
deletenoexcept

◆ ~Storage()

template<typename T >
Storage< T >::~Storage ( )
default

Member Function Documentation

◆ at()

template<typename T >
const shared_ptr< T > & Storage< T >::at ( unsigned  L) const
Here is the caller graph for this function:

◆ begin()

template<typename T >
Storage< T >::iterator Storage< T >::begin

◆ cbegin()

template<typename T >
Storage< T >::const_iterator Storage< T >::cbegin
Here is the caller graph for this function:

◆ cend()

template<typename T >
Storage< T >::const_iterator Storage< T >::cend

◆ clear()

template<typename T >
void Storage< T >::clear
Here is the call graph for this function:

◆ disable()

template<typename T >
void Storage< T >::disable ( unsigned  L)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable() [1/2]

template<typename T >
void Storage< T >::enable

◆ enable() [2/2]

template<typename T >
void Storage< T >::enable ( unsigned  L)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ end()

template<typename T >
Storage< T >::iterator Storage< T >::end

◆ erase()

template<typename T >
bool Storage< T >::erase ( unsigned  L)
Here is the caller graph for this function:

◆ find()

template<typename T >
bool Storage< T >::find ( unsigned  L) const
Here is the caller graph for this function:

◆ get()

template<typename T >
const std::vector< shared_ptr< T > > & Storage< T >::get
Here is the caller graph for this function:

◆ insert()

template<typename T >
bool Storage< T >::insert ( const shared_ptr< T > &  I)
Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename T >
Storage & Storage< T >::operator= ( const Storage< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
Storage & Storage< T >::operator= ( Storage< T > &&  )
deletenoexcept

◆ operator[]()

template<typename T >
shared_ptr< T > & Storage< T >::operator[] ( unsigned  L)

◆ reset()

template<typename T >
void Storage< T >::reset
Here is the caller graph for this function:

◆ size()

template<typename T >
size_t Storage< T >::size
Here is the caller graph for this function:

◆ update()

template<typename T >
void Storage< T >::update
Here is the call graph for this function:
Here is the caller graph for this function:

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