[#BloombergLP-bdlt-Timetable_ConstIterator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::Timetable&lowbar;ConstIterator
:relfileprefix: ../../
:mrdocs:

Provide read&hyphen;only, sequential access in increasing (chronological) order to the transitions in a `Timetable` object&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timetable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Timetable&lowbar;ConstIterator;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Timetable_ConstIterator/pointer.adoc[`pointer`] 
| 
| xref:BloombergLP/bdlt/Timetable_ConstIterator/reference.adoc[`reference`] 
| The star operator returns a `TimetableTransition` _by_ _value_&period;
| xref:BloombergLP/bdlt/Timetable_ConstIterator/value_type.adoc[`value&lowbar;type`] 
| 
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Timetable_ConstIterator/2constructor-09.adoc[`Timetable&lowbar;ConstIterator`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlt/Timetable_ConstIterator/operator_assign.adoc[`operator&equals;`] 
| Assign to this iterator the value of the specified `rhs` iterator, and return a reference providing modifiable access to this object&period;
| xref:BloombergLP/bdlt/Timetable_ConstIterator/operator_star.adoc[`operator&ast;`] 
| Return, _by_ _value_, a `TimetableTransition` object representing the transition referenced by this iterator&period; The behavior is undefined unless this iterator references a valid transition in the associated timetable&period;
| xref:BloombergLP/bdlt/Timetable_ConstIterator/operator_inc.adoc[`operator&plus;&plus;`] 
| Advance this iterator to refer to the next transition in the associated timetable, and return a reference providing modifiable access to this object&period; The behavior is undefined unless, on entry, this iterator references a valid transition&period;
| xref:BloombergLP/bdlt/Timetable_ConstIterator/operator_dec.adoc[`operator&hyphen;&hyphen;`] 
| Regress this iterator to refer to the previous transition in the associated timetable, and return a reference providing modifiable access to this object&period; The behavior is undefined unless, on entry, this iterator references a valid transition that is not the first transition of the associated timetable&period;
| xref:BloombergLP/bdlt/Timetable_ConstIterator/operator_ptr.adoc[`operator&hyphen;&gt;`] 
| Return a proxy to the transition referenced by this iterator&period; The behavior is undefined unless this iterator references a valid transition in the associated timetable&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdlt/operator_not_eq-00.adoc[BloombergLP::bdlt::operator!&equals;]`
| Return `true` if the specified `lhs` and `rhs` iterators do not have the same value, and `false` otherwise&period; Two `Timetable&lowbar;ConstIterator` iterators do not have the same value if they do not refer to the same timetable, or do not refer to the same transition&period;
| `xref:BloombergLP/bdlt/operator_eq-09d.adoc[BloombergLP::bdlt::operator&equals;&equals;]`
| Return `true` if the specified `lhs` and `rhs` iterators have the same value, and `false` otherwise&period; Two `Timetable&lowbar;ConstIterator` iterators have the same value if they refer to the same timetable and the same transition&period;
| `xref:BloombergLP/bdlt/Timetable.adoc[BloombergLP::bdlt::Timetable]`
| This class implements a value&hyphen;semantic repository of datetime&hyphen;indexed state transitions over a _valid_ _range_ of dates&period; This valid range, `&lsqb;firstDate() &period;&period; lastDate()&rsqb;`, spans the first and last dates of a timetable&apos;s accessible contents&period; A timetable can be &quot;populated&quot; with state transitions via a suite of &quot;add&quot; methods&period; Note that the behavior of requesting _any_ timetable information for a supplied date whose value is outside the current _valid_ _range_ for that timetable is undefined&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/operator_inc-0b.adoc[`operator&plus;&plus;`]
| Advance the specified `iterator` to refer to the next transition in the referenced timetable, and return an iterator referring to the original element (_before_ the advancement)&period; The behavior is undefined unless, on entry, `iterator` references a valid transition&period;
| xref:BloombergLP/bdlt/operator_dec-0b.adoc[`operator&hyphen;&hyphen;`]
| Regress the specified `iterator` to refer to the previous transition in the referenced timetable, and return an iterator referring to the original element (_before_ the decrementation)&period; The behavior is undefined unless, on entry, `iterator` references a valid transition that is not the first transition of the associated timetable&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
