yasmine
state_machine_status.hpp
Go to the documentation of this file.
1 // //
3 // This file is part of the Seadex yasmine ecosystem (http://yasmine.seadex.de). //
4 // Copyright (C) 2016-2017 Seadex GmbH //
5 // //
6 // Licensing information is available in the folder "license" which is part of this distribution. //
7 // The same information is available on the www @ http://yasmine.seadex.de/Licenses.html. //
8 // //
10 
11 
12 #ifndef STATUS_A02F2056_A314_4093_B3AB_75FEBFB43A57
13 #define STATUS_A02F2056_A314_4093_B3AB_75FEBFB43A57
14 
15 
16 namespace sxy
17 {
18 
19 
20 #ifndef SX_CPP03_BOOST
22  {
24  };
25 #else
27  {
28  enum inner
29  {
31  };
32 
33 
34  state_machine_status() : value_( NEW )
35  {
36  // Nothing to do...
37  }
38 
39 
40  // cppcheck-suppress noExplicitConstructor
41  state_machine_status( const inner _value ) : value_( _value )
42  {
43  // Nothing to do...
44  }
45 
46 
47  // cppcheck-suppress functionConst
48  operator inner()
49  {
50  return ( value_ );
51  }
52 
53 
54  inner value_;
55 
56  };
57 
58 
59  bool operator==( const state_machine_status& _lhs, const state_machine_status::inner _rhs );
60  bool operator==( const state_machine_status::inner _lhs, const state_machine_status& _rhs );
61 
62 
63 #endif
64 
65 
66 }
67 
68 #endif
Definition: adapter_cpp11.hpp:21
state_machine_status
Definition: state_machine_status.hpp:21