4#include <system/object.h>
5#include <system/object_ext.h>
6#include <system/shared_ptr.h>
40 ASPOSECPP_SHARED_API int32_t
GetInteger() const noexcept;
57 return position1.Equals(position2);
66 return !(position1 == position2);
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Represents the position of an element in a sequence. It wraps a reference to a segment object (usuall...
Definition: sequence_position.h:17
int32_t GetInteger() const noexcept
Gets the integer offset that accompanies the referenced segment.
bool Equals(const SequencePosition &other) const
Determines whether the current SequencePosition and the specified one represent the same position.
const SharedPtr< Object > & GetObject() const noexcept
Gets the segment reference this position points into.
int32_t GetHashCode() const
Returns a hash code for the current SequencePosition.
friend bool operator!=(const SequencePosition &position1, const SequencePosition &position2) noexcept
Determines whether the current SequencePosition and the specified one represent different positions.
Definition: sequence_position.h:64
SequencePosition() noexcept
Constructs a default SequencePosition that refers to no segment.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9