yasmine
access_operator.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 #ifndef ACCESS_OPERATOR_9C58972C_7917_4BBD_8CF2_B2DF69D4F0AC
12 #define ACCESS_OPERATOR_9C58972C_7917_4BBD_8CF2_B2DF69D4F0AC
13 
14 
15 namespace sxy
16 {
17 
18 
19 #ifndef SX_CPP03_BOOST
20 
23  enum class access_operator
24  {
26  };
27 
28 
29 #else
30 
31 
34  struct access_operator
35  {
38  enum inner
39  {
41  };
42 
43 
46  {
47  // Nothing to do...
48  }
49 
50 
53  access_operator( const inner _value ) : value_( _value )
54  {
55  // Nothing to do...
56  }
57 
58 
61  access_operator( const access_operator& _access_operator ) : value_( _access_operator.value_ )
62  {
63  // Nothing to do...
64  }
65 
66 
68  operator inner() const
69  {
70  return ( value_ );
71  }
72 
73 
75  inner value_;
76 
77  };
78 
79 
80 #endif
81 
82 
83 }
84 
85 
86 #endif
Definition: algorithm_parameters.hpp:16
access_operator
Enumeration for predefined access operator.
Definition: access_operator.hpp:23