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