Public Member Functions | |
ASPOSECPP_SHARED_API | CharacterRange (int32_t first, int32_t length) |
ASPOSECPP_SHARED_API | CharacterRange () |
Constructs a new instance of CharacterRange class that represents an empty range. More... | |
ASPOSECPP_SHARED_API int32_t | get_First () const |
Returns the position of the first character of the range represented by the current object. More... | |
ASPOSECPP_SHARED_API void | set_First (int32_t first) |
ASPOSECPP_SHARED_API int32_t | get_Length () const |
Returns the number of characters in the range represented by the current object. More... | |
ASPOSECPP_SHARED_API void | set_Length (int32_t length) |
ASPOSECPP_SHARED_API bool | operator== (const CharacterRange &cr) const |
ASPOSECPP_SHARED_API bool | operator!= (const CharacterRange &cr) const |
Represents a range of character positions in a string. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
ASPOSECPP_SHARED_API System::Drawing::CharacterRange::CharacterRange | ( | int32_t | first, |
int32_t | length | ||
) |
Constructs a new instance of CharacterRange class that represents the specified range.
first | The position in a string of the first characeter of the range represented by the current object |
length | The number of characters in the range |
ASPOSECPP_SHARED_API System::Drawing::CharacterRange::CharacterRange | ( | ) |
Constructs a new instance of CharacterRange class that represents an empty range.
ASPOSECPP_SHARED_API int32_t System::Drawing::CharacterRange::get_First | ( | ) | const |
Returns the position of the first character of the range represented by the current object.
ASPOSECPP_SHARED_API int32_t System::Drawing::CharacterRange::get_Length | ( | ) | const |
Returns the number of characters in the range represented by the current object.
ASPOSECPP_SHARED_API bool System::Drawing::CharacterRange::operator!= | ( | const CharacterRange & | cr | ) | const |
Determines if the current and specified objects represent distinct ranges.
cr | The CharacterRange object to compare the current object with |
cr
and the current objects represent distinct ranges, otherwise - false ASPOSECPP_SHARED_API bool System::Drawing::CharacterRange::operator== | ( | const CharacterRange & | cr | ) | const |
Determines if the current and specified objects represent the same range.
cr | The CharacterRange object to compare the current object with |
cr
and the current objects represent the same range, otherwise - false ASPOSECPP_SHARED_API void System::Drawing::CharacterRange::set_First | ( | int32_t | first | ) |
Sets the position of the first character of the range represented by the current object.
first | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::CharacterRange::set_Length | ( | int32_t | length | ) |
Returns the number of characters in the range represented by the current object.
length | The value to set |