InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
CellParcelIterator.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Danielle Bessette
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 __CellParcelIterator__
25
#define __CellParcelIterator__
26
27
#include <iterator>
28
#include <functional>
29
#include "TableTypes.h"
30
#include "K2Iterator.h"
31
#include "ITableLayout.h"
32
33
template
<
class
Structure>
34
class
CellParcelIterator
35
{
36
public
:
37
typedef
CellParcelAddr
value_type
;
38
typedef
std::ptrdiff_t difference_type;
39
typedef
const
CellParcelAddr
*
pointer
;
40
typedef
const
CellParcelAddr
&
reference
;
41
42
typedef
std::bidirectional_iterator_tag iterator_category;
43
44
CellParcelIterator
(
const
Structure* structure,
45
bool16 begin);
46
CellParcelIterator
(
const
CellParcelIterator
& rhs);
47
~
CellParcelIterator
();
48
49
const
CellParcelAddr
& operator * ()
const
;
50
const
CellParcelAddr
* operator -> ()
const
;
51
52
CellParcelIterator
& operator ++ ();
53
CellParcelIterator
operator ++ (
int
);
54
CellParcelIterator
& operator= (
const
CellParcelIterator
& rhs);
55
56
CellParcelIterator
& operator -- ();
57
CellParcelIterator
operator -- (
int
);
58
59
bool16 operator ==(
const
CellParcelIterator
& rhs)
const
;
60
bool16 operator != (
const
CellParcelIterator
& rhs)
const
;
61
62
private
:
63
void
SetupCurrent();
64
65
ITableLayout::row_iterator
fBeginRowIter;
66
ITableLayout::row_iterator
fEndRowIter;
67
ITableLayout::row_iterator
fRowIter;
68
int32 fParcelColIndex;
69
CellParcelAddr
fCurrent;
70
71
#ifdef DEBUG
72
const
Structure* fTableFrame;
// no reference held
73
#endif
74
};
75
76
#endif //__CellParcelIterator__
tmpdoxygeninput
CellParcelIterator.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1