CDXBnds Overloaded Operators
This section lists the overloaded operators of the CDXBnds class.
CDXBnds::operator [] ( int index )
Accesses a dimension of the structure with an integer index.
Syntax
STTYPE& operator[]( int index );
Parameters
index
An integer value used to access a dimension of the structure.
Return Value
Returns a STTYPE& reference.
CDXBnds::operator [] ( long index )
Accesses a dimension of the structure with a long index.
Syntax
STTYPE& operator[]( long index );
Parameters
index
A long value used to access a dimension of the structure.
Return Value
Returns a STTYPE& reference.
CDXBnds::operator [] ( USHORT index )
Accesses a dimension of the structure with a USHORT index.
Syntax
STTYPE& operator[]( USHORT index );
Parameters
index
A USHORT value used to access a dimension of the structure.
Return Value
Returns a STTYPE& reference.
CDXBnds::operator [] ( DWORD index )
Accesses a dimension of the structure with a DWORD index.
Syntax
STTYPE& operator[]( DWORD index );
Parameters
index
A DWORD value used to access a dimension of the structure.
Return Value
Returns a STTYPE& reference.
CDXBnds::operator [] ( DXBNDID index)
Accesses a dimension of the structure with a DXBNDID index.
Syntax
STTYPE& operator[]( DXBNDID index );
Parameters
index
DXBNDID value used to access a dimension of the structure.
Return Value
Returns a STTYPE& reference.
CDXBnds::operator = ( const CDXB_C& Bounds )
Copies a CDXB_C continuous bounds object.
Syntax
void operator=( const CDXB_C &Bounds );
Parameters
Bounds
The CDXB_C continuous bounds object to be copied.
Return Value
No return value.
CDXBnds::operator = ( const CDXV_C& v )
Copies a CDXV_C continuous vector object.
Syntax
void operator=( const CDXV_C &v );
Parameters
v
The CDXV_C continuous vector object to be copied.
Return Value
No return value.
CDXBnds::operator !=
Performs an inequality test.
Syntax
BOOL operator!=( const CDXB_C &Bounds ) const;
Parameters
Bounds
The CDXB_C continuous bounds object to be tested.
Return Value
Returns TRUE if the bounds objects are not equal. Returns FALSE if the bounds objects are equal.
CDXBnds::operator + ( const POINT& point )
Adds two bounds from a specified point and returns a value.
Syntax
CDXB_C operator+( const POINT &point ) const;
Parameters
point
Specified point to be added.
Return Value
Returns a CDXB_C result.
CDXBnds::operator + ( const SIZE& size )
Adds two bounds of a specified size and returns a value.
Syntax
CDXB_C operator+( const SIZE &size ) const;
Parameters
size
Specified size to be added.
Return Value
Returns a CDXB_C result.
CDXBnds::operator + ( const CDXV_C& v )
Adds two continuous vectors and returns a value.
Syntax
CDXB_C operator+( const CDXV_C &v ) const;
Parameters
v
Specified CDXV_C continuous vector object to be added.
Return Value
Returns a CDXB_C result.
CDXBnds::operator - ( const POINT& point )
Subtracts two bounds from a specified point and returns a value.
Syntax
CDXB_C operator-( const POINT &point ) const;
Parameters
point
Specified point to be subtracted.
Return Value
Returns a CDXB_C result.
CDXBnds::operator - ( const SIZE& size )
Subtracts two bounds of a specified size and returns a value.
Syntax
CDXB_C operator-( const SIZE &size ) const;
Parameters
size
Specified size to be subtracted.
Return Value
Returns a CDXB_C result.
CDXBnds::operator - ( const CDXV_C& v )
Subtracts two bounds of continuous vectors and returns a value.
Syntax
CDXB_C operator-( const CDXV_C &v ) const;
Parameters
v
Specified CDXV_C continuous vector object to be subtracted.
Return Value
Returns a CDXB_C result.
CDXBnds::operator &
Intersects two bounds and returns a value.
Syntax
CDXB_C operator&( const CDXB_C &Bounds2 ) const;
Parameters
Bounds2
Specified CDXB_C continuous bounds object to be intersected.
Return Value
Returns a CDXB_C result.
CDXBnds::operator |
Unions two bounds and returns a value.
Syntax
CDXB_C operator|( const CDXB_C &Bounds2 ) const;
Parameters
Bounds2
Specified CDXB_C continuous bounds object.
Return Value
Returns a CDXB_C result.
CDXBnds::operator += ( const POINT& point )
Adds the components of the right-side POINT object to the left-side POINT object.
Syntax
void operator+=( const POINT &point );
Parameters
point
Specified point to be added.
Return Value
No return value.
CDXBnds::operator += ( const SIZE& size )
Adds the components of the right-side SIZE object to the left-side SIZE object.
Syntax
void operator+=( const SIZE &size );
Parameters
size
Specified size to be added.
Return Value
No return value.
CDXBnds::operator += ( const CDXV_C& v )
Adds the components of the right-side CDXV_C continuous bounds object to the CDXV_C continuous bounds left-side object.
Syntax
void operator+=( const CDXV_C &v );
Parameters
v
Specified CDXV_C continuous vector object to be added.
Return Value
No return value.
CDXBnds::operator += ( const CDXB_C& Bounds )
Adds the components of the right-side CDXB_C continuous bounds object to the left-side CDXB_C continuous bounds object.
Syntax
void operator+=( const CDXB_C &Bounds );
Parameters
Bounds
Specified CDXB_C continuous bounds object to be added.
Return Value
No return value.
CDXBnds::operator -= ( const POINT& point )
Subtracts the components of the right-side POINT object from the left-side POINT object.
Syntax
void operator-=( const POINT &point );
Parameters
point
Specified point to be subtracted.
Return Value
No return value.
CDXBnds::operator -= ( const SIZE& size )
S
ubtracts the components of the right-side SIZE object from the left-side SIZE object.
Syntax
void operator-=( const SIZE &size );
Parameters
size
Specified size to be subtracted.
Return Value
No return value.
CDXBnds::operator -= ( const CDXV_C& v )
Subtracts the components of the right-side CDXV_C continuous bounds object from the left-side CDXV_C continuous bounds object.
Syntax
void operator-=( const CDXV_C &v );
Parameters
v
Specified CDXV_C continuous vector object to be subtracted.
Return Value
No return value.
CDXBnds::operator -= ( const CDXB_C& Bounds )
Subtracts the components of the right-side CDXB_C continuous bounds object from the left-side CDXB_C continuous bounds object.
Syntax
void operator-=( const CDXB_C &Bounds );
Parameters
Bounds
Specified CDXB_C continuous bounds object to be subtracted.
Return Value
No return value.
CDXBnds::operator &=
Intersects the components of the right-side object with the left-hand object and assigns to the left-side object.
Syntax
void operator&=( const CDXB_C &Bounds );
Parameters
Bounds
Specified CDXB_C continuous bounds object to be intersected.
Return Value
No return value.
CDXBnds::operator |=
Unions the components of the right-side object with the left-hand object and assigns to the left-side object.
Syntax
void operator|=( const CDXB_C &Bounds );
Parameters
Bounds
Specified CDXB_C continuous bounds object.
Return Value
No return value.
CDXBnds::operator ==
Performs an equality test.
Syntax
BOOL operator==( const CDXB_C &Bounds ) const;
Parameters
Bounds
Specified CDXB_C continuous bounds object to be tested.
Return Value
Returns TRUE if the bounds objects are equal. Returns FALSE if the bounds objects are not equal.