VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
18 
19 #include <map>
20 
21 #include <vlutil/vlString.h>
22 
24 
25 
26 namespace vrvControlToolkit
27 {
36  {
37  public:
40 
43 
45  DtVdcAttributeValue& operator=( const DtVdcAttributeValue& rhs );
46 
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:
82  double myXValue;
83  double myYValue;
84  bool myDirty;
86  };
87 
88  typedef std::map<DtString, DtVdcAttributeValue*> DtVdcAttributeValueMap;
89 }
Definition: attributeValueUpdate.h:34
An instance of an attribute group (and corresponding attribute values)
Definition: DtAttributeValue.h:35
bool myDirty
Definition: DtAttributeValue.h:84
Contains the Dt2DGraphicalObjectStateRecord class declaration.
std::map< DtString, DtVdcAttributeValue * > DtVdcAttributeValueMap
Definition: DtAttributeValue.h:88
double myYValue
Definition: DtAttributeValue.h:83
DtString myTextValue
Definition: DtAttributeValue.h:81
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
double myXValue
Definition: DtAttributeValue.h:82
DtAttributeValueUpdate myAttributeValueUpdate
Definition: DtAttributeValue.h:85

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)