#include <segfile.h>
Collaboration diagram for Segment_file:

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 |
Definition at line 32 of file segfile.h.
| 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:

| int Segment_file::get_num_segments | ( | ) | [inline] |
| int Segment_file::is_good | ( | ) | [inline] |
| 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:

std::string Segment_file::filename [private] |
std::ifstream Segment_file::file [private] |
uint32 Segment_file::num_segments [private] |
1.5.1