CDXBnds Overloaded Operators

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.

CDXBnds::operator [] ( int index )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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)

CDXBnds Class

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 )

CDXBnds Class

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.

CDXBnds::operator = ( const CDXV_C& v )

CDXBnds Class

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 !=

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 &

CDXBnds Class

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 |

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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 )

CDXBnds Class

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.

CDXBnds::operator -= ( const CDXV_C& v )

CDXBnds Class

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 )

CDXBnds Class

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 &=

CDXBnds Class

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 |=

CDXBnds Class

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 ==

CDXBnds Class

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 Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.