template struct cv::cudev::PtrTraitsBase

#include <traits.hpp>

template <
    class Ptr2DSz,
    class Ptr2D
    >
struct PtrTraitsBase
{
    // typedefs

    typedef Ptr2D::index_type index_type;
    typedef Ptr2DSz ptr_sz_type;
    typedef Ptr2D ptr_type;
    typedef Ptr2D::value_type value_type;

    // methods

    static
    __host__ int
    getCols(const Ptr2DSz& ptr);

    static
    __host__ int
    getRows(const Ptr2DSz& ptr);

    static
    __host__ Ptr2D
    shrinkPtr(const Ptr2DSz& ptr);
};

// direct descendants

template <class Ptr2DSz>
struct PtrTraits;

template <>
struct PtrTraits<AffineMapPtrSz>;

template <
    class Src1Ptr,
    class Src2Ptr,
    class Op
    >
struct PtrTraits<BinaryTransformPtrSz<Src1Ptr, Src2Ptr, Op>>;

template <class SrcPtr>
struct PtrTraits<CommonAreaInterPtrSz<SrcPtr>>;

template <typename T>
struct PtrTraits<ConstantPtrSz<T>>;

template <class SrcPtr>
struct PtrTraits<CubicInterPtrSz<SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<DerivXPtrSz<SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<DerivYPtrSz<SrcPtr>>;

template <typename T>
struct PtrTraits<GlobPtrSz<T>>;

template <typename T>
struct PtrTraits<GpuMat_<T>>;

template <class SrcPtr>
struct PtrTraits<IntegerAreaInterPtrSz<SrcPtr>>;

template <
    int ksize,
    class SrcPtr
    >
struct PtrTraits<LaplacianPtrSz<ksize, SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<LinearInterPtrSz<SrcPtr>>;

template <
    class SrcPtr,
    class TablePtr
    >
struct PtrTraits<LutPtrSz<SrcPtr, TablePtr>>;

template <class SrcPtr>
struct PtrTraits<NearestInterPtrSz<SrcPtr>>;

template <>
struct PtrTraits<PerspectiveMapPtrSz>;

template <
    class SrcPtr,
    class MapPtr
    >
struct PtrTraits<RemapPtr1Sz<SrcPtr, MapPtr>>;

template <
    class SrcPtr,
    class MapXPtr,
    class MapYPtr
    >
struct PtrTraits<RemapPtr2Sz<SrcPtr, MapXPtr, MapYPtr>>;

template <class SrcPtr>
struct PtrTraits<ResizePtrSz<SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<ScharrXPtrSz<SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<ScharrYPtrSz<SrcPtr>>;

template <class MaskPtr>
struct PtrTraits<SingleMaskChannelsSz<MaskPtr>>;

template <class SrcPtr>
struct PtrTraits<SobelXPtrSz<SrcPtr>>;

template <class SrcPtr>
struct PtrTraits<SobelYPtrSz<SrcPtr>>;

template <typename T>
struct PtrTraits<Texture<T>>;

template <
    class SrcPtr,
    class Op
    >
struct PtrTraits<UnaryTransformPtrSz<SrcPtr, Op>>;

template <class PtrTuple>
struct PtrTraits<ZipPtrSz<PtrTuple>>;