Description not yet available. More...
#include <gradient_structure.h>
Public Member Functions | |
DF_FILE (const size_t nbytes) | |
Constructor to allocate buffer. | |
~DF_FILE () | |
Destructor. | |
void | fread (void *s, const size_t num_bytes) |
Description not yet available. | |
void | fread (const int &) |
Description not yet available. | |
void | fread (const double &) |
Description not yet available. | |
void | fread (void *&ptr) |
Description not yet available. | |
void | fwrite (const void *s, const size_t num_bytes) |
Description not yet available. | |
void | fwrite (const int &) |
Description not yet available. | |
void | fwrite (double) |
Description not yet available. | |
void | fwrite (void *ptr) |
Description not yet available. | |
void | read_cmpdif_stack_buffer (off_t &lpos) |
Description not yet available. | |
void | write_cmpdif_stack_buffer (void) |
Description not yet available. | |
Public Attributes | |
union { | |
char fourb [sizeof(size_t)] | |
size_t offset | |
}; | |
char * | buff |
char | cmpdif_file_name [81] |
int | file_ptr |
size_t | toffset |
Private Attributes | |
const size_t | buff_end |
const size_t | buff_size |
DF_FILE::DF_FILE | ( | const size_t | nbytes | ) |
Constructor to allocate buffer.
nbytes | size of buffer |
Definition at line 119 of file df_file.cpp.
Destructor.
Definition at line 248 of file df_file.cpp.
void DF_FILE::fread | ( | void * | s, |
const size_t | num_bytes | ||
) |
Description not yet available.
Definition at line 283 of file df_file.cpp.
Referenced by get_string_marker(), report_gradstack_flag(), report_gradstack_flag2(), restore_ad_pointer(), restore_d3_array_position(), restore_dmatrix_position(), restore_double_value(), restore_dvar_matrix_position(), restore_dvar_vector_position(), restore_dvar_vector_value(), restore_dvector_position(), restore_dvector_value(), restore_imatrix_position(), restore_int_value(), restore_ivector_position(), restore_ivector_value(), restore_pointer_value(), restore_prevariable_derivative(), restore_prevariable_position(), restore_prevariable_value(), and verify_identifier_string().
void DF_FILE::fread | ( | const int & | _x | ) |
void DF_FILE::fread | ( | const double & | _x | ) |
void DF_FILE::fread | ( | void *& | x | ) |
void DF_FILE::fwrite | ( | const void * | s, |
const size_t | num_bytes | ||
) |
Description not yet available.
Definition at line 303 of file df_file.cpp.
Referenced by funnel_gradcalc(), save_ad_pointer(), d3_array::save_d3_array_position(), dmatrix::save_dmatrix_position(), save_double_value(), dvar_matrix::save_dvar_matrix_position(), banded_symmetric_dvar_matrix::save_dvar_matrix_position(), banded_lower_triangular_dvar_matrix::save_dvar_matrix_position(), dvar_vector::save_dvar_vector_position(), dvar_vector::save_dvar_vector_value(), dvector::save_dvector_position(), dvector::save_dvector_value(), save_identifier_string(), imatrix::save_imatrix_position(), save_int_value(), ivector::save_ivector_position(), ivector::save_ivector_value(), save_pointer_value(), prevariable::save_prevariable_position(), prevariable::save_prevariable_value(), and set_gradstack_flag().
void DF_FILE::fwrite | ( | const int & | x | ) |
void DF_FILE::fwrite | ( | double | x | ) |
void DF_FILE::fwrite | ( | void * | ptr | ) |
void DF_FILE::read_cmpdif_stack_buffer | ( | off_t & | lpos | ) |
Description not yet available.
Definition at line 331 of file df_file.cpp.
Referenced by fread().
void DF_FILE::write_cmpdif_stack_buffer | ( | void | ) |
Description not yet available.
Definition at line 359 of file df_file.cpp.
Referenced by fwrite().
union { ... } |
char* DF_FILE::buff |
Definition at line 253 of file gradient_structure.h.
Referenced by DF_FILE(), fread(), fwrite(), read_cmpdif_stack_buffer(), write_cmpdif_stack_buffer(), and ~DF_FILE().
const size_t DF_FILE::buff_end [private] |
Definition at line 283 of file gradient_structure.h.
Referenced by fwrite(), read_cmpdif_stack_buffer(), and write_cmpdif_stack_buffer().
const size_t DF_FILE::buff_size [private] |
Definition at line 284 of file gradient_structure.h.
Referenced by DF_FILE(), fread(), read_cmpdif_stack_buffer(), and write_cmpdif_stack_buffer().
char DF_FILE::cmpdif_file_name[81] |
Definition at line 260 of file gradient_structure.h.
Referenced by DF_FILE(), read_cmpdif_stack_buffer(), write_cmpdif_stack_buffer(), and ~DF_FILE().
Definition at line 261 of file gradient_structure.h.
Referenced by DF_FILE(), fread(), read_cmpdif_stack_buffer(), gradient_structure::save_dependent_variable_position(), write_cmpdif_stack_buffer(), and ~DF_FILE().
char DF_FILE::fourb[sizeof(size_t)] |
Definition at line 258 of file gradient_structure.h.
Referenced by read_cmpdif_stack_buffer(), and write_cmpdif_stack_buffer().
size_t DF_FILE::offset |
Definition at line 257 of file gradient_structure.h.
Referenced by DF_FILE(), fread(), fwrite(), and gradient_structure::save_dependent_variable_position().
size_t DF_FILE::toffset |
Definition at line 254 of file gradient_structure.h.
Generated on Tue Mar 8 2016 19:51:39 for ADMB Documentation by 1.8.0 |