InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPMRealListData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Abhay Sibal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2017 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 #ifndef _IPMRealListData_h_
29 #define _IPMRealListData_h_
30 //________________________________________________________________________________________
31 // INCLUDES
32 //________________________________________________________________________________________
33  #include "IPMUnknown.h"
34  #include "CommandID.h"
35 //========================================================================================
36 //________________________________________________________________________________________
37 // CLASS DECLARATION
38 //________________________________________________________________________________________
43  {
44  //____________________________________________________________________________________
45  // Data Types
46  //____________________________________________________________________________________
47  public:
48 
49  enum { kDefaultIID = IID_IPMREALLISTDATA };
50 
54  {
55  kBeginning = 0,
56  kEnd = -2,
57  };
58 
59  //____________________________________________________________________________________
60  // Member functions
61  //____________________________________________________________________________________
62  public:
67  virtual void AddRealNumber (const PMReal& newPMReal, int32 at = kEnd) = 0;
71  virtual void RemoveRealNumber (int32 index) = 0;
74  virtual void Clear (void) = 0;
79  virtual PMReal GetRealNumber (int32 index) const = 0;
84  virtual void SetRealNumber (int32 index, const PMReal& replacePMReal) = 0;
85 
90  virtual int32 GetIndex (const PMReal& PMReal) const = 0;
93  virtual int32 Length (void) const = 0;
94  };
95 
96 #endif // _IPMRealListData_h_