BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlt::TimetableTransition_Ref Class Reference

#include <bdlt_timetable.h>

Inheritance diagram for bdlt::TimetableTransition_Ref:
bdlt::TimetableTransition

Public Member Functions

 TimetableTransition_Ref (const TimetableTransition &transition)
 
 TimetableTransition_Ref (const TimetableTransition_Ref &original)
 
 ~TimetableTransition_Ref ()=default
 
TimetableTransition_Refoperator= (const TimetableTransition &rhs)
 
- Public Member Functions inherited from bdlt::TimetableTransition
 TimetableTransition (const TimetableTransition &original)
 
 ~TimetableTransition ()=default
 Destroy this object.
 
TimetableTransitionoperator= (const TimetableTransition &rhs)
 
const Datetimedatetime () const
 Return the datetime of this transition.
 
int code () const
 Return the code of this transition.
 
bsl::ostream & print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
 

Friends

class Timetable_ConstIterator
 

Additional Inherited Members

- Public Types inherited from bdlt::TimetableTransition
enum  { k_UNSET_TRANSITION_CODE = -1 }
 

Detailed 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.

See bdlt_timetable

Constructor & Destructor Documentation

◆ TimetableTransition_Ref() [1/2]

bdlt::TimetableTransition_Ref::TimetableTransition_Ref ( const TimetableTransition transition)
inlineexplicit

Create a timetable transition reference object using the specified transition.

◆ TimetableTransition_Ref() [2/2]

bdlt::TimetableTransition_Ref::TimetableTransition_Ref ( const TimetableTransition_Ref original)
inline

Create a timetable transition reference object having the value of the specified original object.

◆ ~TimetableTransition_Ref()

bdlt::TimetableTransition_Ref::~TimetableTransition_Ref ( )
default

Member Function Documentation

◆ operator=()

TimetableTransition_Ref & bdlt::TimetableTransition_Ref::operator= ( const TimetableTransition rhs)
inline

Assign to this object the value of the specified rhs timetable transition, and return a reference providing modifiable access to this TimetableTransition_Ref.

Friends And Related Symbol Documentation

◆ Timetable_ConstIterator

friend class Timetable_ConstIterator
friend

The documentation for this class was generated from the following file: