System::SequencePosition class
Contents
[
Hide
]SequencePosition class
Represents the position of an element in a sequence. It wraps a reference to a segment object (usually held by a ReadOnlySequence) and an integer offset into that segment. 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.
class SequencePosition : public System::Details::BoxableObjectBase
Methods
| Method | Description |
|---|---|
| Equals(const SequencePosition&) const | Determines whether the current SequencePosition and the specified one represent the same position. |
| GetHashCode() const | Returns a hash code for the current SequencePosition. |
| GetInteger() const | Gets the integer offset that accompanies the referenced segment. |
| GetObject() const | Gets the segment reference this position points into. |
| SequencePosition() | Constructs a default SequencePosition that refers to no segment. |
| explicit SequencePosition(const SharedPtr<Object>&) | Constructs a SequencePosition that identifies the specified segment reference. |
| SequencePosition(const SharedPtr<Object>&, int32_t) | Constructs a SequencePosition that identifies the specified segment reference and an integer offset within that segment. |
See Also
- Namespace System
- Library Aspose.TeX for C++