MRPT  2.0.4
Classes | Namespaces | Typedefs | Functions
Mrpt_containers_grp

Detailed Description

Classes

class  mrpt::containers::bimap< KEY, VALUE >
 A bidirectional version of std::map, declared as bimap<KEY,VALUE> and which actually contains two std::map's, one for keys and another for values. More...
 
class  mrpt::containers::CDynamicGrid< T >
 A 2D grid of dynamic size which stores any kind of data at each cell. More...
 
class  mrpt::containers::CDynamicGrid3D< T, coord_t >
 A 3D rectangular grid of dynamic size which stores any kind of data at each voxel. More...
 
struct  mrpt::containers::ci_less
 A case-insensitive comparator class for use within STL containers, etc. More...
 
class  mrpt::containers::circular_buffer< T >
 A circular buffer of fixed size (defined at construction-time), implemented with a std::vector as the underlying storage. More...
 
class  mrpt::containers::CThreadSafeQueue< T >
 A thread-safe template queue for object passing between threads; for a template argument of T, the objects being passed in the queue are "T*". More...
 
class  mrpt::containers::deepcopy_poly_ptr< T >
 Wrapper to a std::shared_ptr<>, adding deep-copy semantics to copy ctor and copy operator, suitable for polymorphic classes with a clone() method. More...
 
class  mrpt::containers::list_searchable< T >
 This class implements a STL container with features of both, a std::set and a std::list. More...
 
class  mrpt::containers::map_as_vector< KEY, VALUE, VECTOR_T >
 A STL-like container which looks and behaves (almost exactly) like a std::map<> but is implemented as a linear std::vector<> indexed by KEY. More...
 
class  mrpt::containers::vector_with_small_size_optimization< VAL, small_size, alignment >
 Container that transparently and dynamically switches between a std::array and std::vector. More...
 

Namespaces

 mrpt::containers::internal
 

Typedefs

template<typename T >
using mrpt::containers::poly_ptr = internal::generic_copier_ptr< T, internal::CopyCloner< T > >
 Smart pointer for polymorphic classes with a clone() method. More...
 
template<typename T >
using mrpt::containers::copy_ptr = internal::generic_copier_ptr< T, internal::CopyStatic< T > >
 Smart pointer for non-polymorphic classes. More...
 

Functions

template<class Visitor , class... T>
void mrpt::visit_each (const Visitor &vis, T &&... t)
 

Typedef Documentation

◆ copy_ptr

template<typename T >
using mrpt::containers::copy_ptr = typedef internal::generic_copier_ptr<T, internal::CopyStatic<T> >

Smart pointer for non-polymorphic classes.

No shared copies, that is, each copy_ptr<T> owns a unique instance of T. Copying a copy_ptr<T> invokes the copy operator for T.

See also
poly_ptr<T>

Definition at line 161 of file deepcopy_ptr.h.

◆ poly_ptr

template<typename T >
using mrpt::containers::poly_ptr = typedef internal::generic_copier_ptr<T, internal::CopyCloner<T> >

Smart pointer for polymorphic classes with a clone() method.

No shared copies, that is, each poly_ptr<T> owns a unique instance of T. Copying a poly_ptr<T> invokes the copy operator for T.

See also
copy_ptr<T>

Definition at line 153 of file deepcopy_ptr.h.

Function Documentation

◆ visit_each()

template<class Visitor , class... T>
void mrpt::visit_each ( const Visitor &  vis,
T &&...  t 
)

Definition at line 21 of file visit_each.h.

Referenced by TEST().

Here is the caller graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020