Monero
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Shape Class Referenceabstract
Inheritance diagram for Shape:
Inheritance graph
[legend]

Public Member Functions

virtual ~Shape ()
 
virtual const char * GetType () const =0
 
virtual void Print (std::ostream &os) const =0
 

Protected Member Functions

 Shape ()
 
 Shape (double x, double y)
 

Protected Attributes

double x_
 
double y_
 

Friends

template<typename Archiver >
Archiveroperator& (Archiver &ar, Shape &s)
 

Constructor & Destructor Documentation

◆ ~Shape()

virtual Shape::~Shape ( )
inlinevirtual

◆ Shape() [1/2]

Shape::Shape ( )
inlineprotected

◆ Shape() [2/2]

Shape::Shape ( double x,
double y )
inlineprotected

Member Function Documentation

◆ GetType()

virtual const char * Shape::GetType ( ) const
pure virtual

Implemented in Circle, and Box.

◆ Print()

virtual void Shape::Print ( std::ostream & os) const
pure virtual

Implemented in Circle, and Box.

Friends And Related Symbol Documentation

◆ operator&

template<typename Archiver >
Archiver & operator& ( Archiver & ar,
Shape & s )
friend

Member Data Documentation

◆ x_

double Shape::x_
protected

◆ y_

double Shape::y_
protected

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