VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvDrawControl
DtAttributeValue.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAttributeValue.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
#pragma once
9
16
17
#include <
vrvDrawControl/vrvDrawControl.h
>
18
19
#include <map>
20
21
#include <vlutil/vlString.h>
22
23
#include <
vrfExtObjects/attributeValueUpdate.h
>
24
25
26
namespace
vrvControlToolkit
27
{
35
class
DT_DLL_VRVDRAWCONTROL
DtVdcAttributeValue
36
{
37
public
:
39
DtVdcAttributeValue
();
40
42
~
DtVdcAttributeValue
();
43
45
DtVdcAttributeValue
& operator=(
const
DtVdcAttributeValue
& rhs );
46
48
DtVdcAttributeValue
(
const
DtVdcAttributeValue
& orig );
49
52
const
DtString& textValue()
const
;
53
void
setTextValue(
const
DtString& textValue );
55
59
double
xValue()
const
;
60
void
setXValue(
double
x );
61
64
double
yValue()
const
;
65
void
setYValue(
double
y );
67
72
bool
dirty()
const
;
73
void
setDirty(
bool
dirty ) ;
75
77
DtAttributeValueUpdate
& attributeValueUpdate();
78
const
DtAttributeValueUpdate
& attributeValueUpdate()
const
;
79
80
protected
:
81
DtString
myTextValue
;
82
double
myXValue
;
83
double
myYValue
;
84
bool
myDirty
;
85
DtAttributeValueUpdate
myAttributeValueUpdate
;
86
};
87
88
typedef
std::map<DtString, DtVdcAttributeValue*>
DtVdcAttributeValueMap
;
89
}
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)