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

#include <bdlt_packedcalendar.h>

Public Member Functions

 PackedCalendar_DateProxy (const Date &date)
 Create a proxy object for the specified date.
 
 ~PackedCalendar_DateProxy ()
 Destroy this object.
 
 PackedCalendar_DateProxy (const PackedCalendar_DateProxy &original)
 
const Dateoperator-> () const
 

Detailed Description

This class serves as a proxy for Date for use by the arrow operator of calendar iterators (e.g., PackedCalendar_HolidayConstIterator). An object of this class behaves as the Date object with which it was constructed.

See bdlt_packedcalendar

Constructor & Destructor Documentation

◆ PackedCalendar_DateProxy() [1/2]

bdlt::PackedCalendar_DateProxy::PackedCalendar_DateProxy ( const Date date)
inline

◆ ~PackedCalendar_DateProxy()

bdlt::PackedCalendar_DateProxy::~PackedCalendar_DateProxy ( )
inline

◆ PackedCalendar_DateProxy() [2/2]

bdlt::PackedCalendar_DateProxy::PackedCalendar_DateProxy ( const PackedCalendar_DateProxy original)
inline

Create a proxy object referencing the same Date value as the specified original proxy.

Member Function Documentation

◆ operator->()

const Date * bdlt::PackedCalendar_DateProxy::operator-> ( ) const
inline

Return the address providing non-modifiable access to the proxied date object.


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