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

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

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

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