FormatEntry Class Reference

#include <filtrmgr.h>

List of all members.

Public Member Functions

 FormatEntry (const FileFormatID ID, FileFormat *const pFormat, const FilterManager::DESTRUCTION_METHOD DestructMethod)
 Provides an entry for the FilterManager's database of FileFormats.
 ~FormatEntry ()
 Default constructor deleting associated FilterEntry items.
FileFormatGetFormat () const
FileFormatID GetID () const
FilterListGetFilters ()
FilterManager::DESTRUCTION_METHOD GetDestructionMethod () const

Protected Attributes

FileFormatm_pFormat
FileFormatID m_FormatID
FilterList m_AssociatedFilters
FilterManager::DESTRUCTION_METHOD m_DestructMethod


Detailed Description

Definition at line 259 of file filtrmgr.h.


Constructor & Destructor Documentation

FormatEntry::FormatEntry const FileFormatID  ID,
FileFormat *const   pFormat,
const FilterManager::DESTRUCTION_METHOD  DestructMethod
 

Provides an entry for the FilterManager's database of FileFormats.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
10/12/96
Parameters:
ID,: The FileFormat's ID [INPUTS] pFormat: A pointer to the FileFormat DestructMethod: Whether or not the FileFormat should be deleted when this FormatEntry is.

Definition at line 605 of file filtrmgr.cpp.

00607 {
00608     m_pFormat           = pFormat;
00609     m_FormatID          = ID;
00610     m_DestructMethod    = DestructMethod;
00611 }

FormatEntry::~FormatEntry  ) 
 

Default constructor deleting associated FilterEntry items.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
10/12/96

Definition at line 624 of file filtrmgr.cpp.

00625 {
00626     GetFilters().DeleteAll();
00627 }


Member Function Documentation

FilterManager::DESTRUCTION_METHOD FormatEntry::GetDestructionMethod  )  const [inline]
 

Definition at line 273 of file filtrmgr.h.

00274                                                         { return m_DestructMethod;  }

FilterList& FormatEntry::GetFilters  )  [inline]
 

Definition at line 271 of file filtrmgr.h.

00271 { return m_AssociatedFilters;   }

FileFormat* FormatEntry::GetFormat  )  const [inline]
 

Definition at line 269 of file filtrmgr.h.

00269 { return m_pFormat; }

FileFormatID FormatEntry::GetID  )  const [inline]
 

Definition at line 270 of file filtrmgr.h.

00270 { return m_FormatID;    }


Member Data Documentation

FilterList FormatEntry::m_AssociatedFilters [protected]
 

Definition at line 280 of file filtrmgr.h.

FilterManager::DESTRUCTION_METHOD FormatEntry::m_DestructMethod [protected]
 

Definition at line 283 of file filtrmgr.h.

FileFormatID FormatEntry::m_FormatID [protected]
 

Definition at line 279 of file filtrmgr.h.

FileFormat* FormatEntry::m_pFormat [protected]
 

Definition at line 278 of file filtrmgr.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:32 2007 for Camelot by  doxygen 1.4.4