MRPT logo

stl_extensions.h File Reference

#include <mrpt/utils/CSerializable.h>
#include <mrpt/utils/CStream.h>
#include <set>
#include <map>
#include <list>

Go to the source code of this file.


Classes

class  mrpt::utils::list_searchable< T >
 This class implements a STL container with features of both, a std::set and a std::list. More...
class  mrpt::utils::vector_serializable< T >
 A STL-vector derived class that implements basic read/write to ease implementing the mrpt::utils::CSerializable interface in classes having this type of data members. More...
class  mrpt::utils::deque_serializable< T >
 A STL-vector derived class that implements basic read/write to ease implementing the mrpt::utils::CSerializable interface in classes having this type of data members. More...
class  mrpt::utils::list_searchable_serializable< T >
 A list_searchable with basic read/write to ease implementing the mrpt::utils::CSerializable interface in classes having this type of data members. More...
class  mrpt::utils::map_serializable< K, V >
 A std::map with basic read/write to ease implementing the mrpt::utils::CSerializable interface in classes having this type of data members. More...
class  mrpt::utils::multimap_serializable< K, V >
 A std::multimap with basic read/write to ease implementing the mrpt::utils::CSerializable interface in classes having this type of data members. More...

Namespaces

namespace  mrpt
 The main namespace for all the Mobile Robot Programming Toolkit (MRPT) C++ libraries.
namespace  mrpt::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.

Defines

#define DECLARE_STREAMING_FUNCTIONS(class_name)
#define DECLARE_STREAMING_FUNCTIONS2(class_name)

Typedefs

typedef vector_serializable
< int64_t > 
mrpt::utils::vector_long_serializable
typedef vector_serializable
< int32_t > 
mrpt::utils::vector_int_serializable
typedef vector_serializable
< float > 
mrpt::utils::vector_float_serializable
typedef vector_serializable
< double > 
mrpt::utils::vector_double_serializable
typedef vector_serializable
< uint16_t > 
mrpt::utils::vector_word_serializable
typedef vector_serializable
< uint32_t > 
mrpt::utils::vector_uint_serializable
typedef vector_serializable< bool > mrpt::utils::vector_bool_serializable
typedef vector_serializable
< uint8_t > 
mrpt::utils::vector_byte_serializable
typedef vector_serializable
< size_t > 
mrpt::utils::vector_size_t_serializable

Functions

template<class T >
size_t mrpt::utils::find_in_vector (const T &value, const std::vector< T > &vect)
 Returns the index of the value "T" in the container "vect", or string::npos if not found.


Define Documentation

#define DECLARE_STREAMING_FUNCTIONS ( class_name   ) 

Value:

template <class T> CStream& operator << (CStream& out, const class_name<T> &obj)        \
                {       obj.write(out); return out;     }       \
        template <class T> CStream& operator >> (CStream& in, class_name<T> &obj)       \
                {       obj.read(in);   return in;              }

Definition at line 63 of file stl_extensions.h.

#define DECLARE_STREAMING_FUNCTIONS2 ( class_name   ) 

Value:

template <class T,class V> CStream& operator << (CStream& out, const class_name<T,V> &obj)      \
                {       obj.write(out); return out;     }       \
        template <class T,class V> CStream& operator >> (CStream& in, class_name<T,V> &obj)     \
                {       obj.read(in);   return in;              }

Definition at line 69 of file stl_extensions.h.




Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:18:33 EST 2009