Просмотр исходного кода

creating include file which includes the others

Patrik Kovacs 6 лет назад
Родитель
Сommit
01353e574c
2 измененных файлов с 17 добавлено и 2 удалено
  1. 16 0
      include/hdf4cpp/hdf.h
  2. 1 2
      tests/HdfFileTest.cpp

+ 16 - 0
include/hdf4cpp/hdf.h

@@ -0,0 +1,16 @@
+//
+// Created by patrik on 29.08.17.
+//
+
+#ifndef HDF4CPP_HDF_H
+#define HDF4CPP_HDF_H
+
+#include <hdf4cpp/HdfDefines.h>
+#include <hdf4cpp/HdfObject.h>
+#include <hdf4cpp/HdfFile.h>
+#include <hdf4cpp/HdfItem.h>
+#include <hdf4cpp/HdfAttribute.h>
+#include <hdf4cpp/HdfException.h>
+
+
+#endif //HDF4CPP_HDF_H

+ 1 - 2
tests/HdfFileTest.cpp

@@ -3,8 +3,7 @@
 
 
 #include <gtest/gtest.h>
-#include <hdf4cpp/HdfFile.h>
-#include <hdf4cpp/HdfItem.h>
+#include <hdf4cpp/hdf.h>
 
 using namespace hdf4cpp;