ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Public Attributes | Private Attributes
DF_FILE Class Reference

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

Detailed Description

Description not yet available.

Parameters:

Definition at line 247 of file gradient_structure.h.


Constructor & Destructor Documentation

DF_FILE::DF_FILE ( const size_t  nbytes)

Constructor to allocate buffer.

Parameters:
nbytessize of buffer
Todo:
Must add assert back in...

Definition at line 119 of file df_file.cpp.

Destructor.

Definition at line 248 of file df_file.cpp.


Member Function Documentation

void DF_FILE::fread ( void *  s,
const size_t  num_bytes 
)
void DF_FILE::fread ( const int &  _x)

Description not yet available.

Parameters:

Definition at line 142 of file df_file2.cpp.

void DF_FILE::fread ( const double &  _x)

Description not yet available.

Parameters:

Definition at line 71 of file df_file2.cpp.

void DF_FILE::fread ( void *&  x)

Description not yet available.

Parameters:

Definition at line 95 of file df_file2.cpp.

void DF_FILE::fwrite ( const void *  s,
const size_t  num_bytes 
)
void DF_FILE::fwrite ( const int &  x)

Description not yet available.

Parameters:

Definition at line 165 of file df_file2.cpp.

void DF_FILE::fwrite ( double  x)

Description not yet available.

Parameters:

Definition at line 118 of file df_file2.cpp.

void DF_FILE::fwrite ( void *  ptr)

Description not yet available.

Parameters:

Definition at line 189 of file df_file2.cpp.

void DF_FILE::read_cmpdif_stack_buffer ( off_t &  lpos)

Description not yet available.

Parameters:

Definition at line 331 of file df_file.cpp.

Referenced by fread().

Description not yet available.

Parameters:

Definition at line 359 of file df_file.cpp.

Referenced by fwrite().


Member Data Documentation

union { ... }
const size_t DF_FILE::buff_end [private]
const size_t DF_FILE::buff_size [private]
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().

Definition at line 254 of file gradient_structure.h.

Referenced by DF_FILE(), fread(), and fwrite().

List of all members.


The documentation for this class was generated from the following files: