TBTK
AbstractOperator.h
Go to the documentation of this file.
1 /* Copyright 2016 Kristofer Bj√∂rnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
23 #ifndef COM_DAFER45_TBTK_ABSTRACT_OPERATOR
24 #define COM_DAFER45_TBTK_ABSTRACT_OPERATOR
25 
26 namespace TBTK{
27 
28 //class AbstractState;
29 
31 public:
33  virtual ~AbstractOperator();
34 
41  enum OperatorID{
42  Default = 0
43  };
44 
46  OperatorID getOperatorID() const;
47 protected:
49  AbstractOperator(OperatorID operatorID);
50 private:
52  OperatorID operatorID;
53 };
54 
56  return operatorID;
57 }
58 
59 }; //End of namespace TBTK
60 
61 #endif
Definition: AbstractOperator.h:30
OperatorID
Definition: AbstractOperator.h:41
OperatorID getOperatorID() const
Definition: AbstractOperator.h:55
Definition: ModelFactory.h:35
AbstractOperator(OperatorID operatorID)