InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
UIDPairRef.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Paul Sorrick
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 __UIDPAIRREF__
25
#define __UIDPAIRREF__
26
27
#include "IPMUnknown.h"
28
29
class
IDataBase
;
30
33
class
UIDPairRef
34
{
35
public
:
39
UIDPairRef
(
IDataBase
*db,
UID
key,
UID
value) :
40
fDB(db), fKeyUID(key), fValueUID(value)
41
{}
45
UIDPairRef
(
const
UIDPairRef
& ref) :
46
fDB(ref.
GetDataBase
()),
47
fKeyUID(ref.
GetKeyUID
()),
48
fValueUID(ref.
GetValueUID
())
49
{}
53
IDataBase
*
GetDataBase
()
const
54
{
return
fDB; }
58
UID
GetKeyUID
()
const
59
{
return
fKeyUID; }
63
UID
GetValueUID
()
const
64
{
return
fValueUID; }
68
bool16
operator==
(
const
UIDPairRef
& other)
const
69
{
return
fKeyUID == other.fKeyUID && fValueUID == other.fValueUID && fDB == other.fDB; }
73
bool16
operator!=
(
const
UIDPairRef
& other)
const
74
{
return
((fKeyUID != other.fKeyUID) || (fValueUID != other.fValueUID) || (fDB != other.fDB)); }
75
private
:
76
IDataBase
*fDB;
77
UID
fKeyUID;
78
UID
fValueUID;
79
};
80
81
82
#endif // __UIDPAIRREF__
tmpdoxygeninput
UIDPairRef.h
Generated on Sat Jul 19 2025 02:54:24 for InDesign SDK by
1.8.3.1