Close
Relief for ODA Team in Ukraine
Learn more
ODA PRC SDK
API Reference
>
Classes
>
ExPrcCommandContext Class
>
ExPrcCommandContext Methods
>
ExPrcCommandContext::getInt Method
ExPrcCommandContext::getInt Method
Syntax
C++
virtual
int
getInt
(
const
OdString&
prompt
,
int
options
= OdEd::kInpDefault,
int
defVal
= 0,
const
OdString&
keywords
= OdString::kEmpty, OdEdIntegerTracker*
pTracker
= 0);
Description
Gets user input of an integer value from the command's input.
Parameters
Parameters
Description
prompt
[in] A prompt string with text printed before waiting for user input.
options
[in] A set of input options (bitwise or combination of the OdEd::CommonInputOptions enum).
defVal
[in] A default value returned if user inputs nothing.
keywords
[in] A string with a keywords list.
pTracker
[in] A pointer to a notification interface for tracking changes in the command context object.
Returns
Returns the entered integer value.
Links
ExPrcCommandContext Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!