gfactory
Loading...
Searching...
No Matches
Box Class Reference

Example concrete Shape implementation used in static registration. More...

#include <ShapeFactory.h>

Public Member Functions

void Area ()
 Example implementation that prints a message.
 Shape (const std::shared_ptr< GOptions > &g)
 Inherit the base (const std::shared_ptr<GOptions>&) constructor.
Public Member Functions inherited from Shape
 ~Shape () override=default
 Virtual destructor for polymorphic deletion.
 Shape (const std::shared_ptr< GOptions > &g)
 Construct the base with a shared options/configuration instance.
Public Member Functions inherited from GBase< Shape >
 GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="")
virtual ~GBase ()
GBaseoperator= (const GBase &)=default

Additional Inherited Members

Protected Attributes inherited from GBase< Shape >
std::shared_ptr< GLoggerlog

Detailed Description

Definition at line 56 of file ShapeFactory.h.

Member Function Documentation

◆ Area()

void Box::Area ( )
virtual

Implements Shape.

Definition at line 12 of file ShapeFactory.cc.

◆ Shape()

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

Definition at line 27 of file ShapeFactory.h.


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