File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ namespace TiffUtils {
2929
3030 ~TiffInfo () { close (); }
3131
32+ /* *
33+ * Return string information about opened TIFF file
34+ **/
3235 std::string toString () const {
3336 if (iFile == nullptr ) {
3437 return " <File not opened>" ;
@@ -58,6 +61,9 @@ namespace TiffUtils {
5861 return outputStr.str ();
5962 }
6063
64+ /* *
65+ * return true if file is opened
66+ **/
6167 bool isFileOpened () const { return iFile != nullptr ; }
6268
6369 TiffType iType = TiffType::TIFF_INVALID;
@@ -75,6 +81,9 @@ namespace TiffUtils {
7581 TiffInfo (const TiffInfo&) = delete ; // make it noncopyable
7682 TiffInfo& operator =(const TiffInfo&) = delete ; // make it not assignable
7783
84+ /* *
85+ * opens TIFF
86+ **/
7887 bool open (const std::string &aFileName) {
7988
8089 std::cout << " Opening file: [" << (aFileName == " " ? " null" : aFileName) << " ]" << std::endl;
@@ -177,7 +186,6 @@ namespace TiffUtils {
177186 void getMesh (const TiffInfo &aTiff, MeshData<T> &aInputMesh) {
178187 if (!aTiff.isFileOpened ()) return ;
179188
180- // Prepeare preallocated MeshData object for TIF
181189 std::cout << " getMesh: " << aInputMesh << std::endl;
182190
183191 // Get some more data from TIFF needed during reading
You can’t perform that action at this time.
0 commit comments