Public Member Functions

CL_Sizef Class Reference
[clanCore Math]

2D (width,height) size structure - Float More...

#include <size.h>

Inheritance diagram for CL_Sizef:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CL_Sizef ()
 CL_Sizef (const CL_Sizex< double > &copy)
 CL_Sizef (const CL_Sizex< int > &copy)
 CL_Sizef (const CL_Sizex< float > &s)
 CL_Sizef (float width, float height)
Operations

CL_Sizex< float > & operator+= (const CL_Sizex< float > &s)
 Size += Size operator.
CL_Sizex< float > & operator+= (const float &s)
 Size += operator.
CL_Sizex< float > & operator-= (const CL_Sizex< float > &s)
 Size -= Size operator.
CL_Sizex< float > & operator-= (const float &s)
 Size -= operator.
CL_Sizex< float > operator+ (const CL_Sizex< float > &s) const
 Size + Size operator.
CL_Sizex< float > operator+ (const float &s) const
 Size + operator.
CL_Sizex< float > operator- (const CL_Sizex< float > &s) const
 Size - Size operator.
CL_Sizex< float > operator- (const float &s) const
 Size - operator.
CL_Sizex< float > & operator*= (const float &s)
 Size *= operator.
CL_Sizex< float > & operator/= (const float &s)
 Size /= operator.
CL_Sizex< float > operator* (const float &s) const
 Size * operator.
CL_Sizex< float > operator/ (const float &s) const
 Size / operator.
bool operator== (const CL_Sizex< float > &s) const
 Size == Size operator (deep compare).
bool operator!= (const CL_Sizex< float > &s) const
 Size != Size operator (deep compare).

Public Attributes

Attributes

float width
 Size width.
float height
 Size height.

Detailed Description

2D (width,height) size structure - Float


Constructor & Destructor Documentation

CL_Sizef::CL_Sizef (  )  [inline]
CL_Sizef::CL_Sizef ( float  width,
float  height 
) [inline]
CL_Sizef::CL_Sizef ( const CL_Sizex< float > &  s  )  [inline]
CL_Sizef::CL_Sizef ( const CL_Sizex< int > &  copy  )  [inline]
CL_Sizef::CL_Sizef ( const CL_Sizex< double > &  copy  )  [inline, explicit]

Member Function Documentation

bool CL_Sizex< float >::operator!= ( const CL_Sizex< float > &  s  )  const [inline, inherited]

Size != Size operator (deep compare).

CL_Sizex<float > CL_Sizex< float >::operator* ( const float &  s  )  const [inline, inherited]

Size * operator.

CL_Sizex<float >& CL_Sizex< float >::operator*= ( const float &  s  )  [inline, inherited]

Size *= operator.

CL_Sizex<float > CL_Sizex< float >::operator+ ( const CL_Sizex< float > &  s  )  const [inline, inherited]

Size + Size operator.

CL_Sizex<float > CL_Sizex< float >::operator+ ( const float &  s  )  const [inline, inherited]

Size + operator.

CL_Sizex<float >& CL_Sizex< float >::operator+= ( const CL_Sizex< float > &  s  )  [inline, inherited]

Size += Size operator.

CL_Sizex<float >& CL_Sizex< float >::operator+= ( const float &  s  )  [inline, inherited]

Size += operator.

CL_Sizex<float > CL_Sizex< float >::operator- ( const float &  s  )  const [inline, inherited]

Size - operator.

CL_Sizex<float > CL_Sizex< float >::operator- ( const CL_Sizex< float > &  s  )  const [inline, inherited]

Size - Size operator.

CL_Sizex<float >& CL_Sizex< float >::operator-= ( const float &  s  )  [inline, inherited]

Size -= operator.

CL_Sizex<float >& CL_Sizex< float >::operator-= ( const CL_Sizex< float > &  s  )  [inline, inherited]

Size -= Size operator.

CL_Sizex<float > CL_Sizex< float >::operator/ ( const float &  s  )  const [inline, inherited]

Size / operator.

CL_Sizex<float >& CL_Sizex< float >::operator/= ( const float &  s  )  [inline, inherited]

Size /= operator.

bool CL_Sizex< float >::operator== ( const CL_Sizex< float > &  s  )  const [inline, inherited]

Size == Size operator (deep compare).


Member Data Documentation

float CL_Sizex< float >::height [inherited]

Size height.

Referenced by CL_Sizef().

float CL_Sizex< float >::width [inherited]

Size width.

Referenced by CL_Sizef().


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