System::Collections::Specialized::BitVector32::Section Class Referencefinal

Represents an section of the vector that can contain a integer number. More...

Public Member Functions

ASPOSECPP_SHARED_API int16_t get_Mask ()
 Gets a mask that isolates this section within the BitVector32. More...
 
ASPOSECPP_SHARED_API int16_t get_Offset ()
 Gets the offset of this section from the start of the BitVector32. More...
 
ASPOSECPP_SHARED_API Section ()
 Creates empty object. More...
 
ASPOSECPP_SHARED_API Section (int16_t mask, int16_t offset)
 Creates Section object with specified mask and offset. More...
 
ASPOSECPP_SHARED_API bool Equals (const BitVector32::Section &obj)
 Determines whether the specified object is the same as the current. More...
 
ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Returns a hash code for the current object. More...
 
ASPOSECPP_SHARED_API String ToString () const
 Converts value represented by current object to string. More...
 

Static Public Member Functions

static ASPOSECPP_SHARED_API String ToString (BitVector32::Section value)
 Converts value represented by value param to string. More...
 

Friends

bool operator== (BitVector32::Section a, BitVector32::Section b)
 Checks if two specified objects are equal. More...
 
bool operator!= (BitVector32::Section a, BitVector32::Section b)
 Checks if two specified objects are not equal. More...
 

Detailed Description

Represents an section of the vector that can contain a integer number.

Constructor & Destructor Documentation

◆ Section() [1/2]

ASPOSECPP_SHARED_API System::Collections::Specialized::BitVector32::Section::Section ( )

Creates empty object.

◆ Section() [2/2]

ASPOSECPP_SHARED_API System::Collections::Specialized::BitVector32::Section::Section ( int16_t  mask,
int16_t  offset 
)

Creates Section object with specified mask and offset.

Parameters
maskspecified mask
offsetspecified offset

Member Function Documentation

◆ Equals()

ASPOSECPP_SHARED_API bool System::Collections::Specialized::BitVector32::Section::Equals ( const BitVector32::Section obj)

Determines whether the specified object is the same as the current.

Parameters
objobject to be compared
Returns
True if objects are equal, otherwise - false

◆ get_Mask()

ASPOSECPP_SHARED_API int16_t System::Collections::Specialized::BitVector32::Section::get_Mask ( )

Gets a mask that isolates this section within the BitVector32.

◆ get_Offset()

ASPOSECPP_SHARED_API int16_t System::Collections::Specialized::BitVector32::Section::get_Offset ( )

Gets the offset of this section from the start of the BitVector32.

◆ GetHashCode()

ASPOSECPP_SHARED_API int32_t System::Collections::Specialized::BitVector32::Section::GetHashCode ( ) const

Returns a hash code for the current object.

◆ ToString() [1/2]

static ASPOSECPP_SHARED_API String System::Collections::Specialized::BitVector32::Section::ToString ( BitVector32::Section  value)
static

Converts value represented by value param to string.

Parameters
valueobject to be converted

◆ ToString() [2/2]

ASPOSECPP_SHARED_API String System::Collections::Specialized::BitVector32::Section::ToString ( ) const

Converts value represented by current object to string.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( BitVector32::Section  a,
BitVector32::Section  b 
)
friend

Checks if two specified objects are not equal.

Parameters
a- first object to compare
b- second object to compare
Returns
true if are not equal, otherwise - false.

◆ operator==

bool operator== ( BitVector32::Section  a,
BitVector32::Section  b 
)
friend

Checks if two specified objects are equal.

Parameters
a- first object to compare
b- second object to compare
Returns
true if are equal, otherwise - false.