Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdEdUserIO::getReal Method
Syntax
C++
virtual double getReal(const OdString& prompt, int options = OdEd::kInpDefault, double defVal = 0.0, const OdString& keywords = OdString::kEmpty, OdEdRealTracker* pTracker = 0) = 0;

Returns user input of a double. 

 

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] 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.