BloombergLP::bdlt::TimetableTransition_Ref

Proxy reference used by timetable iterator arrow operators.

Synopsis

Declared in <bdlt_timetable.h>

class TimetableTransition_Ref
    : public TimetableTransition

Description

This private class is used by the arrow operator of the timetable iterator class. The objects instantiated from this class serve as references to TimetableTransition objects.

Base Classes

NameDescription
TimetableTransitionDatetime-indexed state transition with an associated code.

Enums

NameDescription
Unnamed enum Constants for timetable transition codes.

Member Functions

NameDescription
TimetableTransition_Ref [constructor]Constructors
operator= Assign the value of rhs to this object.
code Return the code of this transition.
datetime Return the datetime of this transition.
print Format this transition to the specified output stream.

Friends

NameDescription
BloombergLP::bdlt::Timetable_ConstIteratorProvide read-only, sequential access in increasing (chronological) order to the transitions in a Timetable object.

Non-Member Functions

NameDescription
operator!=Return true if lhs and rhs timetable transitions do not have the same value.
operator<Return true if timetable transition lhs is less than rhs.
operator<Return true if timetable transition lhs is less than datetime rhs.
operator==Return true if lhs and rhs timetable transitions have the same value.