<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>QualifiedCppName (infer.IR.QualifiedCppName)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">IR</a>» QualifiedCppName</nav><h1>Module <code>IR.QualifiedCppName</code></h1></header><dl><dtclass="spec exception"id="exception-ParseError"><ahref="#exception-ParseError"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">ParseError</span><spanclass="keyword">of</span> string</code></dt></dl><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-yojson_of_t"><ahref="#val-yojson_of_t"class="anchor"></a><code><spanclass="keyword">val</span> yojson_of_t : <ahref="index.html#type-t">t</a><span>-></span> Ppx_yojson_conv_lib.Yojson.Safe.t</code></dt></dl></div></div></div><dl><dtclass="spec value"id="val-empty"><ahref="#val-empty"class="anchor"></a><code><spanclass="keyword">val</span> empty : <ahref="index.html#type-t">t</a></code></dt><dd><p>empty qualified name</p></dd></dl><dl><dtclass="spec value"id="val-of_qual_string"><ahref="#val-of_qual_string"class="anchor"></a><code><spanclass="keyword">val</span> of_qual_string : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>attempts to parse the argument into a list::of::possibly::templated<T>::qualifiers</p></dd></dl><dl><dtclass="spec value"id="val-to_qual_string"><ahref="#val-to_qual_string"class="anchor"></a><code><spanclass="keyword">val</span> to_qual_string : <ahref="index.html#type-t">t</a><span>-></span> string</code></dt><dd><p>returns qualified name as a string with "::" as a separator between qualifiers</p></dd></dl><dl><dtclass="spec value"id="val-append_qualifier"><ahref="#val-append_qualifier"class="anchor"></a><code><spanclass="keyword">val</span> append_qualifier : <ahref="index.html#type-t">t</a><span>-></span><span>qual:string</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>append qualifier to the end (innermost scope) of the qualified name</p></dd></dl><dl><dtclass="spec value"id="val-extract_last"><ahref="#val-extract_last"class="anchor"></a><code><spanclass="keyword">val</span> extract_last : <ahref="index.html#type-t">t</a><span>-></span><span><span>(string * <ahref="index.html#type-t">t</a>)</span> option</span></code></dt><dd><p>returns last (innermost scope) qualifier and qualified name without last qualifier</p></dd></dl><dl><dtclass="spec value"id="val-strip_template_args"><ahref="#val-strip_template_args"class="anchor"></a><code><spanclass="keyword">val</span> strip_template_args : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>returns qualified name without template arguments. For example:</p><ul><li>input: std::shared_ptr<int>::shared_ptr<long></li><li>output: std::shared_ptr::shared_ptr</li></ul></dd></dl><dl><dtclass="spec value"id="val-compare_name"><ahref="#val-compare_name"class="anchor"></a><code><spanclass="keyword">val</span> compare_name : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dd><p>similar to compare, but