summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Object.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-02-16 00:49:46 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-02-16 00:49:46 (GMT)
commit855aa23823a1091262524773626de3d920838e72 (patch)
tree6e8408e2341b007323405575051f39c76c61ead9 /c++/src/H5Object.h
parent7b3df5b3f4bee819277e8a72e208437eb6ed5f26 (diff)
downloadhdf5-855aa23823a1091262524773626de3d920838e72.zip
hdf5-855aa23823a1091262524773626de3d920838e72.tar.gz
hdf5-855aa23823a1091262524773626de3d920838e72.tar.bz2
[svn-r4977]
Purpose: Adding support for dll Description: Added __DLLCPP__ to all public classes and templates. Added #include "H5Include.h" to H5RefCounter.cpp because of the use of DLLCPP in .h file and it needs the following chain: H5Include.h/hdf5.h/H5public.h/H5api_adpt.h Added #pragma warning(disable: 4251) to H5Exception.h to eliminate this warning on private data members of type 'string.' This occurs because 'string' is not yet instantiated at compilation time; however, since the class is exported, the warning is harmless. Changed this member function's parameter to be passed as reference. from: void CompType::insertMember( const string name,... to: void CompType::insertMember( const string& name,... Platforms tested: Linux 6.2 (eirene) Windows 2000
Diffstat (limited to 'c++/src/H5Object.h')
-rw-r--r--c++/src/H5Object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Object.h b/c++/src/H5Object.h
index 6ffe927..e02c3b3 100644
--- a/c++/src/H5Object.h
+++ b/c++/src/H5Object.h
@@ -13,7 +13,7 @@
namespace H5 {
#endif
-class H5Object; // forward declaration for UserData4Aiterate
+class __DLLCPP__ H5Object; // forward declaration for UserData4Aiterate
// Define the operator function pointer for H5Aiterate().
typedef void (*attr_operator_t)( H5Object& loc/*in*/,
@@ -30,7 +30,7 @@ class UserData4Aiterate { // user data for attribute iteration
// The above part is being moved into Iterator, but not completed
-class H5Object : public IdComponent {
+class __DLLCPP__ H5Object : public IdComponent {
public:
// Pure virtual function so appropriate close function can
// be called by subclasses' for the corresponding HDF5 object