VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/DtMenuEntry.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2000 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: DtMenuEntry.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00011 
00014 
00015 #pragma once
00016 
00017 #include <vrfGuiCore/vrfGuiCore.h>
00018 
00019 #include <vrfutil/rdrWritr.h>
00020 #include <vrfutil/rwString.h>
00021 
00022 namespace makVrf
00023 {
00024    class DT_DLL_VRFGUICORE DtMenuEntry : public DtReaderWriter
00025    {
00026 
00027    public:
00028 
00030       DtMenuEntry
00031       (
00032          const DtString& name,
00033          DtReaderWriterRegistry* const parentRegistry = NULL
00034       );
00035       
00037       virtual ~DtMenuEntry();
00038 
00040       DtMenuEntry(const DtMenuEntry& orig);
00041 
00043       DtMenuEntry& operator=(const DtMenuEntry& orig);
00044 
00045       virtual DtString label() const;
00046       void setLabel(const DtString&);
00047 
00048       virtual bool operator==(const DtMenuEntry&) const;
00049       virtual bool operator!=(const DtMenuEntry&) const;
00050 
00051       virtual DtMenuEntry* clone() const;
00052 
00053    protected:
00054 
00055       DtRwString myLabel;
00056 
00057    };
00058 
00059    inline void DtMenuEntry::setLabel(const DtString& label)
00060    {
00061       myLabel = label;
00062    }
00063 }

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)