tVector.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
25 //----------------------------------------------------------------------
26 #ifndef ICL_CORE_T_VECTOR_H_INCLUDED
27 #define ICL_CORE_T_VECTOR_H_INCLUDED
28 
29 #include <vector>
30 
31 #include "icl_core/BaseTypes.h"
32 #include "icl_core/Deprecate.h"
34 
35 namespace icl_core {
36 
37 // \todo Create a wrapper class (and/or additional RT-safe implementations).
38 template <typename T>
39 class ICL_CORE_VC_DEPRECATE tVector : public std::vector<T>
40 {
41 public:
42  tVector() : std::vector<T>() { }
43  tVector(const tVector& c) : std::vector<T>(c) { }
44  explicit tVector(tSize num, typename ConvertToRef<T>::ToConstRef val = DefaultConstruct<T>::C())
45  : std::vector<T>(num, val)
46  { }
47  template <typename input_iterator>
48  tVector(input_iterator start, input_iterator end) : std::vector<T>(start, end) { }
50 
61 
62 }
63 
64 #endif
Helper definitions for template programming.
#define ICL_CORE_VC_DEPRECATE
Definition: Deprecate.h:35
tVector(const tVector &c)
Definition: tVector.h:43
Contains macros to deprecate classes, types, functions and variables.
tVector(input_iterator start, input_iterator end)
Definition: tVector.h:48
tVector< tFloat > tFloatVector
Definition: tVector.h:59
tVector< tUnsigned16 > tUnsigned16Vector
Definition: tVector.h:52
tVector< tDouble > tDoubleVector
Definition: tVector.h:60
tVector< tUnsigned8 > tUnsigned8Vector
Definition: tVector.h:51
tVector< tUnsigned32 > tUnsigned32Vector
Definition: tVector.h:53
Contains Interface base classes and base types.
tVector< tUnsigned64 > tUnsigned64Vector
Definition: tVector.h:54
tVector< tSigned32 > tSigned32Vector
Definition: tVector.h:57
ICL_CORE_VC_DEPRECATE SetRelation tSetRelation ICL_CORE_GCC_DEPRECATE
Definition: SetHelper.h:42
tVector< tSigned16 > tSigned16Vector
Definition: tVector.h:56
tVector< tSigned64 > tSigned64Vector
Definition: tVector.h:58
tVector< tSigned8 > tSigned8Vector
Definition: tVector.h:55
tVector(tSize num, typename ConvertToRef< T >::ToConstRef val=DefaultConstruct< T >::C())
Definition: tVector.h:44


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58