VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtSchemaManagerSchemaRenamed.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2009 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtSchemaManagerSettingsChanges.h,v $ $Revision: 1.16 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00018  
00019 #pragma once
00020 #include <vrvCore/vrvCore.h> 
00021 #include <vrvCore/DtSettingsChangeManager.h> 
00022 
00023 namespace makVrv 
00024 { 
00025    class DtDe;
00026 
00031    class DT_DLL_VRVCORE DtSchemaManagerSchemaRenamed
00032       : public DtSettingsChangeObject
00033    {
00034    public:
00035       DtSchemaManagerSchemaRenamed(DtDe& de);
00036 
00037       virtual ~DtSchemaManagerSchemaRenamed();
00038 
00045       virtual void schemaRenamed(const std::string& oldName,
00046          const std::string& newName);
00047 
00048 
00049    protected:
00052       virtual bool checkModelDefinitions(const std::string& oldName,
00053          const std::string& newName);
00054 
00055 
00056    protected:
00057       DtDe&       myDe;
00058    };
00059 
00064    class DT_DLL_VRVCORE DtSchemaManagerSchemaParameterRenamed
00065       : public DtSettingsChangeObject
00066    {
00067    public:
00068       DtSchemaManagerSchemaParameterRenamed(DtDe& de);
00069 
00070       virtual ~DtSchemaManagerSchemaParameterRenamed();
00071 
00079       virtual void schemaParameterRenamed(const std::string& schema, 
00080          const std::string& oldName, const std::string& newName);
00081 
00082    protected:
00085       virtual bool updateModelDefinitionSchemas(const std::string& schema, 
00086          const std::string& oldName, const std::string& newName);
00087 
00088 
00089    protected:
00090       DtDe&       myDe;
00091    };
00092 } 

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)