VR-Forces 4.0.4 Class Documentation
include/vrfutil/realAttribute.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: realAttribute.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtRealAttribute_H_
00013 #define DtRealAttribute_H_
00014 
00019 
00020 #include <vlutil/vlString.h>
00021 
00022 #include "vrfutil/vrfutilDefines.h"
00023 class DT_DLL_vrfutil DtRealAttribute
00024 {
00025 
00026 public:
00027 
00028    DtRealAttribute();
00029 
00030    DtRealAttribute(const DtString& key, double data);
00031 
00032    virtual ~DtRealAttribute();
00033 
00034    DtRealAttribute(const DtRealAttribute& orig);
00035    
00036    DtRealAttribute& operator=(const DtRealAttribute& orig);
00037 
00038    bool operator==(const DtRealAttribute& rhs) const;
00039 
00040    const DtString& key() const;
00041    DtString& key();
00042    void setKey(const DtString& newKey);
00043 
00044    double data() const;
00045    void setData(double newData);
00046 
00047 protected:
00048    DtString myKey;
00049    double myData;
00050 };
00051 
00052 
00053 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)