CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base>
void CppAD::local::player< Base >::get ( recorder< Base > &  rec,
size_t  n_ind 
)
inline

Moving an operation sequence from a recorder to this player.

Parameters
recthe object that was used to record the operation sequence. After this operation, the state of the recording is no longer defined. For example, the pod_vector member variables in this have been swapped with rec.
n_indthe number of independent variables (only used for error checking when NDEBUG is not defined).
Use an assert to check that the length of the following vectors is less than the maximum possible value for addr_t; i.e., that an index in these vectors can be represented using the type addr_t: op_vec_, vecad_ind_vec_, arg_vec_, par_vec_, text_vec_.

Definition at line 115 of file player.hpp.