StdContainerAdaptor.h
Go to the documentation of this file.
1 #ifndef __GfxTL_STDCONTAINERADAPTOR_HEADER__
2 #define __GfxTL_STDCONTAINERADAPTOR_HEADER__
3 #include <memory>
4 
5 namespace GfxTL
6 {
7  template< template< class, class > class ContainerT,
8  template< class > class AllocatorT = std::allocator >
10  {
11  template< class T >
12  class Container
13  : public ContainerT< T, AllocatorT< T > >
14  {
15  public:
16  typedef ContainerT< T, std::allocator< T > > ContainerType;
17  Container() {}
18  Container(typename ContainerType::size_type s)
19  : ContainerType(s)
20  {}
21  Container(typename ContainerType::size_type s,
22  const typename ContainerType::value_type& v)
23  : ContainerType(s, v)
24  {}
25  };
26  };
27 };
28 
29 #endif
30 
GfxTL::StdContainerAdaptor::Container::ContainerType
ContainerT< T, std::allocator< T > > ContainerType
Definition: StdContainerAdaptor.h:16
GfxTL::StdContainerAdaptor::Container::Container
Container()
Definition: StdContainerAdaptor.h:17
GfxTL::StdContainerAdaptor::Container::Container
Container(typename ContainerType::size_type s, const typename ContainerType::value_type &v)
Definition: StdContainerAdaptor.h:21
GfxTL::StdContainerAdaptor::Container
Definition: StdContainerAdaptor.h:12
GfxTL
Definition: AABox.h:8
armarx::ctrlutil::v
double v(double t, double v0, double a0, double j)
Definition: CtrlUtil.h:39
GfxTL::StdContainerAdaptor::Container::Container
Container(typename ContainerType::size_type s)
Definition: StdContainerAdaptor.h:18
GfxTL::StdContainerAdaptor
Definition: StdContainerAdaptor.h:9
armarx::ctrlutil::s
double s(double t, double s0, double v0, double a0, double j)
Definition: CtrlUtil.h:33