@deriveUsethisclasstoimplementPointsorVectors whicharebasedonthreesal_Int32values
*/ class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC B3ITuple : public Tuple3D<sal_Int32>
{ public: /** Create a 3D Tuple
/// Array-access to 3D Tuple const sal_Int32& operator[] (int nPos) const
{ // Here, normally two if(...)'s should be used. In the assumption that // both sal_Int32 members can be accessed as an array a shortcut is used here. // if(0 == nPos) return mnX; if(1 == nPos) return mnY; return mnZ; return *((&mnX) + nPos);
}
/// Array-access to 3D Tuple
sal_Int32& operator[] (int nPos)
{ // Here, normally two if(...)'s should be used. In the assumption that // both sal_Int32 members can be accessed as an array a shortcut is used here. // if(0 == nPos) return mnX; if(1 == nPos) return mnY; return mnZ; return *((&mnX) + nPos);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.