btk_container.hpp File Reference

Declaration of BTKContainer class. More...

#include <iterator>
#include <vector>
#include <boost/concept_check.hpp>

Go to the source code of this file.

Namespaces

namespace  BTK
namespace  BTK::UTILITY
namespace  BTK::UTILITY::internal

Classes

class  BTKContainer

Defines

#define IMPORT_BTK_CONTAINER_TYPES(Container)
#define IMPORT_BTK_CONTAINER_METHODS(Container)

Functions

template<typename C>
C::reference get_element (C &container, unsigned n)
template<typename V>
std::vector< V >::reference get_element (std::vector< V > &container, unsigned n)
template<typename C>
C::const_reference get_element (C const &container, unsigned n)
template<typename V>
std::vector< V >::const_reference get_element (std::vector< V > const &container, unsigned n)


Detailed Description

Declaration of BTKContainer class.


Define Documentation

#define IMPORT_BTK_CONTAINER_METHODS ( Container   ) 

Value:

using Container::begin;                                       \
  using Container::end;                                         \
  using Container::rbegin;                                      \
  using Container::rend;                                        \
  using Container::size;                                        \
  using Container::max_size;                                    \
  using Container::empty;                                       \
  using Container::operator[];

#define IMPORT_BTK_CONTAINER_TYPES ( Container   ) 

Value:

typedef typename Container::value_type value_type;                    \
  typedef typename Container::iterator iterator;                        \
  typedef typename Container::const_iterator const_iterator;            \
  typedef typename Container::reverse_iterator reverse_iterator;        \
  typedef typename Container::const_reverse_iterator const_reverse_iterator; \
  typedef typename Container::reference reference;                      \
  typedef typename Container::const_reference const_reference;          \
  typedef typename Container::pointer pointer;                          \
  typedef typename Container::const_pointer const_pointer;              \
  typedef typename Container::difference_type difference_type;          \
  typedef typename Container::size_type size_type;


Generated on Sun Jul 15 20:46:28 2007 for BTK Core by  doxygen 1.5.1