API Reference > Classes > OdAny Class > OdAny Operators > >> Operator > OdAny::>> Operator (unsigned short &)
OdAny::>> Operator (unsigned short &)
Syntax
C++
bool operator >>(unsigned short & val) const;
Parameters 
Description 
unsigned short & val 
[out] The unsigned short data type variable (right-hand operand of the >> operator).  

true if the OdAny object's value was successfully cast to the unsigned short value and written; otherwise, the method returns false.

Writes the OdAny object's value into an unsigned short data type variable.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.