Template Class FormatOrderOne
Defined in File format_order_one.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public sparsebase::format::FormatImplementation
(Class FormatImplementation)
Class Documentation
-
template<typename ValueType>
class sparsebase::format::FormatOrderOne : public sparsebase::format::FormatImplementation Public Functions
-
FormatOrderOne()
-
template<template<typename> typename ToType>
ToType<ValueType> *Convert(context::Context *to_context = nullptr, bool is_move_conversion = false) Converts
this
to a FormatOrderOne object of type ToType<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 ToType>
ToType<ValueType> *Convert(const std::vector<context::Context*> &to_context, bool is_move_conversion = false)
-
template<template<typename> typename ToType, typename ToValueType>
ToType<ToValueType> *Convert(bool is_move_conversion = false)
-
template<template<typename> typename ToType, typename ToValueType>
struct TypeConverter Public Functions
-
inline ToType<ToValueType> *operator()(FormatOrderOne<ValueType>*, bool)
-
inline ToType<ToValueType> *operator()(FormatOrderOne<ValueType>*, bool)
- template<typename ValueType> Array, ToValueType >
Public Functions
-
inline format::Array<ToValueType> *operator()(FormatOrderOne<ValueType> *source, bool is_move_conversion)
-
inline format::Array<ToValueType> *operator()(FormatOrderOne<ValueType> *source, bool is_move_conversion)
-
FormatOrderOne()