8#ifndef INCLUDED_BDLT_DAYOFWEEK
9#define INCLUDED_BDLT_DAYOFWEEK
100#include <bdlscm_version.h>
102#include <bsl_ostream.h>
135#ifndef BDE_OMIT_INTERNAL_DEPRECATED
152#ifndef BDE_OPENSOURCE_PUBLICATION
163#ifndef BDE_OPENSOURCE_PUBLICATION
180 template <
class STREAM>
194 template <
class STREAM>
225 static bsl::ostream&
print(bsl::ostream& stream,
228 int spacesPerLevel = 4);
248#ifndef BDE_OPENSOURCE_PUBLICATION
287template <
class STREAM>
300template <
class STREAM>
326template <
class STREAM>
335 stream.getInt8(newValue);
336 if (stream && e_SUN <= newValue && e_SAT >= newValue) {
351template <
class STREAM>
359 stream.putInt8(
static_cast<char>(value));
375#ifndef BDE_OPENSOURCE_PUBLICATION
396template <
class STREAM>
404template <
class STREAM>
419#ifndef BDE_OPENSOURCE_PUBLICATION
425template <
class STREAM>
438template <
class STREAM>
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlt_dayofweek.h:423
STREAM & streamIn(STREAM &stream, bdlt::DayOfWeek::Enum &variable, int version)
Definition bdlt_dayofweek.h:427
Definition bdlt_dayofweek.h:436
STREAM & streamOut(STREAM &stream, const bdlt::DayOfWeek::Enum &value, int version)
Definition bdlt_dayofweek.h:440
Definition bdlt_dayofweek.h:449
int maxSupportedVersion(bdlt::DayOfWeek::Enum)
Definition bdlt_dayofweek.h:452
Definition bbldc_basicisma30360.h:112
STREAM & bdexStreamOut(STREAM &stream, const DayOfWeek::Enum &value, int version)
int maxSupportedBdexVersion(const DayOfWeek::Enum *, int versionSelector)
STREAM & bdexStreamIn(STREAM &stream, DayOfWeek::Enum &variable, int version)
bsl::ostream & operator<<(bsl::ostream &stream, const Calendar &calendar)
Definition bdlt_dayofweek.h:119
Enum
Enumerated day-of-week values.
Definition bdlt_dayofweek.h:125
@ THURSDAY
Definition bdlt_dayofweek.h:147
@ e_MONDAY
Definition bdlt_dayofweek.h:128
@ e_SUN
Definition bdlt_dayofweek.h:127
@ e_FRI
Definition bdlt_dayofweek.h:132
@ SUN
Definition bdlt_dayofweek.h:136
@ BDET_THU
Definition bdlt_dayofweek.h:157
@ e_TUE
Definition bdlt_dayofweek.h:129
@ MON
Definition bdlt_dayofweek.h:137
@ BDET_SUN
Definition bdlt_dayofweek.h:153
@ BDET_MON
Definition bdlt_dayofweek.h:154
@ SAT
Definition bdlt_dayofweek.h:142
@ BDET_WED
Definition bdlt_dayofweek.h:156
@ TUESDAY
Definition bdlt_dayofweek.h:145
@ BDET_THURSDAY
Definition bdlt_dayofweek.h:157
@ BDET_TUE
Definition bdlt_dayofweek.h:155
@ TUE
Definition bdlt_dayofweek.h:138
@ e_FRIDAY
Definition bdlt_dayofweek.h:132
@ e_THURSDAY
Definition bdlt_dayofweek.h:131
@ e_WED
Definition bdlt_dayofweek.h:130
@ FRI
Definition bdlt_dayofweek.h:141
@ e_MON
Definition bdlt_dayofweek.h:128
@ BDET_SUNDAY
Definition bdlt_dayofweek.h:153
@ MONDAY
Definition bdlt_dayofweek.h:144
@ WEDNESDAY
Definition bdlt_dayofweek.h:146
@ SATURDAY
Definition bdlt_dayofweek.h:149
@ BDET_SATURDAY
Definition bdlt_dayofweek.h:159
@ e_WEDNESDAY
Definition bdlt_dayofweek.h:130
@ SUNDAY
Definition bdlt_dayofweek.h:143
@ e_SAT
Definition bdlt_dayofweek.h:133
@ e_THU
Definition bdlt_dayofweek.h:131
@ FRIDAY
Definition bdlt_dayofweek.h:148
@ BDET_FRI
Definition bdlt_dayofweek.h:158
@ e_SUNDAY
Definition bdlt_dayofweek.h:127
@ BDET_TUESDAY
Definition bdlt_dayofweek.h:155
@ WED
Definition bdlt_dayofweek.h:139
@ THU
Definition bdlt_dayofweek.h:140
@ BDET_FRIDAY
Definition bdlt_dayofweek.h:158
@ BDET_SAT
Definition bdlt_dayofweek.h:159
@ e_SATURDAY
Definition bdlt_dayofweek.h:133
@ e_TUESDAY
Definition bdlt_dayofweek.h:129
static int maxSupportedBdexVersion()
Definition bdlt_dayofweek.h:378
static STREAM & bdexStreamIn(STREAM &stream, DayOfWeek::Enum &variable, int version)
Definition bdlt_dayofweek.h:327
static const char * toAscii(Enum dayOfWeek)
static bsl::ostream & print(bsl::ostream &stream, DayOfWeek::Enum value, int level=0, int spacesPerLevel=4)
static STREAM & bdexStreamOut(STREAM &stream, DayOfWeek::Enum value, int version)
Definition bdlt_dayofweek.h:352
Enum Day
Definition bdlt_dayofweek.h:164