InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IContentIteratorRegister.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Pellegrin
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #if !defined(__IContentIteratorRegister__)
25 #define __IContentIteratorRegister__
26 
27 // ----- Interfaces -----
28 
29 #include "IPMUnknown.h"
30 
31 class VersionID;
34 class IPMStream;
35 
36 
37 //----------------------------------------------------------------------------------------
38 // IContentIteratorRegister
39 //----------------------------------------------------------------------------------------
40 
48 {
49 public:
53  virtual uint32 GetClassIDCount() = 0;
54 
59  virtual void GetNthClassID(uint32 n, ClassID &id) = 0;
60 
64  virtual uint32 GetImplementationIDCount() = 0;
65 
70  virtual void GetNthImplementationID(uint32 n, ImplementationID &id) = 0;
71 
78  virtual IContentReadIterator *NewNthClassReadIterator(uint32 n, const VersionID &version, IPMStream *s) = 0;
79 
86  virtual IContentWriteIterator *NewNthClassWriteIterator(uint32 n, const VersionID &version, IPMStream *s) = 0;
87 
94  virtual IContentReadIterator *NewNthImplementationReadIterator(uint32 n, const VersionID &version, IPMStream *s) = 0;
95 
102  virtual IContentWriteIterator *NewNthImplementationWriteIterator(uint32 n, const VersionID &version, IPMStream *s) = 0;
103 };
104 
105 #endif // __IContentIteratorRegister__