COPASI API  4.16.103
CRenameHandler.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 // Copyright (C) 2005 - 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef COPASI_CRenameHandler
16 #define COPASI_CRenameHandler
17 
18 //just the abstract class to handle things that need to be done after every rename
19 
21 {
22 public:
23  virtual ~CRenameHandler() {};
24 
25  virtual void handle(const std::string & oldCN, const std::string & newCN) const = 0;
26 
27  /**
28  * Enable and disable the rename handler
29  * @param const bool & enabled
30  */
31  virtual void setEnabled(const bool & enabled) = 0;
32 };
33 
34 #endif
virtual void handle(const std::string &oldCN, const std::string &newCN) const =0
virtual ~CRenameHandler()
virtual void setEnabled(const bool &enabled)=0