#include <tvu_typesdef.h>
Inheritance diagram for CTSize2D::
Public Methods | |
CTSize2D () | |
CTSize2D (double _sx, double _sy) | |
DEFINE_ID_FUNCTIONS (CTSize2D, CTObject, CLASSNAME_TYPE_SIZE2D_ID, CLASSNAME_TYPE_SIZE2D) public | |
virtual TBOOL | OnSaving (LPCTFile pFile, TINT Marge) |
Save the object. More... | |
virtual TBOOL | OnSaving (TLPSTR pBuffers, TINT Marge) |
virtual TBOOL | OnLoading (LPTBYTE *lpBuffers) |
Load the object from buffers. More... | |
virtual TBOOL | OnLoading (LPCTFile pFile) |
Load the object a file. More... | |
virtual CTObject* | SetValue (CTList pValues) |
For calculation. More... | |
virtual CTObject* | Calculate (TINT iOperator, CTObject *Object) |
Operations Comparing operations Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt. More... | |
TBOOL | operator== (TSIZE2D s2d) |
Comparing operations. More... | |
TBOOL | operator== (CTSize2D &s2d) |
TBOOL | operator!= (TSIZE2D s2d) |
TBOOL | operator!= (CTSize2D &s2d) |
CTSize2D& | operator= (CTSize2D &s2d) |
TSIZE2D | SIZE2D () |
Convert. More... | |
Data Fields | |
double | sx |
Data. More... | |
double | sy |
Data. More... |
|
Operations Comparing operations Calculate the mathematical operators: +, -, *, / and the comparing operators: =, <, <=, >, >=. In this case, the returned value is an object of CTInt.
Reimplemented from CTObject. Reimplemented in CTSize3D. |
|
Load the object a file.
Reimplemented from CTObject. Reimplemented in CTSize3D. |
|
Load the object from buffers.
Reimplemented from CTObject. Reimplemented in CTSize3D. |
|
Save the object.
Reimplemented from CTObject. Reimplemented in CTSize3D. |
|
Convert.
01782 { TSIZE2D s2d = {sx, sy}; return s2d; }; |
|
For calculation.
Reimplemented from CTObject. Reimplemented in CTSize3D. |
|
Comparing operations.
01775 { return (sx == s2d.sx) && (sy == s2d.sy);} ; |
|
Data.
|
|
Data.
|