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 : public ContainerT<T, AllocatorT<T>>
13  {
14  public:
15  typedef ContainerT<T, std::allocator<T>> ContainerType;
16 
18  {
19  }
20 
21  Container(typename ContainerType::size_type s) : ContainerType(s)
22  {
23  }
24 
25  Container(typename ContainerType::size_type s,
26  const typename ContainerType::value_type& v) :
27  ContainerType(s, v)
28  {
29  }
30  };
31  };
32 }; // namespace GfxTL
33 
34 #endif
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:25
GfxTL::StdContainerAdaptor::Container
Definition: StdContainerAdaptor.h:12
GfxTL
Definition: AABox.h:9
armarx::ctrlutil::v
double v(double t, double v0, double a0, double j)
Definition: CtrlUtil.h:39
GfxTL::StdContainerAdaptor::Container::ContainerType
ContainerT< T, std::allocator< T > > ContainerType
Definition: StdContainerAdaptor.h:15
GfxTL::StdContainerAdaptor::Container::Container
Container(typename ContainerType::size_type s)
Definition: StdContainerAdaptor.h:21
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