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

#include <ToyProducts.h>

Inheritance diagram for arttest::SimpleDerived:
arttest::Simple

Public Member Functions

 SimpleDerived ()=default
 
 SimpleDerived (SimpleDerived const &other)
 
double dummy () const override
 
SimpleDerivedclone () const override
 
- Public Member Functions inherited from arttest::Simple
 Simple ()=default
 
virtual ~Simple () noexcept=default
 
key_type id () const
 

Public Attributes

double dummy_ {16.25}
 
- Public Attributes inherited from arttest::Simple
key_type key {}
 
double value {}
 

Additional Inherited Members

- Public Types inherited from arttest::Simple
typedef int key_type
 

Detailed Description

Definition at line 175 of file ToyProducts.h.

Constructor & Destructor Documentation

arttest::SimpleDerived::SimpleDerived ( )
default
arttest::SimpleDerived::SimpleDerived ( SimpleDerived const &  other)
inline

Definition at line 178 of file ToyProducts.h.

179  : Simple(other), dummy_(other.dummy_)
180  {}
Simple()=default

Member Function Documentation

SimpleDerived* arttest::SimpleDerived::clone ( ) const
inlineoverridevirtual

Reimplemented from arttest::Simple.

Definition at line 189 of file ToyProducts.h.

190  {
191  return new SimpleDerived(*this);
192  }
double arttest::SimpleDerived::dummy ( ) const
inlineoverridevirtual

Reimplemented from arttest::Simple.

Definition at line 184 of file ToyProducts.h.

185  {
186  return dummy_;
187  }

Member Data Documentation

double arttest::SimpleDerived::dummy_ {16.25}

Definition at line 182 of file ToyProducts.h.


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