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

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 fixed_smartlist2 (void)
 Default constructor.
 fixed_smartlist2 (const size_t bufsize, const adstring &filename)
 Constructor.
 ~fixed_smartlist2 ()
 Destructor.
void add_buffer_fringe (int n)
void allocate (const size_t bufsize, const adstring &filename)
 Description not yet available.
void check_buffer_size (const size_t)
 Description not yet available.
int eof (void)
int get_noreadflag (void)
void initialize (void)
 Description not yet available.
void operator++ (void)
 Description not yet available.
void operator+= (int)
 Description not yet available.
void operator-- (void)
 Description not yet available.
void operator-= (int)
 Description not yet available.
void read_buffer (void)
 Read buffer.
void read_file (void)
double report_usage (void)
void reset (void)
void restore_end (void)
 Set to end of file ptr.
void restoreposition (void)
void restoreposition (int offset)
void rewind (void)
void save_end (void)
 Description not yet available.
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.
void write_buffer_one_less (void)
 Description not yet available.
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 656 of file df1b2fun.h.


Constructor & Destructor Documentation

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.

Destructor.

Definition at line 46 of file df1b2f17.cpp.


Member Function Documentation

void fixed_smartlist2::add_buffer_fringe ( int  n) [inline]

Definition at line 716 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 165 of file df1b2f14.cpp.

int fixed_smartlist2::eof ( void  ) [inline]

Definition at line 690 of file df1b2fun.h.

int fixed_smartlist2::get_noreadflag ( void  ) [inline]

Definition at line 693 of file df1b2fun.h.

void fixed_smartlist2::operator++ ( void  )

Description not yet available.

Parameters:

Definition at line 522 of file df1b2f14.cpp.

void fixed_smartlist2::operator+= ( int  nsize)

Description not yet available.

Parameters:

Definition at line 494 of file df1b2f14.cpp.

void fixed_smartlist2::operator-- ( void  )

Description not yet available.

Parameters:

Definition at line 467 of file df1b2f14.cpp.

void fixed_smartlist2::operator-= ( int  n)

Description not yet available.

Parameters:

Definition at line 441 of file df1b2f14.cpp.

Read buffer.

Definition at line 305 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 544 of file df1b2f14.cpp.

double fixed_smartlist2::report_usage ( void  ) [inline]

Definition at line 706 of file df1b2fun.h.

void fixed_smartlist2::reset ( void  ) [inline]

Definition at line 689 of file df1b2fun.h.

Referenced by df1b2_gradlist::reset().

Set to end of file ptr.

Definition at line 187 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::restoreposition ( void  ) [inline]

Definition at line 695 of file df1b2fun.h.

void fixed_smartlist2::restoreposition ( int  offset) [inline]

Definition at line 696 of file df1b2fun.h.

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

Definition at line 117 of file df1b2f14.cpp.

void fixed_smartlist2::save_end ( void  )

Description not yet available.

Parameters:

Definition at line 209 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::saveposition ( void  ) [inline]

Definition at line 685 of file df1b2fun.h.

void fixed_smartlist2::set_backword ( void  ) [inline]

Definition at line 700 of file df1b2fun.h.

void fixed_smartlist2::set_forward ( void  ) [inline]

Definition at line 699 of file df1b2fun.h.

Referenced by initialize().

void fixed_smartlist2::set_noreadflag ( int  n) [inline]

Definition at line 694 of file df1b2fun.h.

void fixed_smartlist2::set_recend ( ) [inline]

Definition at line 686 of file df1b2fun.h.

Referenced by restore_end().

void fixed_smartlist2::set_reverse ( void  ) [inline]

Definition at line 701 of file df1b2fun.h.

Referenced by df1b2_gradcalc1().

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

Definition at line 99 of file df1b2f14.cpp.

Referenced by write_buffer(), and write_buffer_one_less().

Description not yet available.

Parameters:

Definition at line 265 of file df1b2f14.cpp.

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

Description not yet available.

Parameters:

Definition at line 225 of file df1b2f14.cpp.

Referenced by save_end().

int fixed_smartlist2::written ( void  ) [inline]

Definition at line 717 of file df1b2fun.h.


Member Data Documentation

Definition at line 674 of file df1b2fun.h.

Referenced by allocate().

Definition at line 673 of file df1b2fun.h.

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

Definition at line 667 of file df1b2fun.h.

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

Definition at line 672 of file df1b2fun.h.

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

Definition at line 683 of file df1b2fun.h.

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

Definition at line 665 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

Definition at line 677 of file df1b2fun.h.

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

Definition at line 681 of file df1b2fun.h.

Referenced by restoreposition(), and saveposition().

Definition at line 676 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

Definition at line 675 of file df1b2fun.h.

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

List of all members.


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