ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
fixed_smartlist2 Class Reference

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 fixed_smartlist2 (void)
 Default constructor. More...
 
 fixed_smartlist2 (const size_t bufsize, const adstring &filename)
 Constructor. More...
 
 ~fixed_smartlist2 ()
 Destructor. More...
 
void add_buffer_fringe (int n)
 
void allocate (const size_t bufsize, const adstring &filename)
 Description not yet available. More...
 
void check_buffer_size (const size_t)
 Description not yet available. More...
 
int eof (void)
 
int get_noreadflag (void)
 
void initialize (void)
 Description not yet available. More...
 
void operator++ (void)
 Description not yet available. More...
 
void operator+= (int)
 Description not yet available. More...
 
void operator-- (void)
 Description not yet available. More...
 
void operator-= (int)
 Description not yet available. More...
 
void read_buffer (void)
 Read buffer. More...
 
void read_file (void)
 
double report_usage (void)
 
void reset (void)
 
void restore_end (void)
 Set to end of file ptr. More...
 
void restoreposition (void)
 
void restoreposition (int offset)
 
void rewind (void)
 
void save_end (void)
 Description not yet available. More...
 
void saveposition (void)
 
void set_backword (void)
 
void set_forward (void)
 
void set_noreadflag (int n)
 
void set_recend ()
 
void set_reverse (void)
 
void write (const size_t n)
 
void write_buffer (void)
 Description not yet available. More...
 
void write_buffer_one_less (void)
 Description not yet available. More...
 
int written (void)
 

Public Attributes

int * bptr
 
int * buffend
 
int * buffer
 
size_t bufsize
 
int direction
 
double * doubleptr
 
int end_saved
 
off_t endof_file_ptr
 
int eof_flag
 
adstring filename
 
int fp
 
size_t nentries
 
int noreadflag
 
int * recend
 
int * sbptr
 
int * true_buffend
 
int * true_buffer
 
int written_flag
 

Detailed Description

Description not yet available.

Parameters

Definition at line 669 of file df1b2fun.h.

Constructor & Destructor Documentation

fixed_smartlist2::fixed_smartlist2 ( void  )

Default constructor.

Definition at line 27 of file df1b2f14.cpp.

fixed_smartlist2::fixed_smartlist2 ( const size_t  bufsize,
const adstring filename 
)

Constructor.

Definition at line 50 of file df1b2f14.cpp.

fixed_smartlist2::~fixed_smartlist2 ( )

Destructor.

Definition at line 46 of file df1b2f17.cpp.

Member Function Documentation

void fixed_smartlist2::add_buffer_fringe ( int  n)
inline

Definition at line 729 of file df1b2fun.h.

void fixed_smartlist2::allocate ( const size_t  _bufsize,
const adstring _filename 
)

Description not yet available.

Parameters

Definition at line 63 of file df1b2f14.cpp.

Referenced by fixed_smartlist2().

void fixed_smartlist2::check_buffer_size ( const size_t  nsize)

Description not yet available.

Parameters

Definition at line 170 of file df1b2f14.cpp.

int fixed_smartlist2::eof ( void  )
inline

Definition at line 703 of file df1b2fun.h.

int fixed_smartlist2::get_noreadflag ( void  )
inline

Definition at line 706 of file df1b2fun.h.

void fixed_smartlist2::initialize ( void  )
void fixed_smartlist2::operator++ ( void  )

Description not yet available.

Parameters

Definition at line 527 of file df1b2f14.cpp.

void fixed_smartlist2::operator+= ( int  nsize)

Description not yet available.

Parameters

Definition at line 499 of file df1b2f14.cpp.

void fixed_smartlist2::operator-- ( void  )

Description not yet available.

Parameters

Definition at line 472 of file df1b2f14.cpp.

void fixed_smartlist2::operator-= ( int  n)

Description not yet available.

Parameters

Definition at line 446 of file df1b2f14.cpp.

void fixed_smartlist2::read_buffer ( void  )

Read buffer.

Definition at line 310 of file df1b2f14.cpp.

Referenced by check_buffer_size(), operator++(), operator+=(), operator--(), operator-=(), and restore_end().

