/usr/share/doc/libjsoncpp-dev/jsoncpp-api-html/class_json_1_1_static_string.html is in libjsoncpp-dev 0.6.0~rc2-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | <html>
<head>
<title>
JsonCpp - JSON data format manipulation library
</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table width="100%">
<tr>
<td width="40%" align="left" valign="center">
<a href="http://sourceforge.net/projects/jsoncpp/">
JsonCpp project page
</a>
</td>
<td width="40%" align="right" valign="center">
<a href="http://jsoncpp.sourceforge.net">JsonCpp home page</a>
</td>
</tr>
</table>
<hr>
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_json.html">Json</a></li><li class="navelem"><a class="el" href="class_json_1_1_static_string.html">StaticString</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="class_json_1_1_static_string-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Json::StaticString Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Lightweight wrapper to tag static string.
<a href="class_json_1_1_static_string.html#details">More...</a></p>
<p><code>#include <<a class="el" href="value_8h_source.html">json/value.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb6baf1ec078ce76f0b0f9b39d19437f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_static_string.html#afb6baf1ec078ce76f0b0f9b39d19437f">StaticString</a> (const char *czstring)</td></tr>
<tr class="separator:afb6baf1ec078ce76f0b0f9b39d19437f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac2b334d46bbea4c0227e508fc66433e9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_static_string.html#ac2b334d46bbea4c0227e508fc66433e9">operator const char *</a> () const </td></tr>
<tr class="separator:ac2b334d46bbea4c0227e508fc66433e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab86fc6a3183adf12fdba4b370acf1754"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_static_string.html#ab86fc6a3183adf12fdba4b370acf1754">c_str</a> () const </td></tr>
<tr class="separator:ab86fc6a3183adf12fdba4b370acf1754"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Lightweight wrapper to tag static string. </p>
<p><a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> constructor and objectValue member assignement takes advantage of the <a class="el" href="class_json_1_1_static_string.html" title="Lightweight wrapper to tag static string. ">StaticString</a> and avoid the cost of string duplication when storing the string or the member name.</p>
<p>Example of usage: </p>
<div class="fragment"><div class="line">* <a class="code" href="class_json_1_1_value.html">Json::Value</a> aValue( <a class="code" href="class_json_1_1_static_string.html#afb6baf1ec078ce76f0b0f9b39d19437f">StaticString</a>(<span class="stringliteral">"some text"</span>) );</div>
<div class="line">* <a class="code" href="class_json_1_1_value.html">Json::Value</a> object;</div>
<div class="line">* <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="class_json_1_1_static_string.html#afb6baf1ec078ce76f0b0f9b39d19437f">StaticString</a> code(<span class="stringliteral">"code"</span>);</div>
<div class="line">* <span class="keywordtype">object</span>[code] = 1234;</div>
<div class="line">* </div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="value_8h_source.html#l00069">69</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="afb6baf1ec078ce76f0b0f9b39d19437f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Json::StaticString::StaticString </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>czstring</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="value_8h_source.html#l00072">72</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab86fc6a3183adf12fdba4b370acf1754"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const char* Json::StaticString::c_str </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="value_8h_source.html#l00082">82</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p>
<p>Referenced by <a class="el" href="json__value_8cpp_source.html#l00374">Json::Value::Value()</a>.</p>
</div>
</div>
<a class="anchor" id="ac2b334d46bbea4c0227e508fc66433e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Json::StaticString::operator const char * </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="value_8h_source.html#l00077">77</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/json/<a class="el" href="value_8h_source.html">value.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<table width="100%">
<tr>
<td width="10%" align="left" valign="center">
<a href="http://sourceforge.net">
<img
src="http://sourceforge.net/sflogo.php?group_id=144446"
width="88" height="31" border="0" alt="SourceForge Logo"></a>
</td>
<td width="20%" align="left" valign="center">
hosts this site.
</td>
<td>
</td>
<td align="right" valign="center">
Send comments to:<br>
<a href="mailto:jsoncpp-devel@lists.sourceforge.net">Json-cpp Developers</a>
</td>
</tr>
</table>
</body>
</html>
|