Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdEdUserIO::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) = 0;

Returns user input of an integer. 

 

Parameters
Description
prompt
[in] Prompt output before pausing for user input.
options
[in] Bitwise OR combination of OdEd::CommonInputOptions enum.
defVal
[in] Returned if user input nothing and OdEd::kInpReturnDefVal flag is set.
pTracker
[in/out] Pointer to an IO Tracker for this user input.

If prompt is empty, a default prompt is used. 

This function uses the underlying OdEdBaseIO functions putString and getString for low level output and input.

Copyright © 2002-2022. Open Design Alliance All rights reserved.