CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::SmartMapValuePointer< Key, Value > Class Template Reference
Inheritance diagram for CppAD::cg::SmartMapValuePointer< Key, Value >:
Inheritance graph
Collaboration diagram for CppAD::cg::SmartMapValuePointer< Key, Value >:
Collaboration graph

Public Types

using iterator = typename std::map< Key, Value * >::iterator
 
using const_iterator = typename std::map< Key, Value * >::const_iterator
 
using reverse_iterator = typename std::map< Key, Value * >::reverse_iterator
 
using const_reverse_iterator = typename std::map< Key, Value * >::const_reverse_iterator
 

Public Member Functions

size_t size () const
 
bool empty () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
Value *& operator[] (const Key &key)
 
std::map< Key, Value * > release ()
 

Public Attributes

std::map< Key, Value * > m
 

Detailed Description

template<class Key, class Value>
class CppAD::cg::SmartMapValuePointer< Key, Value >

Definition at line 246 of file smart_containers.hpp.

Member Typedef Documentation

◆ const_iterator

template<class Key , class Value >
using CppAD::cg::SmartMapValuePointer< Key, Value >::const_iterator = typename std::map<Key, Value*>::const_iterator

Definition at line 249 of file smart_containers.hpp.

◆ const_reverse_iterator

template<class Key , class Value >
using CppAD::cg::SmartMapValuePointer< Key, Value >::const_reverse_iterator = typename std::map<Key, Value*>::const_reverse_iterator

Definition at line 251 of file smart_containers.hpp.

◆ iterator

template<class Key , class Value >
using CppAD::cg::SmartMapValuePointer< Key, Value >::iterator = typename std::map<Key, Value*>::iterator

Definition at line 248 of file smart_containers.hpp.

◆ reverse_iterator

template<class Key , class Value >
using CppAD::cg::SmartMapValuePointer< Key, Value >::reverse_iterator = typename std::map<Key, Value*>::reverse_iterator

Definition at line 250 of file smart_containers.hpp.

Constructor & Destructor Documentation

◆ ~SmartMapValuePointer()

template<class Key , class Value >
virtual CppAD::cg::SmartMapValuePointer< Key, Value >::~SmartMapValuePointer ( )
inlinevirtual

Definition at line 304 of file smart_containers.hpp.

Member Function Documentation

◆ begin() [1/2]

template<class Key , class Value >
iterator CppAD::cg::SmartMapValuePointer< Key, Value >::begin ( )
inline

Definition at line 262 of file smart_containers.hpp.

◆ begin() [2/2]

template<class Key , class Value >
const_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::begin ( ) const
inline

Definition at line 266 of file smart_containers.hpp.

◆ empty()

template<class Key , class Value >
bool CppAD::cg::SmartMapValuePointer< Key, Value >::empty ( ) const
inline

Definition at line 258 of file smart_containers.hpp.

◆ end() [1/2]

template<class Key , class Value >
iterator CppAD::cg::SmartMapValuePointer< Key, Value >::end ( )
inline

Definition at line 270 of file smart_containers.hpp.

◆ end() [2/2]

template<class Key , class Value >
const_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::end ( ) const
inline

Definition at line 274 of file smart_containers.hpp.

◆ operator[]()

template<class Key , class Value >
Value *& CppAD::cg::SmartMapValuePointer< Key, Value >::operator[] ( const Key &  key)
inline

Definition at line 294 of file smart_containers.hpp.

◆ rbegin() [1/2]

template<class Key , class Value >
reverse_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::rbegin ( )
inline

Definition at line 278 of file smart_containers.hpp.

◆ rbegin() [2/2]

template<class Key , class Value >
const_reverse_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::rbegin ( ) const
inline

Definition at line 282 of file smart_containers.hpp.

◆ release()

template<class Key , class Value >
std::map< Key, Value * > CppAD::cg::SmartMapValuePointer< Key, Value >::release ( )
inline

Definition at line 298 of file smart_containers.hpp.

◆ rend() [1/2]

template<class Key , class Value >
reverse_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::rend ( )
inline

Definition at line 286 of file smart_containers.hpp.

◆ rend() [2/2]

template<class Key , class Value >
const_reverse_iterator CppAD::cg::SmartMapValuePointer< Key, Value >::rend ( ) const
inline

Definition at line 290 of file smart_containers.hpp.

◆ size()

template<class Key , class Value >
size_t CppAD::cg::SmartMapValuePointer< Key, Value >::size ( ) const
inline

Definition at line 254 of file smart_containers.hpp.

Member Data Documentation

◆ m

template<class Key , class Value >
std::map<Key, Value*> CppAD::cg::SmartMapValuePointer< Key, Value >::m

Definition at line 252 of file smart_containers.hpp.


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