Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
CSize2D Class Reference

#include <Size2D.h>

Public Member Functions

 CSize2D ()
 
 CSize2D (const CSize2D &size)
 
 CSize2D (const float width, const float height)
 
CSize2Doperator= (const CSize2D &size)
 
bool operator== (const CSize2D &size) const
 
bool operator!= (const CSize2D &size) const
 
CSize2D operator+ (const CSize2D &size) const
 
CSize2D operator- (const CSize2D &size) const
 
CSize2D operator/ (const float a) const
 
CSize2D operator* (const float a) const
 
void operator+= (const CSize2D &a)
 
void operator-= (const CSize2D &a)
 
void operator/= (const float a)
 
void operator*= (const float a)
 

Public Attributes

float Width = 0.0f
 
float Height = 0.0f
 

Constructor & Destructor Documentation

◆ CSize2D() [1/3]

CSize2D::CSize2D ( )
default

◆ CSize2D() [2/3]

CSize2D::CSize2D ( const CSize2D size)

◆ CSize2D() [3/3]

CSize2D::CSize2D ( const float  width,
const float  height 
)

Member Function Documentation

◆ operator!=()

bool CSize2D::operator!= ( const CSize2D size) const

◆ operator*()

CSize2D CSize2D::operator* ( const float  a) const

◆ operator*=()

void CSize2D::operator*= ( const float  a)

◆ operator+()

CSize2D CSize2D::operator+ ( const CSize2D size) const

◆ operator+=()

void CSize2D::operator+= ( const CSize2D a)

◆ operator-()

CSize2D CSize2D::operator- ( const CSize2D size) const

◆ operator-=()

void CSize2D::operator-= ( const CSize2D a)

◆ operator/()

CSize2D CSize2D::operator/ ( const float  a) const

◆ operator/=()

void CSize2D::operator/= ( const float  a)

◆ operator=()

CSize2D & CSize2D::operator= ( const CSize2D size)

◆ operator==()

bool CSize2D::operator== ( const CSize2D size) const

Member Data Documentation

◆ Height

float CSize2D::Height = 0.0f

◆ Width

float CSize2D::Width = 0.0f

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