void fixed_smartlist2::read_file ( void  )
Todo:
Need Test case

Definition at line 549 of file df1b2f14.cpp.

double fixed_smartlist2::report_usage ( void  )
inline

Definition at line 719 of file df1b2fun.h.

void fixed_smartlist2::reset ( void  )
inline

Definition at line 702 of file df1b2fun.h.

Referenced by df1b2_gradlist::reset().

void fixed_smartlist2::restore_end ( void  )

Set to end of file ptr.

Definition at line 192 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::restoreposition ( void  )
inline

Definition at line 708 of file df1b2fun.h.

void fixed_smartlist2::restoreposition ( int  offset)
inline

Definition at line 709 of file df1b2fun.h.

void fixed_smartlist2::rewind ( void  )
Todo:
Need Test case

Definition at line 122 of file df1b2f14.cpp.

void fixed_smartlist2::save_end ( void  )

Description not yet available.

Parameters

Definition at line 214 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::saveposition ( void  )
inline

Definition at line 698 of file df1b2fun.h.

void fixed_smartlist2::set_backword ( void  )
inline

Definition at line 713 of file df1b2fun.h.

void fixed_smartlist2::set_forward ( void  )
inline

Definition at line 712 of file df1b2fun.h.

Referenced by initialize().

void fixed_smartlist2::set_noreadflag ( int  n)
inline

Definition at line 707 of file df1b2fun.h.

void fixed_smartlist2::set_recend ( )
inline

Definition at line 699 of file df1b2fun.h.

Referenced by restore_end().

void fixed_smartlist2::set_reverse ( void  )
inline

Definition at line 714 of file df1b2fun.h.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::write ( const size_t  n)
Todo:
Need Test case

Definition at line 104 of file df1b2f14.cpp.

Referenced by write_buffer(), and write_buffer_one_less().

void fixed_smartlist2::write_buffer ( void  )

Description not yet available.

Parameters

Definition at line 270 of file df1b2f14.cpp.

Referenced by check_buffer_size(), operator++(), and operator+=().

void fixed_smartlist2::write_buffer_one_less ( void  )

Description not yet available.

Parameters

Definition at line 230 of file df1b2f14.cpp.

Referenced by save_end().

int fixed_smartlist2::written ( void  )
inline

Definition at line 730 of file df1b2fun.h.

Member Data Documentation

int* fixed_smartlist2::bptr
int* fixed_smartlist2::buffend
int* fixed_smartlist2::buffer
size_t fixed_smartlist2::bufsize
int fixed_smartlist2::direction
double* fixed_smartlist2::doubleptr

Definition at line 687 of file df1b2fun.h.

Referenced by allocate().

int fixed_smartlist2::end_saved

Definition at line 686 of file df1b2fun.h.

Referenced by allocate(), fixed_smartlist2(), initialize(), restore_end(), and save_end().

off_t fixed_smartlist2::endof_file_ptr

Definition at line 680 of file df1b2fun.h.

Referenced by restore_end(), write_buffer(), and write_buffer_one_less().

int fixed_smartlist2::eof_flag

Definition at line 685 of file df1b2fun.h.

Referenced by allocate(), eof(), fixed_smartlist2(), initialize(), read_buffer(), and rewind().

adstring fixed_smartlist2::filename

Definition at line 696 of file df1b2fun.h.

Referenced by allocate(), write(), write_buffer(), write_buffer_one_less(), and ~fixed_smartlist2().

int fixed_smartlist2::fp
size_t fixed_smartlist2::nentries

Definition at line 678 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

int fixed_smartlist2::noreadflag
int* fixed_smartlist2::recend

Definition at line 690 of file df1b2fun.h.

Referenced by operator--(), operator-=(), read_buffer(), and set_recend().

int* fixed_smartlist2::sbptr

Definition at line 694 of file df1b2fun.h.

Referenced by restoreposition(), and saveposition().

int* fixed_smartlist2::true_buffend

Definition at line 689 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

int* fixed_smartlist2::true_buffer

Definition at line 688 of file df1b2fun.h.

Referenced by allocate(), fixed_smartlist2(), and ~fixed_smartlist2().

int fixed_smartlist2::written_flag

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