8 #include "BufferManager.h"
13 #include "IException.h"
18 BufferManager::BufferManager() {
45 BufferManager::BufferManager(
int maxsamps,
int maxlines,
46 int maxbands,
int bufsamps,
47 int buflines,
int bufbands,
49 Isis::
Buffer(bufsamps, buflines, bufbands, type),
50 p_maxSamps(maxsamps), p_maxLines(maxlines),
51 p_maxBands(maxbands) {
65 p_maxSamps(other.p_maxSamps), p_maxLines(other.p_maxLines),
66 p_maxBands(other.p_maxBands), p_sinc(other.p_sinc), p_linc(other.p_linc),
67 p_binc(other.p_binc), p_soff(other.p_soff), p_loff(other.p_loff),
68 p_boff(other.p_boff), p_currentSample(other.p_currentSample),
69 p_currentLine(other.p_currentLine), p_currentBand(other.p_currentBand),
70 p_nmaps(other.p_nmaps), p_currentMap(other.p_currentMap),
71 p_reverse(other.p_reverse) {
229 map /= sampDimension;
236 map /= lineDimension;
246 map /= bandDimension;
253 map /= lineDimension;
263 string message =
"Invalid value for argument [map]";