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