InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IIntList Class Referenceabstract

#include <IIntList.h>

Inheritance diagram for IIntList:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINTLIST }
 

Public Member Functions

virtual void Append (int32 k)=0
 
virtual int32 Get (int32 n)=0
 
virtual int32 Length ()=0
 
virtual void Clear ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

This class is used to store a list of int32 objects

Member Function Documentation

virtual void IIntList::Append (int32 k)
pure virtual

Use to add a new integer

Parameters
k- the new int to be added
virtual void IIntList::Clear ()
pure virtual

remove all the entries in the array

virtual int32 IIntList::Get (int32 n)
pure virtual

Get the nth integer

Parameters
n- the integer you want (must be less than Length - 1)
Returns
- the integer you requested. (if you request a value that is out of range behavior is undefined)
virtual int32 IIntList::Length ()
pure virtual

Get the number of integers currently stored

Returns
- The number of integers