OpenSDN source code
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
policy_match.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3
*/
4
5
#ifndef ctrlplane_policy_match_h
6
#define ctrlplane_policy_match_h
7
8
#include "
routing-policy/policy_vertex.h
"
9
10
class
PolicyMatchVertex
:
public
PolicyGraphVertex
{
11
virtual
PolicyGraphVertex::VertexType
Type
() {
12
return
PolicyMatchVertex::POLICY_MATCH
;
13
}
14
15
bool
operator ==
(
const
PolicyMatchVertex
&rhs)
const
{
16
return
IsSame
(rhs);
17
}
18
19
virtual
bool
IsSame
(
const
PolicyMatchVertex
&rhs)
const
= 0;
20
};
21
#endif // ctrlplane_policy_match_h
PolicyGraphVertex::POLICY_MATCH
Definition:
policy_vertex.h:28
PolicyMatchVertex::operator==
bool operator==(const PolicyMatchVertex &rhs) const
Definition:
policy_match.h:15
PolicyMatchVertex::IsSame
virtual bool IsSame(const PolicyMatchVertex &rhs) const =0
PolicyMatchVertex
Definition:
policy_match.h:10
PolicyMatchVertex::Type
virtual PolicyGraphVertex::VertexType Type()
Definition:
policy_match.h:11
policy_vertex.h
PolicyGraphVertex::VertexType
VertexType
Definition:
policy_vertex.h:27
PolicyGraphVertex
Definition:
policy_vertex.h:23
contrail
controller
src
routing-policy
policy_match.h
Generated by
1.8.5