CL_Size Class Reference
[clanCore Math]

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

#include <size.h>

Inheritance diagram for CL_Size:

CL_Sizex< int > List of all members.

Public Member Functions

 CL_Size ()
 CL_Size (int width, int height)
 CL_Size (const CL_Sizex< int > &s)
 CL_Size (const CL_Sizex< float > &copy)
 CL_Size (const CL_Sizex< double > &copy)
CL_Sizex< int > & operator+= (const CL_Sizex< int > &s)
 Size += Size operator.
CL_Sizex< int > & operator+= (const int &s)
 Size += operator.
CL_Sizex< int > & operator-= (const CL_Sizex< int > &s)
 Size -= Size operator.
CL_Sizex< int > & operator-= (const int &s)
 Size -= operator.
CL_Sizex< int > operator+ (const CL_Sizex< int > &s) const
 Size + Size operator.
CL_Sizex< int > operator+ (const int &s) const
 Size + operator.
CL_Sizex< int > operator- (const CL_Sizex< int > &s) const
 Size - Size operator.
CL_Sizex< int > operator- (const int &s) const
 Size - operator.
CL_Sizex< int > & operator *= (const int &s)
 Size *= operator.
CL_Sizex< int > & operator/= (const int &s)
 Size /= operator.
CL_Sizex< int > operator * (const int &s) const
 Size * operator.
CL_Sizex< int > operator/ (const int &s) const
 Size / operator.
bool operator== (const CL_Sizex< int > &s) const
 Size == Size operator (deep compare).
bool operator!= (const CL_Sizex< int > &s) const
 Size != Size operator (deep compare).

Public Attributes

int width
 Size width.
int height
 Size height.

Detailed Description

2D (width,height) size structure - Integer


Constructor & Destructor Documentation

CL_Size::CL_Size  )  [inline]
 

CL_Size::CL_Size int  width,
int  height
[inline]
 

CL_Size::CL_Size const CL_Sizex< int > &  s  )  [inline]
 

CL_Size::CL_Size const CL_Sizex< float > &  copy  )  [inline, explicit]
 

CL_Size::CL_Size const CL_Sizex< double > &  copy  )  [inline, explicit]
 


Member Function Documentation

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

Size * operator.

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

Size *= operator.

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

Size != Size operator (deep compare).

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

Size + operator.

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

Size + Size operator.

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

Size += operator.

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

Size += Size operator.

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

Size - operator.

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

Size - Size operator.

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

Size -= operator.

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

Size -= Size operator.

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

Size / operator.

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

Size /= operator.

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

Size == Size operator (deep compare).


Member Data Documentation

int CL_Sizex< int >::height [inherited]
 

Size height.

int CL_Sizex< int >::width [inherited]
 

Size width.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:40 2009 for ClanLib by  doxygen 1.4.6