Explorar o código

creating include file which includes the others

Patrik Kovacs %!s(int64=6) %!d(string=hai) anos
pai
achega
01353e574c
Modificáronse 2 ficheiros con 17 adicións e 2 borrados
  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;