VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtModelDefinitionManagerDefinitionRenamed.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2010 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtModelDefinitionManagerSettingsChanges.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    class DtElementDefinitionManager;
00027    class DtUnicode;
00028 
00033    class DT_DLL_VRVCORE DtModelDefinitionManagerDefinitionRenamed 
00034       : public DtSettingsChangeObject
00035    {
00036    public:
00037 
00039       DtModelDefinitionManagerDefinitionRenamed(DtDe& de);
00040 
00042       virtual ~DtModelDefinitionManagerDefinitionRenamed();
00043 
00044    protected:
00045 
00050       virtual void on_modelDefinitionRenamed(const std::string& oldName, 
00051          const std::string& newName);
00052 
00053       bool findAndReplaceModelDefinitions( DtElementDefinitionManager& man,
00054          const DtUnicode& oldValue, const DtUnicode& newValue );
00055 
00056    protected:
00057       DtDe&       myDe;
00058    };
00059 } 

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)