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_smartlist Class Reference

Description not yet available. More...

#include <df1b2fun.h>

Public Member Functions

 fixed_smartlist ()
 Default constructor. More...
 
 fixed_smartlist (const size_t bufsize, const adstring &filename)
 Constructor. More...
 
 ~fixed_smartlist ()
 Destructor. More...
 
void add_buffer_fringe (int n)
 
void allocate (const size_t bufsize, const adstring &filename)
 
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)
 
void operator-- (void)
 
void operator-= (int)
 
void read_buffer (void)
 Description not yet available. More...
 
void read_file (void)
 
double report_usage (void)
 
void reset (void)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
void restore_end (void)
 Restore end. More...
 
void restoreposition (void)
 
void restoreposition (int offset)
 
void rewind (void)
 Rewind buffer. More...
 
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)
 
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

fixed_list_entrybptr
 
fixed_list_entrybuffend
 
fixed_list_entrybuffer
 
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
 
fixed_list_entryrecend
 
fixed_list_entrysbptr
 
fixed_list_entrytrue_buffend
 
fixed_list_entrytrue_buffer
 
int written_flag
 

Detailed Description

Description not yet available.

Parameters

Definition at line 602 of file df1b2fun.h.

Constructor & Destructor Documentation

fixed_smartlist::fixed_smartlist ( )

Default constructor.

Definition at line 35 of file df1b2f13.cpp.

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

Constructor.

Definition at line 49 of file df1b2f13.cpp.

fixed_smartlist::~fixed_smartlist ( )

Destructor.

Definition at line 19 of file df1b2f17.cpp.

Member Function Documentation

void fixed_smartlist::add_buffer_fringe ( int  n)
inline

Definition at line 661 of file df1b2fun.h.

void fixed_smartlist::allocate ( const size_t  bufsize,
const adstring filename 
)

Definition at line 57 of file df1b2f13.cpp.

Referenced by fixed_smartlist().

void fixed_smartlist::check_buffer_size ( const size_t  nsize)

Description not yet available.

Parameters

Definition at line 173 of file df1b2f13.cpp.

int fixed_smartlist::eof ( void  )
inline

Definition at line 636 of file df1b2fun.h.

Referenced by df1b2_gradcalc1().

int fixed_smartlist::get_noreadflag ( void  )
inline

Definition at line 638 of file df1b2fun.h.

void fixed_smartlist::initialize ( void  )
void fixed_smartlist::operator++ ( void  )

Description not yet available.

Parameters

Definition at line 518 of file df1b2f13.cpp.

void fixed_smartlist::operator+= ( int  nsize)

Definition at line 490 of file df1b2f13.cpp.

void fixed_smartlist::operator-- ( void  )

Definition at line 467 of file df1b2f13.cpp.

void fixed_smartlist::operator-= ( int  n)

Definition at line 446 of file df1b2f13.cpp.

void fixed_smartlist::read_buffer ( void  )

Description not yet available.

Parameters

Definition at line 332 of file df1b2f13.cpp.

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

void fixed_smartlist::read_file ( void  )
Todo:
Need test case

Definition at line 540 of file df1b2f13.cpp.

double fixed_smartlist::report_usage ( void  )
inline

Definition at line 651 of file df1b2fun.h.

void fixed_smartlist::reset ( void  )

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Description not yet available.

Parameters

Definition at line 22 of file df1b2f13.cpp.

Referenced by df1b2_gradlist::reset().

void fixed_smartlist::restore_end ( void  )

Restore end.

Definition at line 195 of file df1b2f13.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist::restoreposition ( void  )
inline

Definition at line 640 of file df1b2fun.h.

void fixed_smartlist::restoreposition ( int  offset)
inline

Definition at line 641 of file df1b2fun.h.

void fixed_smartlist::rewind ( void  )

Rewind buffer.

Definition at line 120 of file df1b2f13.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist::save_end ( void  )

Description not yet available.

Parameters

Definition at line 220 of file df1b2f13.cpp.

Referenced by df1b2_gradcalc1().

void fixed_smartlist::saveposition ( void  )
inline

Definition at line 631 of file df1b2fun.h.

void fixed_smartlist::set_backword ( void  )
inline

Definition at line 645 of file df1b2fun.h.

void fixed_smartlist::set_forward ( void  )
inline

Definition at line 644 of file df1b2fun.h.

Referenced by df1b2_gradcalc1(), and initialize().

void fixed_smartlist::set_noreadflag ( int  n)
inline

Definition at line 639 of file df1b2fun.h.

void fixed_smartlist::set_recend ( )
inline

Definition at line 632 of file df1b2fun.h.

Referenced by restore_end().

void fixed_smartlist::set_reverse ( void  )
inline

Definition at line 646 of file df1b2fun.h.

Referenced by df1b2_gradcalc1().

void fixed_smartlist::write ( const size_t  n)
Todo:
Need test case

Definition at line 100 of file df1b2f13.cpp.

Referenced by write_buffer(), and write_buffer_one_less().

