2D (width,height) size structure - Integer More...
#include <size.h>
Public Member Functions | |
CL_Size () | |
CL_Size (const CL_Sizex< double > ©) | |
CL_Size (const CL_Sizex< float > ©) | |
CL_Size (const CL_Sizex< int > &s) | |
CL_Size (int width, int height) | |
Operations | |
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 | |
Attributes | |
int | width |
Size width. | |
int | height |
Size height. |
2D (width,height) size structure - Integer
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] |
Size != Size operator (deep compare).
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size * operator.
Size + Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size + operator.
Size += Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size - operator.
Size - Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size -= Size operator.
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.
Size / operator.
Size == Size operator (deep compare).
References CL_Sizex< Type >::height, and CL_Sizex< Type >::width.