OpenSDN source code
policy_match.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef ctrlplane_policy_match_h
7 #define ctrlplane_policy_match_h
8 
10 
14  }
15 
16  bool operator ==(const PolicyMatchVertex &rhs) const {
17  return IsSame(rhs);
18  }
19 
20  virtual bool IsSame(const PolicyMatchVertex &rhs) const = 0;
21 };
22 #endif // ctrlplane_policy_match_h
virtual bool IsSame(const PolicyMatchVertex &rhs) const =0
virtual PolicyGraphVertex::VertexType Type()
Definition: policy_match.h:12
bool operator==(const PolicyMatchVertex &rhs) const
Definition: policy_match.h:16