void fixed_smartlist::write_buffer ( void  )

Description not yet available.

Parameters

Definition at line 286 of file df1b2f13.cpp.

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

void fixed_smartlist::write_buffer_one_less ( void  )

Description not yet available.

Parameters

Definition at line 236 of file df1b2f13.cpp.

Referenced by save_end().

int fixed_smartlist::written ( void  )
inline

Definition at line 662 of file df1b2fun.h.

Member Data Documentation

fixed_list_entry* fixed_smartlist::bptr

Definition at line 626 of file df1b2fun.h.

Referenced by allocate(), check_buffer_size(), df1b2_gradcalc1(), fixed_smartlist(), initialize(), operator++(), operator+=(), operator--(), operator-=(), read_buffer(), read_pass1_1(), read_pass1_1_dv(), read_pass1_1x(), read_pass1_2(), read_pass1_2_dv(), read_pass1_2x(), read_pass1_3(), read_pass1_3_dv(), read_pass1_3x(), read_pass1_eq_1(), read_pass1_eq_2(), read_pass1_eq_3(), read_pass1_init_1(), read_pass1_init_2(), read_pass1_init_3(), read_pass1_minus_eq_1(), read_pass1_minus_eq_2(), read_pass1_minus_eq_3(), read_pass1_plus_eq_1(), read_pass1_plus_eq_2(), read_pass1_plus_eq_3(), read_pass2_1(), read_pass2_1_dvdv(), read_pass2_1_dvdvdv(), read_pass2_1_minus(), read_pass2_1_minuscv(), read_pass2_1_minusvc(), read_pass2_1_prod(), read_pass2_1_prod_vector(), read_pass2_1_prodc1(), read_pass2_1_prodc2(), read_pass2_1_sum(), read_pass2_1_sumc(), read_pass2_2(), read_pass2_2_dvdv(), read_pass2_2_dvdvdv(), read_pass2_2_minus(), read_pass2_2_minuscv(), read_pass2_2_minusvc(), read_pass2_2_prod(), read_pass2_2_prod_vector(), read_pass2_2_prodc1(), read_pass2_2_prodc2(), read_pass2_2_sum(), read_pass2_2_sumc(), read_pass2_3(), read_pass2_3_dvdv(), read_pass2_3_dvdvdv(), read_pass2_3_minus(), read_pass2_3_minuscv(), read_pass2_3_minusvc(), read_pass2_3_prod(), read_pass2_3_prod_vector(), read_pass2_3_prodc1(), read_pass2_3_prodc2(), read_pass2_3_sum(), read_pass2_3_sumc(), read_tilde_values_1(), read_tilde_values_3(), report_usage(), reset(), restoreposition(), rewind(), saveposition(), set_recend(), write_buffer(), write_buffer_one_less(), df1b2_gradlist::write_pass1(), df1b2_gradlist::write_pass1_eq(), df1b2_gradlist::write_pass1_initialize(), df1b2_gradlist::write_pass1_minus(), df1b2_gradlist::write_pass1_minuscv(), df1b2_gradlist::write_pass1_minuseq(), df1b2_gradlist::write_pass1_minusvc(), df1b2_gradlist::write_pass1_pluseq(), df1b2_gradlist::write_pass1_prod(), df1b2_gradlist::write_pass1_sum(), df1b2_gradlist::write_pass1x(), and df1b2_gradlist::write_save_pass2_tilde_values().

fixed_list_entry* fixed_smartlist::buffend
fixed_list_entry* fixed_smartlist::buffer
size_t fixed_smartlist::bufsize
int fixed_smartlist::direction

Definition at line 612 of file df1b2fun.h.

Referenced by allocate(), read_buffer(), set_backword(), set_forward(), and set_reverse().

double* fixed_smartlist::doubleptr

Definition at line 620 of file df1b2fun.h.

Referenced by allocate().

int fixed_smartlist::end_saved

Definition at line 619 of file df1b2fun.h.

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

off_t fixed_smartlist::endof_file_ptr

Definition at line 613 of file df1b2fun.h.

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

int fixed_smartlist::eof_flag

Definition at line 618 of file df1b2fun.h.

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

adstring fixed_smartlist::filename

Definition at line 629 of file df1b2fun.h.

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

int fixed_smartlist::fp
size_t fixed_smartlist::nentries

Definition at line 611 of file df1b2fun.h.

Referenced by allocate(), and fixed_smartlist().

int fixed_smartlist::noreadflag
fixed_list_entry* fixed_smartlist::recend

Definition at line 623 of file df1b2fun.h.

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

fixed_list_entry* fixed_smartlist::sbptr

Definition at line 627 of file df1b2fun.h.

Referenced by restoreposition(), and saveposition().

fixed_list_entry* fixed_smartlist::true_buffend

Definition at line 622 of file df1b2fun.h.

Referenced by allocate().

fixed_list_entry* fixed_smartlist::true_buffer

Definition at line 621 of file df1b2fun.h.

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

int fixed_smartlist::written_flag

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