Barry::Calendar Class Reference
[RecordParserClasses]

List of all members.

Detailed Description

Definition at line 45 of file r_calendar.h.

Public Types

enum  FreeBusyFlagType
 Free Busy Flag. More...
enum  ClassFlagType
 Class Flag. More...
enum  RecurringCodeType
 Recurring data. More...
typedef std::vector< UnknownFieldUnknownsType

Public Member Functions

const unsigned char * ParseField (const unsigned char *begin, const unsigned char *end)
void ParseRecurrenceData (const void *data)
void BuildRecurrenceData (void *data) const
 Calendar ()
 ~Calendar ()
uint8_t GetRecType () const
uint32_t GetUniqueId () const
void SetIds (uint8_t Type, uint32_t Id)
void ParseHeader (const Data &data, size_t &offset)
void ParseFields (const Data &data, size_t &offset)
void BuildHeader (Data &data, size_t &offset) const
void BuildFields (Data &data, size_t &offset) const
 Build fields part of record.
void Clear ()
void Dump (std::ostream &os) const
bool operator< (const Calendar &other) const

Static Public Member Functions

static const char * GetDBName ()
static uint8_t GetDefaultRecType ()

Public Attributes

uint8_t RecType
uint32_t RecordId
bool AllDayEvent
std::string Subject
std::string Notes
std::string Location
time_t NotificationTime
time_t StartTime
time_t EndTime
FreeBusyFlagType FreeBusyFlag
ClassFlagType ClassFlag
bool Recurring
RecurringCodeType RecurringType
unsigned short Interval
time_t RecurringEndTime
bool Perpetual
unsigned short TimeZoneCode
bool TimeZoneValid
unsigned short DayOfWeek
unsigned short WeekOfMonth
unsigned short DayOfMonth
unsigned short MonthOfYear
unsigned char WeekDays
UnknownsType Unknowns


Member Enumeration Documentation

enum Barry::Calendar::FreeBusyFlagType

Free Busy Flag.

This lists the available settings found in the device. This list is based on information from MS Outlook 2007 (Free ==0 and Busy == 2) This is FBTYPE in RFC2445 and is defined as FREE, BUSY, BUSY-UNAVAILABLE and BUSY-TENTATIVE

Definition at line 71 of file r_calendar.h.

enum Barry::Calendar::ClassFlagType

Class Flag.

This is also called classification in Evolution and it is the equivilant of public or private in outlook Private is set to 0x2 in Outlook RFC2445 CLASS is PUBLIC, PRIVATE, CONFIDENTIAL

Definition at line 87 of file r_calendar.h.

enum Barry::Calendar::RecurringCodeType

Recurring data.

Note: interval can be used on all of these recurring types to make it happen "every other time" or more, etc.

Definition at line 101 of file r_calendar.h.


Member Function Documentation

void Barry::Calendar::BuildFields ( Data data,
size_t &  offset 
) const

Build fields part of record.

Definition at line 338 of file r_calendar.cc.

References AllDayEvent, Barry::BuildField(), Barry::BuildField1900(), Barry::CalendarFieldLinks, CALFC_ALLDAYEVENT_FLAG, CALFC_APPT_TYPE_FLAG, CALFC_END, Recurring, and Barry::Data::Zap().


The documentation for this class was generated from the following files:
Generated on Wed Sep 24 21:27:33 2008 for Barry by  doxygen 1.5.1