# Class Hierarchy

The core of libmimedir consists of two classes: MIMEDirAttribute and MIMEDirProfile. Each profile represents a collection of attributes that together form a directory entry.

The classes MIMEDirVCard and MIMEDirVCal are built on top of MIMEDirProfile. These classes use MIMEDirProfile to parse an supplied file and interpret its contents as either a vCard or an iCalendar file. They can also write these file types.