Design Patterns
structural::composite::FloppyDisk Class Reference

#include <floppy_disk.h>

Inheritance diagram for structural::composite::FloppyDisk:
Collaboration diagram for structural::composite::FloppyDisk:

Public Member Functions

 FloppyDisk ()
 
 FloppyDisk (const std::string &)
 
std::string name () const override
 
Currency price () const override
 
void price (const Currency &) override
 
Watt power () const override
 
void power (const Watt &) override
 
Currency NetPrice () override
 
Currency DiscountPrice () override
 
- Public Member Functions inherited from structural::composite::EquipmentInterface
virtual ~EquipmentInterface ()
 

Constructor & Destructor Documentation

structural::composite::FloppyDisk::FloppyDisk ( )
structural::composite::FloppyDisk::FloppyDisk ( const std::string &  name)
explicit

Member Function Documentation

Currency structural::composite::FloppyDisk::DiscountPrice ( )
overridevirtual

Implements structural::composite::EquipmentInterface.

Here is the call graph for this function:

std::string structural::composite::FloppyDisk::name ( ) const
overridevirtual
Currency structural::composite::FloppyDisk::NetPrice ( )
overridevirtual
Watt structural::composite::FloppyDisk::power ( ) const
overridevirtual

Implements structural::composite::EquipmentInterface.

Here is the caller graph for this function:

void structural::composite::FloppyDisk::power ( const Watt power)
overridevirtual

Implements structural::composite::EquipmentInterface.

Here is the call graph for this function:

Currency structural::composite::FloppyDisk::price ( ) const
overridevirtual

Implements structural::composite::EquipmentInterface.

Here is the caller graph for this function:

void structural::composite::FloppyDisk::price ( const Currency price)
overridevirtual

Implements structural::composite::EquipmentInterface.

Here is the call graph for this function:


The documentation for this class was generated from the following files: