Intro_Class_Area
Public Member Functions | List of all members
Form Class Referenceabstract

#include <form.h>

Inheritance diagram for Form:
Circle Quadrat

Public Member Functions

 Form (float x, float y)
 
 Form (const Form &rhs)
 
float GetX () const
 
float GetY () const
 
virtual std::string classname () const
 
virtual float area () const =0
 
virtual ~Form ()
 

Detailed Description

Definition at line 9 of file form.h.

Constructor & Destructor Documentation

◆ Form() [1/2]

Form::Form ( float  x,
float  y 
)
inline

Definition at line 13 of file form.h.

◆ Form() [2/2]

Form::Form ( const Form rhs)
inline

Definition at line 15 of file form.h.

◆ ~Form()

Form::~Form ( )
virtual

Definition at line 8 of file form.cpp.

Member Function Documentation

◆ area()

virtual float Form::area ( ) const
pure virtual

Implemented in Circle, and Quadrat.

◆ classname()

virtual std::string Form::classname ( ) const
inlinevirtual

Reimplemented in Circle, and Quadrat.

Definition at line 26 of file form.h.

◆ GetX()

float Form::GetX ( ) const
inline

Definition at line 17 of file form.h.

◆ GetY()

float Form::GetY ( ) const
inline

Definition at line 21 of file form.h.


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