Monero
Loading...
Searching...
No Matches
Circle Class Reference
Inheritance diagram for Circle:
Collaboration diagram for Circle:

Public Member Functions

 Circle ()
 Circle (double x, double y, double radius)
 ~Circle ()
const char * GetType () const
void Print (std::ostream &os) const
Public Member Functions inherited from Shape
virtual ~Shape ()

Private Attributes

double radius_

Friends

template<typename Archiver>
Archiveroperator& (Archiver &ar, Circle &c)

Additional Inherited Members

Protected Member Functions inherited from Shape
 Shape ()
 Shape (double x, double y)
Protected Attributes inherited from Shape
double x_
double y_

Constructor & Destructor Documentation

◆ Circle() [1/2]

Circle::Circle ( )
inline

◆ Circle() [2/2]

Circle::Circle ( double x,
double y,
double radius )
inline

◆ ~Circle()

Circle::~Circle ( )
inline

Member Function Documentation

◆ GetType()

const char * Circle::GetType ( ) const
inlinevirtual

Implements Shape.

◆ Print()

void Circle::Print ( std::ostream & os) const
inlinevirtual

Implements Shape.

◆ operator&

template<typename Archiver>
Archiver & operator& ( Archiver & ar,
Circle & c )
friend

Member Data Documentation

◆ radius_

double Circle::radius_
private

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