InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ICdlChartData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
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 __ICdlChartData_h__
25
#define __ICdlChartData_h__
26
27
// Interface includes:
28
#include "IPMUnknown.h"
29
30
// General includes:
31
#include "K2Vector.tpp"
32
33
// Project includes:
34
#include "CdlChartID.h"
35
39
class
CdlStockData
40
{
41
public
:
45
typedef
object_type
data_type
;
46
48
double
open
;
50
double
high
;
52
double
low
;
54
double
close
;
56
double
volume
;
57
59
inline
bool16
operator==
(
const
CdlStockData
& inData)
const
;
60
};
61
64
typedef
K2Vector<CdlStockData>
CdlStockChartData
;
65
66
67
/* operator ==
68
*/
69
inline
bool16
CdlStockData::operator==
(
const
CdlStockData
& inData)
const
70
{
71
return
(
open
== inData.
open
&&
72
high
== inData.
high
&&
73
low
== inData.
low
&&
74
close
== inData.
close
&&
75
volume
== inData.
volume
);
76
}
77
78
82
class
ICdlChartData
:
public
IPMUnknown
83
{
84
public
:
85
enum
{ kDefaultIID = IID_ICDLCHARTDATA };
86
90
virtual
void
Set
(
const
CdlStockChartData
& inStockData) = 0;
91
95
virtual
CdlStockChartData
Get
()
const
= 0;
96
100
virtual
void
SetName
(
const
WideString
& inName) = 0;
101
105
virtual
void
GetName
(
WideString
& outName)
const
= 0;
106
};
107
108
#endif // __ICdlChartData_h__
109
110
tmpdoxygeninput
ICdlChartData.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1