|
cisst-saw
|
Basic traits for the cisstVector containers. More...
#include <cstddef>Go to the source code of this file.
Namespaces | |
| namespace | vct |
Macros | |
| #define | _vctContainerTraits_h |
| #define | VCT_CONTAINER_TRAITS_TYPEDEFS(type) |
| #define | VCT_NARRAY_TRAITS_TYPEDEFS(dimension) |
Typedefs | |
| typedef size_t | vct::size_type |
| typedef size_t | vct::index_type |
| typedef ptrdiff_t | vct::stride_type |
| typedef ptrdiff_t | vct::difference_type |
Basic traits for the cisstVector containers.
| #define _vctContainerTraits_h |
| #define VCT_CONTAINER_TRAITS_TYPEDEFS | ( | type | ) |
Macro used to define multiple types based on the type of elements. This will define size_type, index_type, difference_type, stride_type, value_type, reference, const_reference, pointer, const_pointer, NormType (double) and AngleType (double). Most of these types are introduced and named for STL compatibility.
| type | Type of element, e.g. double, float, char. |
| #define VCT_NARRAY_TRAITS_TYPEDEFS | ( | dimension | ) |
Macro used to define nArray-specific types based on the type of elements. This will define nsize_type, nstride_type, and dimension_type.