tvm
|
Traced wrapper for Map objects. More...
#include <traced_object.h>
Public Types | |
using | WrappedV = typename detail::TracedObjectWrapperSelector< V >::Type |
using | iterator = TracedMapIterator< K, V > |
Public Member Functions | |
TracedMap (Map< K, V > map, ObjectPath path) | |
WrappedV | at (const K &key) const |
Get a value by its key, wrapped in a traced wrapper. More... | |
const Map< K, V > & | Get () const |
Access the wrapped map object. More... | |
const ObjectPath & | GetPath () const |
Get the path of the wrapped object. More... | |
iterator | begin () const |
Get an iterator to the first item of the map. More... | |
iterator | end () const |
Get an iterator to the end of the map. More... | |
bool | empty () const |
Returns true iff the wrapped map is empty. More... | |
Traced wrapper for Map objects.
using tvm::TracedMap< K, V >::iterator = TracedMapIterator<K, V> |
using tvm::TracedMap< K, V >::WrappedV = typename detail::TracedObjectWrapperSelector<V>::Type |
|
inlineexplicit |
|
inline |
Get a value by its key, wrapped in a traced wrapper.
|
inline |
Get an iterator to the first item of the map.
|
inline |
Returns true iff the wrapped map is empty.
|
inline |
Get an iterator to the end of the map.
|
inline |
Access the wrapped map object.
|
inline |
Get the path of the wrapped object.