Public Member Functions | Public Attributes | List of all members
arttest::Int16_tProduct Struct Reference

#include <ToyProducts.h>

Public Member Functions

 Int16_tProduct ()=default
 
 Int16_tProduct (int16_t i, uint16_t j)
 
void aggregate (Int16_tProduct const &other)
 

Public Attributes

int16_t value {}
 
uint16_t uvalue {1}
 

Detailed Description

Definition at line 68 of file ToyProducts.h.

Constructor & Destructor Documentation

arttest::Int16_tProduct::Int16_tProduct ( )
default
arttest::Int16_tProduct::Int16_tProduct ( int16_t  i,
uint16_t  j 
)
inlineexplicit

Definition at line 70 of file ToyProducts.h.

70 : value(i), uvalue(j) {}

Member Function Documentation

void arttest::Int16_tProduct::aggregate ( Int16_tProduct const &  other)
inline

Definition at line 76 of file ToyProducts.h.

77  {
78  value += other.value;
79  uvalue += other.uvalue;
80  }

Member Data Documentation

uint16_t arttest::Int16_tProduct::uvalue {1}

Definition at line 73 of file ToyProducts.h.

int16_t arttest::Int16_tProduct::value {}

Definition at line 72 of file ToyProducts.h.


The documentation for this struct was generated from the following file: