CDRVectorStore Class Reference

A storage object for vectors from a CDR file import. More...

#include <cdrfiltr.h>

Inheritance diagram for CDRVectorStore:

List CCObject SimpleCCObject List of all members.

Public Member Functions

NodeFind (DWORD Reference, DocRect *BBox)
 find a vector from the vectors list
CDRVectorStoredItemFind (DWORD Reference)
 find a vector from the vectors list

Private Member Functions

 CC_DECLARE_MEMDUMP (CDRVectorStore)

Friends

class CDRFilter

Detailed Description

A storage object for vectors from a CDR file import.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/04/95

Definition at line 321 of file cdrfiltr.h.


Member Function Documentation

CDRVectorStore::CC_DECLARE_MEMDUMP CDRVectorStore   )  [private]
 

CDRVectorStoredItem * CDRVectorStore::Find DWORD  Reference  ) 
 

find a vector from the vectors list

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/04/95
Parameters:
reference to find, bounding box of found stuff [INPUTS]
Returns:
pointer to a node list, or zero for not found
See also:
Filter

Definition at line 1682 of file cdrfill.cpp.

01683 {
01684     CDRVectorStoredItem *Item = (CDRVectorStoredItem *)GetHead();
01685     
01686     // go through the list of items searching for the reference number given
01687     while(Item != 0)
01688     {
01689         if(Item->Reference == Reference)
01690         {
01691             // OK, we found it...
01692             return Item;
01693         }
01694 
01695         Item = (CDRVectorStoredItem *)GetNext(Item);
01696     }
01697 
01698     return 0;
01699 }

Node * CDRVectorStore::Find DWORD  Reference,
DocRect BBox
 

find a vector from the vectors list

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/04/95
Parameters:
reference to find, bounding box of found stuff [INPUTS]
Returns:
pointer to a node list, or zero for not found
See also:
Filter

Definition at line 1646 of file cdrfill.cpp.

01647 {
01648     CDRVectorStoredItem *Item = (CDRVectorStoredItem *)GetHead();
01649     
01650     // go through the list of items searching for the reference number given
01651     while(Item != 0)
01652     {
01653         if(Item->Reference == Reference)
01654         {
01655             // OK, we found it...
01656             if(BBox != 0)
01657                 *BBox = Item->BBox;
01658             
01659             return Item->Objects;
01660         }
01661 
01662         Item = (CDRVectorStoredItem *)GetNext(Item);
01663     }
01664 
01665     return 0;
01666 }


Friends And Related Function Documentation

friend class CDRFilter [friend]
 

Definition at line 323 of file cdrfiltr.h.


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