Isis 3.0 Programmer Reference
Back | Home
ControlNetFile.h
1 #ifndef ControlNetFile_h
2 #define ControlNetFile_h
3 
4 namespace Isis {
5  class FileName;
6  class Pvl;
7 
21  public:
29  virtual ~ControlNetFile() {};
30 
39  virtual void Read(const Pvl &header, const FileName &file) = 0;
40 
49  virtual void Write(const FileName &file) const = 0;
50 
54  virtual Pvl toPvl() const = 0;
55 
56  private:
62  ControlNetFile(const ControlNetFile &other);
63 
70  };
71 
72 }
73 
74 // Always include the latest version only
75 #include "ControlNetFileV0002.h"
76 
77 namespace Isis {
79 
84 }
85 
86 #endif
File name manipulation and expansion.
Definition: FileName.h:111
virtual ~ControlNetFile()
Destructor.
Generic Binary Control Net File Representation.
ControlNetFile & operator=(const ControlNetFile &other)
Disallow assignment.
virtual void Read(const Pvl &header, const FileName &file)=0
This reads the binary file into memory.
ControlNetFileV0002 LatestControlNetFile
To minimize changes in other places, allow others to use "Latest".
Container for cube-like labels.
Definition: Pvl.h:135
ControlNetFile()
Constructor.
virtual void Write(const FileName &file) const =0
This writes the binary file that is in memory to disk.
Handle Binary Control Network Files version 2.
virtual Pvl toPvl() const =0
Convert the binary representation to Pvl (any pvl version).

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:16:28