VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
23 #include <vrfExtObjects/attributeValueUpdate.h>
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;
85  DtAttributeValueUpdate myAttributeValueUpdate;
86  };
87 
88  typedef std::map<DtString, DtVdcAttributeValue*> DtVdcAttributeValueMap;
89 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)