CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_int_pair_set.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_INT_PAIR_SET_HPP
17 #define CS_INT_PAIR_SET_HPP
18 
19 #include "cs_int_pair_set_decl.hpp"
20 #include "cs_point_set_decl.hpp"
21 #include "cs_sfileinst_decl.hpp"
22 
25 namespace cs{
26  inline point_set set_mixin<int_pair_set>::to_point_set(sfileinst sfi) const
27  {
28  cs_pdg_vertex_set rv;
29  check(cs_int_pair_set_to_pdg_vertex_set(cglue<sfileinst>::unwrap(sfi),
30  unwrap(), &rv));
31  return cglue<point_set>::wrap(rv, false);
32  }
33 }
34 
35 #endif /* CS_INT_PAIR_SET_HPP */
Namespace for CodeSonar/CodeSurfer API.
Definition: cs_ast.hpp:33