VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/vrfParamDbEntry.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vrfParamDbEntry.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef DtVrfParameterDbEntry_H_
00015 #define DtVrfParameterDbEntry_H_
00016 
00017 #include <vrfExtProtocol/objType.h>
00018 
00019 class DtVrfObjectParameters;
00020 
00021 #include "vrfobjparam/vrfobjparamDefines.h"
00022 class DT_DLL_vrfobjparam DtVrfParameterDbEntry
00023 {
00024 public:
00025 
00027    DtVrfParameterDbEntry();
00028 
00030    virtual ~DtVrfParameterDbEntry();
00031 
00032    virtual void setObjectType(const DtObjectType& objectType);
00033    virtual const DtObjectType&  objectType();
00034 
00035    virtual void setParameters(DtVrfObjectParameters* parameters);
00036    virtual DtVrfObjectParameters * parameters();
00037 
00040    virtual DtVrfObjectParameters* load();
00041 
00044    virtual DtString uniqueIdentifier() const;
00045 
00048    void setTemporary(bool);
00049    bool temporary() const;
00050 
00051 protected:
00052 
00054    DtVrfParameterDbEntry(const DtVrfParameterDbEntry& orig);
00055 
00057    DtVrfParameterDbEntry& operator=(const DtVrfParameterDbEntry& orig);
00058 
00059 protected:
00060 
00061    DtObjectType myObjectType;
00062    DtVrfObjectParameters * myParameters;
00063    bool myTemporary;
00064 };
00065 
00066 inline void DtVrfParameterDbEntry::setTemporary(bool b)
00067 {
00068    myTemporary = b;
00069 }
00070 
00071 inline bool DtVrfParameterDbEntry::temporary() const
00072 {
00073    return myTemporary;
00074 }
00075 
00076 #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)