[#ArgsManager-GetIntArg-03]
= xref:ArgsManager.adoc[ArgsManager]::GetIntArg
:relfileprefix: ../
:mrdocs:

Return a 64&hyphen;bit integer argument or default value&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9524a22c08)&rsqb;&rsqb;
int64&lowbar;t
GetIntArg(
    std::string const& strArg,
    int64&lowbar;t nDefault) const;
----

== Return Value

The argument value, or nDefault if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *strArg*
| Argument to get (e&period;g&period; &quot;&hyphen;foo&quot;)&period;
| *nDefault*
| Value returned when the argument is unset&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
