InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IUIDRefListData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ryan Gano
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 #ifndef __IUIDRefListData__
25 #define __IUIDRefListData__
26 
27 #include "IPMUnknown.h"
28 #include "UIDRef.h"
29 #include "UIDList.h"
30 #include "CommandID.h"
31 #include "K2Iterator.h"
32 #include "K2Vector.h"
33 
43 {
44 public:
45  enum { kDefaultIID = IID_IUIDREFLISTDATA };
46 
51  virtual UIDRef at(int32 index) const = 0;
52 
56  virtual const K2Vector<UIDRef> *GetList() const = 0;
57 
60  virtual void clear() = 0;
61 
66  virtual void insert(K2Vector<UIDRef>::iterator pos, UIDRef newItem) = 0;
67 
71  virtual void insert(const UIDList& itemList) = 0;
72 
73 
77  virtual void push_back(UIDRef newItem) = 0;
78 
82  virtual int32 size() const = 0;
83 
87  virtual void Remove(int32 pos) = 0;
88 
93  virtual int32 Location(UIDRef which) = 0;
94 
98  virtual K2Vector<UIDRef>::iterator begin() = 0;
99 
103  virtual K2Vector<UIDRef>::const_iterator begin() const = 0;
104 
108  virtual K2Vector<UIDRef>::iterator end() = 0;
109 
113  virtual K2Vector<UIDRef>::const_iterator end() const = 0;
114 
120 
125 
126  virtual void CopyFrom(const IUIDRefListData* iUIDRefListData) = 0;
127 };
128 
129 #endif // __IUIDRefListData__