Pārlūkot izejas kodu

Remove unsused file

Moritz Wanzenböck 7 gadi atpakaļ
vecāks
revīzija
ba7c13ac1d
2 mainītis faili ar 0 papildinājumiem un 98 dzēšanām
  1. 0 1
      CMakeLists.txt
  2. 0 97
      include/hdf4cpp/HdfAttribute_priv.h

+ 0 - 1
CMakeLists.txt

@@ -37,7 +37,6 @@ add_library(hdf4cpp
         lib/HdfException.cpp
         include/hdf4cpp/HdfObject.h
         include/hdf4cpp/HdfAttribute.h
-        include/hdf4cpp/HdfAttribute_priv.h
         include/hdf4cpp/HdfException.h
         include/hdf4cpp/HdfFile.h
         include/hdf4cpp/HdfItem.h

+ 0 - 97
include/hdf4cpp/HdfAttribute_priv.h

@@ -1,97 +0,0 @@
-/// \copyright Copyright (c) Catalysts GmbH
-/// \author Patrik Kovacs, Catalysts GmbH
-
-#ifndef HDF4CPP_HDFATTRIBUTE_PRIV_H
-#define HDF4CPP_HDFATTRIBUTE_PRIV_H
-
-#include <hdf4cpp/HdfAttribute.h>
-#include <hdf4cpp/HdfException.h>
-#include <hdf4cpp/HdfObject.h>
-
-#include <hdf.h>
-#include <mfhdf.h>
-#include <string>
-#include <vector>
-#include <map>
-#include <memory>
-
-namespace hdf4cpp {
-
-/// The base class of the attribute classes
-class HdfAttribute::HdfAttributeBase : public HdfObject {
-  public:
-    HdfAttributeBase(int32 id, int32 index, Type type, const HdfDestroyerChain& chain) : HdfObject(type,
-                                                                                                   ATTRIBUTE,
-                                                                                                   chain),
-                                                                                         id(id),
-                                                                                         index(index) {
-        if (id == FAIL || index == FAIL) {
-            raiseException(INVALID_ID);
-        }
-    }
-    virtual ~HdfAttributeBase() {}
-
-    /// \returns The number of existing data in the attribute
-    virtual int32 size() const = 0;
-
-    /// \returns The data type number of the data held by the attribute
-    virtual int32 getDataType() const = 0;
-
-    /// Reads the data from the attribute
-    /// \param dest The destination vector
-    virtual void get(void* dest) = 0;
-  protected:
-    int32 id;
-
-    int32 index;
-};
-
-/// Attribute class for the SData attributes
-class HdfAttribute::HdfDatasetAttribute : public HdfAttributeBase {
-public:
-    HdfDatasetAttribute(int32 id, const std::string& name, const HdfDestroyerChain& chain);
-
-    int32 size() const;
-
-private:
-    int32 _size;
-    int32 dataType;
-
-    void get(void *dest);
-    int32 getDataType() const;
-};
-
-/// Attribute class for the VGroup attributes
-class HdfAttribute::HdfGroupAttribute : public HdfAttributeBase {
-public:
-    HdfGroupAttribute(int32 id, const std::string& name, const HdfDestroyerChain& chain);
-
-    int32 size() const;
-
-private:
-    int32 _size;
-    int32 dataType;
-
-    void get(void *dest);
-    int32 getDataType() const;
-};
-
-/// Attribute class for the VData attributes
-class HdfAttribute::HdfDataAttribute : public HdfAttributeBase {
-public:
-    HdfDataAttribute(int32 id, const std::string& name, const HdfDestroyerChain& chain);
-
-    int32 size() const;
-
-private:
-    int32 _size;
-    int32 dataType;
-    void get(void *dest);
-    int32 getDataType() const;
-};
-
-
-
-}
-
-#endif //HDF4CPP_HDFATTRIBUTE_PRIV_H