Isis Developer Reference
SampleManager.h
Go to the documentation of this file.
1#ifndef SampleManager_h
2#define SampleManager_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10#include "BufferManager.h"
11#include "Cube.h"
12
13namespace Isis {
35
36 public:
37 // Constructors and Destructors
38 SampleManager(const Isis::Cube &cube, const bool reverse = false);
39
42
43 bool SetSample(const int sample, const int band = 1);
44 };
45};
46
47#endif
48
Manages a Buffer over a cube.
Definition BufferManager.h:52
IO Handler for Isis Cubes.
Definition Cube.h:168
Buffer manager, for moving through a cube in samples.
Definition SampleManager.h:34
~SampleManager()
Destroys the SampleManager object.
Definition SampleManager.h:41
bool SetSample(const int sample, const int band=1)
Positions the buffer at the requested line and returns a status indicator if the set was succesful or...
Definition SampleManager.cpp:44
SampleManager(const Isis::Cube &cube, const bool reverse=false)
Constructs a SampleManager object.
Definition SampleManager.cpp:28
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16