gfactory
Loading...
Searching...
No Matches
Shape Class Referenceabstract

#include <ShapeFactory.h>

Inheritance diagram for Shape:
Inheritance graph
Collaboration diagram for Shape:
Collaboration graph

Public Member Functions

 ~Shape () override=default
 
 Shape (const std::shared_ptr< GOptions > &g)
 
virtual void Area ()=0
 

Detailed Description

Definition at line 9 of file ShapeFactory.h.

Constructor & Destructor Documentation

◆ ~Shape()

Shape::~Shape ( )
overridedefault

◆ Shape()

Shape::Shape ( const std::shared_ptr< GOptions > & g)
inlineexplicit

Definition at line 13 of file ShapeFactory.h.

Member Function Documentation

◆ Area()

virtual void Shape::Area ( )
pure virtual

Implemented in Triangle, and Box.


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