VR-Forces 4.0.4 Class Documentation
include/vrfutil/globalObjectDesignatorKey.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: globalObjectDesignatorKey.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 #ifndef DTGLOBALOBJECTDESIGNATORKEY
00009 #define DTGLOBALOBJECTDESIGNATORKEY
00010 
00013 
00014 #include "vrfutil/vrfutilDefines.h"
00015 
00016 #include <vlpi/entityIdentifier.h>
00017 
00021 class DT_DLL_vrfutil DtGlobalObjectDesignatorKey
00022 {
00023 private:
00024    DtGlobalObjectDesignatorKey();
00025 
00026 public:
00027    DtGlobalObjectDesignatorKey(const DtString& sStrId);
00028    DtGlobalObjectDesignatorKey(const DtEntityIdentifier& entId);
00029 
00030    DtGlobalObjectDesignatorKey(const DtGlobalObjectDesignatorKey& orig);
00031 
00032    const DtGlobalObjectDesignatorKey& operator=(const DtGlobalObjectDesignatorKey& orig);
00033 
00034    bool operator<(const DtGlobalObjectDesignatorKey& key) const;
00035 
00036    virtual void setId(const DtString& sStrId, bool setAsStringId=true);
00037    virtual void setId(const DtEntityIdentifier& entId, bool setAsEntId=true);
00038 
00039    const DtString& stringId() const;
00040 
00041    const DtEntityIdentifier& entityId();
00042 
00043 protected:
00044    bool myIsEntId;
00045    DtString myStringId;
00046    DtEntityIdentifier myEntityId;
00047 };
00048 #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)