VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/objParamDB.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: objParamDB.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef DtVrfObjectParametersDB_H_
00015 #define DtVrfObjectParametersDB_H_
00016 
00017 #include "vrfutil/rdrWritr.h"
00018 #include <vrfExtProtocol/objType.h>
00019 
00020 class DtVrfObjectParametersDB;
00021 class DtVrfObjectParameters;
00022 class DtVrfObjectParametersList;
00023 
00026 #include "vrfobjparam/vrfobjparamDefines.h"
00027 class DT_DLL_vrfobjparam DtVrfObjectParametersDB : public DtReaderWriter
00028 {
00029 
00030 protected:
00032    DtVrfObjectParametersDB();
00033 
00034 public:
00036    DtVrfObjectParametersDB(const DtString & writeName, 
00037       DtReaderWriterRegistry * const parentRegistry = 0);
00038 
00039 protected:
00041    DtVrfObjectParametersDB(const DtVrfObjectParametersDB & orig);
00042 
00044    const DtVrfObjectParametersDB & operator=(
00045       const DtVrfObjectParametersDB & orig);
00046 
00047 public:
00048 
00049    virtual ~DtVrfObjectParametersDB();
00050 
00051    virtual bool init();
00052 
00055    virtual bool createParametersList();
00056 
00057    virtual void addParameters(DtVrfObjectParameters * parameters);
00058 
00061    virtual DtVrfObjectParameters * lookupParameters(
00062       const DtObjectType & objectType, 
00063       DtObjectType * matchingType) const;
00064 
00066    virtual void removeParameters(const DtObjectType & objectType);
00067 
00068    virtual bool readParameterFile(const DtString & filename);
00069 
00070    virtual bool writeParameterFile(const DtString & filename);
00071 
00073    virtual void removeAndDeleteAll();
00074 
00075 protected:
00076 
00077    DtVrfObjectParametersList * myParametersList;
00078 };
00079 
00080 #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)