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

Name

Description

TimetableTransition

Datetime‐indexed state transition with an associated code.

Enums

Name

Description

Unnamed enum

Constants for timetable transition codes.

Member Functions

Name

Description

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

Name

Description

BloombergLP::bdlt::Timetable_ConstIterator

Provide read‐only, sequential access in increasing (chronological) order to the transitions in a Timetable object.

Non-Member Functions

Name

Description

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.

Created with MrDocs