Provides a simple light bit vector with easy integer or Boolean access to a 32 bit storage. More...
Classes | |
class | Section |
Represents an section of the vector that can contain a integer number. More... | |
Public Member Functions | |
ASPOSECPP_SHARED_API | BitVector32 () |
Initializes a new empty instance of the BitVector32. More... | |
ASPOSECPP_SHARED_API int32_t | get_Data () |
returns the raw data stored in this bit vector... More... | |
ASPOSECPP_SHARED_API | BitVector32 (int32_t data) |
ASPOSECPP_SHARED_API | BitVector32 (const BitVector32 &value) |
ASPOSECPP_SHARED_API bool | idx_get (int32_t bit) |
ASPOSECPP_SHARED_API void | idx_set (int32_t bit, bool value) |
ASPOSECPP_SHARED_API int32_t | idx_get (BitVector32::Section section) |
ASPOSECPP_SHARED_API void | idx_set (BitVector32::Section section, int32_t value) |
ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Returns a hash code for the current object. More... | |
ASPOSECPP_SHARED_API bool | Equals (const BitVector32 &obj) |
ASPOSECPP_SHARED_API String | ToString () const |
Converts value represented by current object to string. More... | |
Static Public Member Functions | |
static ASPOSECPP_SHARED_API int32_t | CreateMask () |
Creates the first mask in a series. More... | |
static ASPOSECPP_SHARED_API int32_t | CreateMask (int32_t previous) |
static ASPOSECPP_SHARED_API BitVector32::Section | CreateSection (int16_t maxValue) |
static ASPOSECPP_SHARED_API BitVector32::Section | CreateSection (int16_t maxValue, BitVector32::Section previous) |
static ASPOSECPP_SHARED_API String | ToString (const BitVector32 &value) |
Friends | |
bool | operator== (BitVector32::Section a, BitVector32::Section b) |
bool | operator!= (BitVector32::Section a, BitVector32::Section b) |
Provides a simple light bit vector with easy integer or Boolean access to a 32 bit storage.
ASPOSECPP_SHARED_API System::Collections::Specialized::BitVector32::BitVector32 | ( | ) |
Initializes a new empty instance of the BitVector32.
ASPOSECPP_SHARED_API System::Collections::Specialized::BitVector32::BitVector32 | ( | int32_t | data | ) |
Initializes a new instance of the BitVector32 structure with the specified internal data.
data | internal data |
ASPOSECPP_SHARED_API System::Collections::Specialized::BitVector32::BitVector32 | ( | const BitVector32 & | value | ) |
Initializes a new instance of the BitVector32 structure with the information in the specified value.
value | other BitVector32 object |
|
static |
Creates the first mask in a series.
|
static |
Creates the next mask in a series.
previous | previous series |
|
static |
Creates the first section in a series, with the specified maximum value.
maxValue | specified maximum value. |
|
static |
Creates the next section in a series, with the specified maximum value.
maxValue | specified maximum value. |
previous | previous series |
ASPOSECPP_SHARED_API bool System::Collections::Specialized::BitVector32::Equals | ( | const BitVector32 & | obj | ) |
Determines whether the specified object is the same as the current
obj | object to be compared |
ASPOSECPP_SHARED_API int32_t System::Collections::Specialized::BitVector32::get_Data | ( | ) |
returns the raw data stored in this bit vector...
ASPOSECPP_SHARED_API int32_t System::Collections::Specialized::BitVector32::GetHashCode | ( | ) | const |
Returns a hash code for the current object.
ASPOSECPP_SHARED_API bool System::Collections::Specialized::BitVector32::idx_get | ( | int32_t | bit | ) |
Gets a value indicating whether all the specified bits are set.
bit | specified bits. |
ASPOSECPP_SHARED_API int32_t System::Collections::Specialized::BitVector32::idx_get | ( | BitVector32::Section | section | ) |
Gets the value for the specified section.
section | specified section. |
ASPOSECPP_SHARED_API void System::Collections::Specialized::BitVector32::idx_set | ( | int32_t | bit, |
bool | value | ||
) |
Sets a value indicating whether all the specified bits are set.
bit | specified bits. |
value | value to set. |
ASPOSECPP_SHARED_API void System::Collections::Specialized::BitVector32::idx_set | ( | BitVector32::Section | section, |
int32_t | value | ||
) |
Sets the value for the specified section.
section | specified section. |
value | specified value. |
|
static |
Converts value represented by value parameter to string
value | object to be converted |
ASPOSECPP_SHARED_API String System::Collections::Specialized::BitVector32::ToString | ( | ) | const |
Converts value represented by current object to string.
|
friend |
Checks if two specified objects are not equal
a | - first object to compare |
b | - second object to compare |
|
friend |
Checks if two specified objects are equal
a | - first object to compare |
b | - second object to compare |