TBTK
Need a break? Support the development by playing Polarity Puzzles
AbstractIndexFilter.h
Go to the documentation of this file.
1 /* Copyright 2017 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_INDEX_FILTER
24 #define COM_DAFER45_TBTK_ABSTRACT_INDEX_FILTER
25 
26 #include "TBTK/Index.h"
27 
28 namespace TBTK{
29 
31 public:
34 
36  virtual ~AbstractIndexFilter();
37 
39  virtual AbstractIndexFilter* clone() const = 0;
40 
42  virtual bool isIncluded(
43  const Index &index
44  ) const = 0;
45 private:
46 };
47 
49 }
50 
52 }
53 
54 }; //End of namesapce TBTK
55 
56 #endif
Index.h
Physical index.
TBTK::AbstractIndexFilter::~AbstractIndexFilter
virtual ~AbstractIndexFilter()
Definition: AbstractIndexFilter.h:51
TBTK::AbstractIndexFilter
Definition: AbstractIndexFilter.h:30
TBTK::AbstractIndexFilter::AbstractIndexFilter
AbstractIndexFilter()
Definition: AbstractIndexFilter.h:48
TBTK::AbstractIndexFilter::isIncluded
virtual bool isIncluded(const Index &index) const =0
TBTK::Index
Physical index.
Definition: Index.h:44
TBTK::AbstractIndexFilter::clone
virtual AbstractIndexFilter * clone() const =0