Class used to store an operation sequence while it is being recorded (the operation sequence is copied to the player class for playback).
More...
|
void | free (void) |
| Frees all information in recording. More...
|
|
size_t | get_abort_op_index (void) |
| Get the abort index. More...
|
|
size_t | Memory (void) const |
| Approximate amount of memory used by the recording. More...
|
|
size_t | num_load_op_rec (void) const |
| Number of LdpOp and LdvOp operations currently in the recording. More...
|
|
size_t | num_op_rec (void) const |
| Number of operators currently stored in the recording. More...
|
|
size_t | num_var_rec (void) const |
| Number of variables currently stored in the recording. More...
|
|
void | PutArg (addr_t arg0) |
| Put one operation argument index in the recording. More...
|
|
void | PutArg (addr_t arg0, addr_t arg1) |
| Put two operation argument index in the recording. More...
|
|
void | PutArg (addr_t arg0, addr_t arg1, addr_t arg2) |
| Put three operation argument index in the recording. More...
|
|
void | PutArg (addr_t arg0, addr_t arg1, addr_t arg2, addr_t arg3) |
| Put four operation argument index in the recording. More...
|
|
void | PutArg (addr_t arg0, addr_t arg1, addr_t arg2, addr_t arg3, addr_t arg4) |
| Put five operation argument index in the recording. More...
|
|
void | PutArg (addr_t arg0, addr_t arg1, addr_t arg2, addr_t arg3, addr_t arg4, addr_t arg5) |
| Put six operation argument index in the recording. More...
|
|
addr_t | PutLoadOp (OpCode op) |
| Put a vecad load operator in the operation sequence (special case) More...
|
|
addr_t | PutOp (OpCode op) |
| Put next operator in the operation sequence. More...
|
|
addr_t | PutPar (const Base &par) |
| Find or add a parameter to the current vector of parameters. More...
|
|
addr_t | PutTxt (const char *text) |
| Put a character string in the text for this recording. More...
|
|
addr_t | PutVecInd (size_t vec_ind) |
| Add a value to the end of the current vector of VecAD indices. More...
|
|
| recorder (void) |
| Default constructor. More...
|
|
void | ReplaceArg (size_t i_arg, size_t value) |
| Replace an argument value in the recording (intended to fill in reserved values). More...
|
|
size_t | ReserveArg (size_t n_arg) |
| Reserve space for arguments, but delay placing values there. More...
|
|
void | set_abort_op_index (size_t abort_op_index) |
| Set the abort index. More...
|
|
| ~recorder (void) |
| Destructor. More...
|
|
template<class Base>
class CppAD::local::recorder< Base >
Class used to store an operation sequence while it is being recorded (the operation sequence is copied to the player class for playback).
- Template Parameters
-
Base | This is an AD< Base > operation sequence recording; i.e., it records operations of type AD< Base >. |
Definition at line 28 of file declare_ad.hpp.