operator [] ( int index ) Accesses a dimension of the structure with an integer index. operator [] ( long index ) Accesses a dimension of the structure with a long. operator [] ( USHORT index ) Accesses a dimension of the structure with a USHORT index. operator [] ( DWORD index ) Accesses a dimension of the structure with a DWORD index. operator [] ( DXBNDID index ) Accesses a dimension of the structure with a DXBNDID index. operator = ( const CDXB_C &Bounds ) Copies a CDXB_C continuous bounds object. operator = ( const CDXV_C &v ) Copies a CDXV_C continuous vector object. operator != Performs an inequality test. operator + ( const POINT &point ) Adds two bounds from a specified point and returns a value. operator + ( const SIZE &size ) Adds two bounds of a specified size and returns a value. operator + ( const CDXV_C &v ) Adds two continuous vectors and returns a value. operator - ( const POINT &point ) Subtracts two bounds from a specified point and returns a value. operator - ( const SIZE &size ) Subtracts two bounds of a specified size and returns a value. operator - ( const CDXV_C &v ) Subtracts two bounds of continuous vectors and returns a value. operator & Intersects two bounds and returns a value. operator | Unions two bounds and returns a value. operator += ( const POINT &point ) Adds the components of the right-side POINT object to the left-side POINT object. operator += ( const SIZE &size ) Adds the components of the right-side SIZE object to the left-side SIZE object. operator += ( const CDXV_C &v ) Adds the components of the right-side CDXV_C continuous vector object to the CDXV_C continuous vector left-side object. 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. operator -= ( const POINT &point ) Subtracts the components of the right-side POINT object from the left-side POINT object. operator -= ( const SIZE &size ) Subtracts the components of the right-side SIZE object from the left-side SIZE object. 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. 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. operator &= Intersects the components of the right-side object with the left-side object and assigns to the left-side object. operator |= Unions the components of the right-side object with the left-side object and assigns to the left-side object. operator == Performs an equality test.
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.
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.
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.
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.
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.
Copies a CDXB_C continuous bounds object.
Syntax
void operator=( const CDXB_C &Bounds );
Parameters
- v
- The CDXB_C continuous bounds object to be copied.
Return Value
No return value.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Subtracts 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.
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.
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.
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.
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.
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.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.