CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_cfg_edge_fwd.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023, an unpublished work by CodeSecure, Inc.
3  * ALL RIGHTS RESERVED
4  *
5  * Copyright (c) 2013-2023, an unpublished work by GrammaTech, Inc.
6  * ALL RIGHTS RESERVED
7  *
8  * This software is furnished under a license and may be used and
9  * copied only in accordance with the terms of such license and the
10  * inclusion of the above copyright notice. This software or any
11  * other copies thereof may not be provided or otherwise made
12  * available to any other person. Title to and ownership of the
13  * software is retained by CodeSecure, Inc.
14  */
15 
16 #ifndef CS_CFG_EDGE_FWD_HPP
17 #define CS_CFG_EDGE_FWD_HPP
18 
19 #include "cs_cfg_edge_set.h"
20 #include "cs_point_fwd.hpp"
21 #include "cs_edge_label.hpp"
22 
25 namespace cs{
26  template<>
27  class cglue<cfg_edge>
28  {
29  cglue();
30  friend class immutable_set<cfg_edge>;
31  friend class iterator_adapter<set_iterator_policy<cfg_edge> >;
32  friend class set_impl<cfg_edge>;
33  friend class set_iterator_policy<cfg_edge>;
34  public:
35  typedef cfg_edge type;
36  typedef cs_cfg_edge ctype;
37  CS_CXX_API_CGLUE_ACCESS_MODIFIER:
38  static cfg_edge wrap(const cs_cfg_edge &c);
39  static cs_cfg_edge unwrap(const cfg_edge &c);
40  };
41 }
42 
43 #endif /* CS_CFG_EDGE_FWD_HPP */
Namespace for CodeSonar/CodeSurfer API.
Definition: cs_ast.hpp:33
std::pair< cs::point, cs::edge_label > cfg_edge
A std::pair (p, el) where:
Definition: cs_tplt_instantiations.hpp:130