API Reference > Other Classes > OdSaveState Template > OdSaveState Constructor > OdSaveState::OdSaveState Constructor (T&, T&)
OdSaveState::OdSaveState Constructor (T&, T&)
Syntax
C++
OdSaveState(T& variable, const T& newValue);
Parameters 
Description 
T& variable 
[in] Variable to save.  
const T& newValue 
[in] New value for a variable. 

Constructor for objects of the OdSaveState class. Saves a variable and assigns it a new value. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.