rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StateComparator.h
Go to the documentation of this file.
1 /*
2  * scampl4cpp/engine
3  *
4  * Copyright by European Southern Observatory, 2012
5  * All rights reserved
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20  * 02111-1307 USA.
21  */
22 
23 /*
24  * $Id: StateComparator.h 1061 2015-07-13 15:03:59Z landolfa $
25  */
26 
27 
28 #ifndef SCXML4CPP_STATECOMPARATOR_H
29 #define SCXML4CPP_STATECOMPARATOR_H
30 
31 #ifndef __cplusplus
32 #error This is a C++ include file and cannot be used from plain C
33 #endif
34 
35 namespace scxml4cpp {
36 
37 class State;
38 
39 class StateComparator
40 {
41 
42  public:
45 
46  virtual ~StateComparator();
47 
48  bool operator()(const State* s1, const State* s2);
49 
50  private:
51  StateComparator& operator= (const StateComparator&);
52 
53 };
54 
55 } // namespace scxml4cpp
56 
57 #endif // SCXML4CPP_STATECOMPARATOR_H
bool operator()(const State *s1, const State *s2)
Definition: StateComparator.cpp:56
StateComparator()
Definition: StateComparator.cpp:34
virtual ~StateComparator()
Definition: StateComparator.cpp:44