ADMB Documentation  11.4.2891
 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)
 Description not yet available.
 ~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)
 Description not yet available.
void read_file (void)
double report_usage (void)
void reset (void)
void restore_end (void)
 Description not yet available.
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
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 644 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 
)

Description not yet available.

Parameters:

Definition at line 47 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 703 of file df1b2fun.h.

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

Description not yet available.

Parameters:

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

int fixed_smartlist2::eof ( void  ) [inline]

Definition at line 677 of file df1b2fun.h.

int fixed_smartlist2::get_noreadflag ( void  ) [inline]

Definition at line 680 of file df1b2fun.h.

void fixed_smartlist2::operator++ ( void  )

Description not yet available.

Parameters:

Definition at line 487 of file df1b2f14.cpp.

void fixed_smartlist2::operator+= ( int  nsize)

Description not yet available.

Parameters:

Definition at line 459 of file df1b2f14.cpp.

void fixed_smartlist2::operator-- ( void  )

Description not yet available.

Parameters:

Definition at line 432 of file df1b2f14.cpp.

void fixed_smartlist2::operator-= ( int  n)

Description not yet available.

Parameters:

Definition at line 406 of file df1b2f14.cpp.

Description not yet available.

Parameters:

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

double fixed_smartlist2::report_usage ( void  ) [inline]

Definition at line 693 of file df1b2fun.h.

void fixed_smartlist2::reset ( void  ) [inline]

Definition at line 676 of file df1b2fun.h.

Referenced by df1b2_gradlist::reset().

Description not yet available.

Parameters:

Definition at line 178 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::restoreposition ( void  ) [inline]

Definition at line 682 of file df1b2fun.h.

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

Definition at line 683 of file df1b2fun.h.

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

Definition at line 106 of file df1b2f14.cpp.

void fixed_smartlist2::save_end ( void  )

Description not yet available.

Parameters:

Definition at line 195 of file df1b2f14.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist2::saveposition ( void  ) [inline]

Definition at line 672 of file df1b2fun.h.

void fixed_smartlist2::set_backword ( void  ) [inline]

Definition at line 687 of file df1b2fun.h.

void fixed_smartlist2::set_forward ( void  ) [inline]

Definition at line 686 of file df1b2fun.h.

Referenced by initialize().

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

Definition at line 681 of file df1b2fun.h.

void fixed_smartlist2::set_recend ( ) [inline]

Definition at line 673 of file df1b2fun.h.

Referenced by restore_end().

void fixed_smartlist2::set_reverse ( void  ) [inline]

Definition at line 688 of file df1b2fun.h.

Referenced by df1b2_gradcalc1().

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

Definition at line 88 of file df1b2f14.cpp.

Referenced by write_buffer(), and write_buffer_one_less().

Description not yet available.

Parameters:

Definition at line 251 of file df1b2f14.cpp.

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

Description not yet available.

Parameters:

Definition at line 211 of file df1b2f14.cpp.

Referenced by save_end().

int fixed_smartlist2::written ( void  ) [inline]

Definition at line 704 of file df1b2fun.h.


Member Data Documentation

Definition at line 661 of file df1b2fun.h.

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

Definition at line 655 of file df1b2fun.h.

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

Definition at line 660 of file df1b2fun.h.

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

Definition at line 670 of file df1b2fun.h.

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

Definition at line 653 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

Definition at line 664 of file df1b2fun.h.

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

Definition at line 668 of file df1b2fun.h.

Referenced by restoreposition(), and saveposition().

Definition at line 663 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist2().

Definition at line 662 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: