Parameters |
Description |
const OdString& prompt |
[in] Prompt output before pausing for user input. |
const OdString& keywords |
[in] Keyword list. |
int defVal = -1 |
[in] Returned if user input nothing. |
int options = OdEd::kInpDefault |
[in] Bitwise OR combination of OdEd::CommonInputOptions enum. |
Returns the index of the entered keyword in the keyword list, or -1 it's not there.
Returns user input of a keyword.
This function uses the underlying OdEdBaseIO functions putString and getString for low level output and input.
This function does not throw a KeywordException.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|