Ask a Question | Search DSPSR: |
Home
|
dsp::BlockFile Class Reference Loads BitSeries data from a file organized in blocks. More...
Inheritance diagram for dsp::BlockFile:
Detailed DescriptionLoads BitSeries data from a file organized in blocks. Constructor & Destructor Documentation◆ ~BlockFile()
Virtual destructor. Destructor. Member Function Documentation◆ fstat_file_ndat()
Return ndat given the file and header sizes, nchan, npol, and ndim. Called by open_file for some file types, to determine that the header ndat matches the file size. Requires 'info' parameters nchan, npol, and ndim as well as header_bytes to be correctly set Reimplemented from dsp::File. ◆ load_bytes()
Load nbyte bytes of sampled data from the device into buffer. Load bytes from file. If the data stored on the device contains information other than the sampled data, this method should be overloaded and the additional information should be filtered out. Reimplemented from dsp::File. Reimplemented in dsp::Mark5File, and dsp::Mark5bFile. ◆ seek_bytes()
Set the file pointer to the absolute number of sampled data bytes. Adjust the file pointer. If the header_bytes attribute is set, this number of bytes will be subtracted by File::seek_bytes before seeking. If the data stored on the device after the header contains information other than the sampled data, this method should be overloaded and the additional information should be skipped. Reimplemented from dsp::File. Reimplemented in dsp::Mark5File, and dsp::Mark5bFile. ◆ skip_extra()
Skip (by seeking the file pointer) the next tailer and header. Optionally return the number of missing blocks; otherwise return zero or throw an exception on error. Derived types should calculate and return number of missed packets Reimplemented in dsp::VDIFFile, dsp::ASPFile, and dsp::GMRTFile. The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|