Template Struct enlarged_data

Struct Documentation

template<typename TType>
struct enlarged_data

A template class to handle data with an additional check value.

This class is designed to store a piece of data along with an integer value that can be used for additional checks or validations.

Template Parameters:

TType – The type of the data to be stored.

Public Functions

inline enlarged_data()

Default constructor.

Creates an empty enlarged_data object.

inline enlarged_data(TType data, int check)

Constructor that initializes the data and check value.

Parameters:
  • data[in] The original data to be stored.

  • check[in] An integer value for additional checks.

Public Members

TType data

original data

int check

additional data to check against