![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
#include <SharedPtrMap.hpp>
Public Types | |
| using | mapType = std::map< IndexT, std::shared_ptr< T > > |
| using | ValueIterator = ValueIteratorT< T, false > |
| using | ConstValueIterator = ValueIteratorT< T, true > |
| using | RangeValue = RangeValueT< T, false > |
| using | ConstRangeValue = RangeValueT< T, true > |
| using | RangeBase = RangeBaseT< T, false > |
| using | ConstRangeBase = RangeBaseT< T, true > |
Public Member Functions | |
| SharedPtrMap (const SharedPtrMap &other) | |
| SharedPtrMap< T > & | operator= (const SharedPtrMap< T > &other) |
| bool | operator!= (const SharedPtrMap< T > &other) const |
| bool | operator== (const SharedPtrMap< T > &other) const |
| bool | isValid (const IndexT &key) const |
| void | assign (const IndexT &key, const T &value) |
| ConstRangeValue | valueRange () const |
| RangeValue | valueRange () |
| ConstRangeBase | baseRange () const |
| RangeBase | baseRange () |
| T & | operator[] (const IndexT &index) |
| T & | operator[] (IndexT &&index) |
| auto | begin () |
| auto | end () |
| auto | begin () const |
| auto | end () const |
| auto | find (IndexT index) |
| auto | find (IndexT index) const |
| std::vector< IndexT > | getKeys () const |
| std::vector< std::shared_ptr< T > > | getValues () const |
we have two iterators, one iterating over the shared_ptr the second iterating directly on the contained values ForceValueIterator make sure the value iterator is used by default
1.8.17