VR-Forces 4.6 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 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)