File: classTCLAP_1_1ArgTraits.html

package info (click to toggle)
tclap 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, experimental, sid, trixie
  • size: 10,584 kB
  • sloc: cpp: 3,724; xml: 1,028; sh: 855; makefile: 308; javascript: 214; ansic: 43
file content (101 lines) | stat: -rw-r--r-- 6,096 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tclap: TCLAP::ArgTraits&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">tclap
   &#160;<span id="projectnumber">1.2.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceTCLAP.html">TCLAP</a></li><li class="navelem"><a class="el" href="classTCLAP_1_1ArgTraits.html">ArgTraits</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="classTCLAP_1_1ArgTraits-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TCLAP::ArgTraits&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classTCLAP_1_1Arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a> traits are used to get compile type specialization when parsing argument values.  
 <a href="classTCLAP_1_1ArgTraits.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ArgTraits_8h_source.html">ArgTraits.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a78f0dc73dcabbecc4893038196670745"><td class="memItemLeft" align="right" valign="top">typedef DefaultArgTrait&lt; T, hasTrait &gt;::<a class="el" href="classTCLAP_1_1ArgTraits.html#a78f0dc73dcabbecc4893038196670745">ValueCategory</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTCLAP_1_1ArgTraits.html#a78f0dc73dcabbecc4893038196670745">ValueCategory</a></td></tr>
<tr class="separator:a78f0dc73dcabbecc4893038196670745"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class TCLAP::ArgTraits&lt; T &gt;</h3>

<p><a class="el" href="classTCLAP_1_1Arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a> traits are used to get compile type specialization when parsing argument values. </p>
<p>Using an <a class="el" href="classTCLAP_1_1ArgTraits.html" title="Arg traits are used to get compile type specialization when parsing argument values.">ArgTraits</a> you can specify the way that values gets assigned to any particular type during parsing. The two supported types are <a class="el" href="structTCLAP_1_1StringLike.html" title="A string like argument value type is a value that can be set using operator=(string).">StringLike</a> and <a class="el" href="structTCLAP_1_1ValueLike.html" title="A value like argument value type is a value that can be set using operator&gt;&gt;.">ValueLike</a>. <a class="el" href="structTCLAP_1_1ValueLike.html" title="A value like argument value type is a value that can be set using operator&gt;&gt;.">ValueLike</a> is the default and means that operator&gt;&gt; will be used to assign values to the type. </p>

<p class="definition">Definition at line <a class="el" href="ArgTraits_8h_source.html#l00082">82</a> of file <a class="el" href="ArgTraits_8h_source.html">ArgTraits.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a78f0dc73dcabbecc4893038196670745"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78f0dc73dcabbecc4893038196670745">&#9670;&nbsp;</a></span>ValueCategory</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef DefaultArgTrait&lt;T, hasTrait&gt;::<a class="el" href="classTCLAP_1_1ArgTraits.html#a78f0dc73dcabbecc4893038196670745">ValueCategory</a> <a class="el" href="classTCLAP_1_1ArgTraits.html">TCLAP::ArgTraits</a>&lt; T &gt;::<a class="el" href="classTCLAP_1_1ArgTraits.html#a78f0dc73dcabbecc4893038196670745">ValueCategory</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="ArgTraits_8h_source.html#l00116">116</a> of file <a class="el" href="ArgTraits_8h_source.html">ArgTraits.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ArgTraits_8h_source.html">ArgTraits.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>