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

#include <ToyProducts.h>

Public Member Functions

 DoubleProduct ()=default
 
 DoubleProduct (double d)
 
void aggregate (DoubleProduct const &d)
 

Public Attributes

double value {2.2}
 

Detailed Description

Definition at line 83 of file ToyProducts.h.

Constructor & Destructor Documentation

arttest::DoubleProduct::DoubleProduct ( )
default
arttest::DoubleProduct::DoubleProduct ( double  d)
inlineexplicit

Definition at line 85 of file ToyProducts.h.

85 : value(d) {}

Member Function Documentation

void arttest::DoubleProduct::aggregate ( DoubleProduct const &  d)
inline

Definition at line 88 of file ToyProducts.h.

89  {
90  value += d.value;
91  }

Member Data Documentation

double arttest::DoubleProduct::value {2.2}

Definition at line 93 of file ToyProducts.h.


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