Template Class FormatOrderTwo
Defined in File format_order_two.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public sparsebase::format::FormatImplementation
(Class FormatImplementation)
Class Documentation
-
template<typename IDType, typename NNZType, typename ValueType>
class sparsebase::format::FormatOrderTwo : public sparsebase::format::FormatImplementation Public Functions
-
FormatOrderTwo()
-
template<template<typename, typename, typename> class ToType>
ToType<IDType, NNZType, ValueType> *Convert(context::Context *to_context = nullptr, bool is_move_conversion = false) Converts
this
to a FormatOrderTwo object of type ToType<IDType, NNZType, ValueType>- Parameters
to_context – context used to carry out the conversion.
is_move_conversion – whether to carry out a move conversion.
- Returns
If
this
is of typeToType<ValueType>
then it returns the same object but as a different type. If not, it will convertthis
to a new FormatOrderOne object and return a pointer to the new object.
-
template<template<typename, typename, typename> class ToType>
ToType<IDType, NNZType, ValueType> *Convert(const std::vector<context::Context*> &to_context, bool is_move_conversion = false)
-
template<template<typename, typename, typename> class ToType, typename ToIDType, typename ToNNZType, typename ToValueType>
ToType<ToIDType, ToNNZType, ToValueType> *Convert(bool is_move_conversion = false)
-
template<template<typename, typename, typename> class ToType, typename ToIDType, typename ToNNZType, typename ToValueType>
struct TypeConverter Public Functions
-
inline ToType<ToIDType, ToNNZType, ToValueType> *operator()(FormatOrderTwo<IDType, NNZType, ValueType>*, bool)
-
inline ToType<ToIDType, ToNNZType, ToValueType> *operator()(FormatOrderTwo<IDType, NNZType, ValueType>*, bool)
-
FormatOrderTwo()