ADMB Documentation  11.1.1961
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Public Attributes
ad_sbuffer Class Reference

Description not yet available. More...

#include <smartbuf.h>

Public Member Functions

 ad_sbuffer (unsigned long int, const char *filename)
 Description not yet available.
 ~ad_sbuffer ()
void fread (void *s, const size_t num_bytes)
 Description not yet available.
void fread (const int &)
void fread (const double &)
void fwrite (void *s, const size_t num_bytes)
 Description not yet available.
void fwrite (double)
void fwrite (const int &)
void read_cmpdif_stack_buffer (long int &lpos)
 Description not yet available.
void write_cmpdif_stack_buffer (void)
 Description not yet available.

Public Attributes

union {
   char   fourb [sizeof(unsigned int)]
   unsigned int   offset
}; 
char * buff
unsigned int buff_end
unsigned int buff_size
char cmpdif_file_name [81]
adstring file_name
int file_ptr
unsigned int toffset

Detailed Description

Description not yet available.

Parameters:

Definition at line 50 of file smartbuf.h.


Constructor & Destructor Documentation

ad_sbuffer::ad_sbuffer ( unsigned long int  sz,
const char *  froot 
)

Description not yet available.

Parameters:

Definition at line 71 of file smartbuf.cpp.

Definition at line 140 of file smartbuf.cpp.


Member Function Documentation

void ad_sbuffer::fread ( void *  s,
const size_t  num_bytes 
)

Description not yet available.

Parameters:

Definition at line 169 of file smartbuf.cpp.

void ad_sbuffer::fread ( const int &  )
void ad_sbuffer::fread ( const double &  )
void ad_sbuffer::fwrite ( void *  s,
const size_t  num_bytes 
)

Description not yet available.

Parameters:

Definition at line 198 of file smartbuf.cpp.

void ad_sbuffer::fwrite ( double  )
void ad_sbuffer::fwrite ( const int &  )
void ad_sbuffer::read_cmpdif_stack_buffer ( long int &  lpos)

Description not yet available.

Parameters:

Definition at line 227 of file smartbuf.cpp.

Description not yet available.

Parameters:

Definition at line 253 of file smartbuf.cpp.


Member Data Documentation

union { ... }

Definition at line 54 of file smartbuf.h.

unsigned int ad_sbuffer::buff_end

Definition at line 55 of file smartbuf.h.

unsigned int ad_sbuffer::buff_size

Definition at line 56 of file smartbuf.h.

Definition at line 62 of file smartbuf.h.

Definition at line 53 of file smartbuf.h.

Definition at line 63 of file smartbuf.h.

char ad_sbuffer::fourb[sizeof(unsigned int)]

Definition at line 59 of file smartbuf.h.

unsigned int ad_sbuffer::offset

Definition at line 58 of file smartbuf.h.

unsigned int ad_sbuffer::toffset

Definition at line 61 of file smartbuf.h.

List of all members.


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