Segment_file Class Reference

#include <segfile.h>

Collaboration diagram for Segment_file:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Segment_file (std::string nm)
int get_num_segments ()
int is_good ()
char * retrieve (uint32 index, std::size_t &len)

Private Attributes

std::string filename
std::ifstream file
uint32 num_segments

Detailed Description

Definition at line 32 of file segfile.h.


Constructor & Destructor Documentation

Segment_file::Segment_file ( std::string  nm  ) 

Definition at line 35 of file segfile.cc.

References file, Read4(), and U7open().

Here is the call graph for this function:


Member Function Documentation

int Segment_file::get_num_segments (  )  [inline]

Definition at line 39 of file segfile.h.

References num_segments.

int Segment_file::is_good (  )  [inline]

Definition at line 41 of file segfile.h.

References num_segments.

char * Segment_file::retrieve ( uint32  index,
std::size_t &  len 
)

Definition at line 53 of file segfile.cc.

References file, offset, and Read4().

Here is the call graph for this function:


Member Data Documentation

std::string Segment_file::filename [private]

Definition at line 34 of file segfile.h.

std::ifstream Segment_file::file [private]

Definition at line 35 of file segfile.h.

uint32 Segment_file::num_segments [private]

Definition at line 36 of file segfile.h.

Referenced by get_num_segments(), and is_good().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:02:01 2007 for ExultEngine by  doxygen 1.5.1