mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r5932]
Purpose: use H5_DLLCPP to replacer __DLLCPP__ for c++ interfaces. Description: Solution: Platforms tested: linux 2.2.18smp, IRIX64, solaris 2.7, windows 2000
This commit is contained in:
parent
e5b28ef37b
commit
fcc1eea172
@ -10,7 +10,7 @@
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
namespace H5 {
|
||||
#endif
|
||||
class __DLLCPP__ AbstractDs : public H5Object {
|
||||
class H5_DLLCPP AbstractDs : public H5Object {
|
||||
public:
|
||||
// Gets the dataspace of this abstract dataset - pure virtual
|
||||
virtual DataSpace getSpace() const = 0;
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
namespace H5 {
|
||||
#endif
|
||||
class __DLLCPP__ AtomType : public DataType {
|
||||
class H5_DLLCPP AtomType : public DataType {
|
||||
public:
|
||||
// Sets the total size for an atomic datatype.
|
||||
void setSize( size_t size ) const;
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ Attribute : public AbstractDs {
|
||||
class H5_DLLCPP Attribute : public AbstractDs {
|
||||
public:
|
||||
// Writes data to this attribute.
|
||||
void write(const DataType& mem_type, const void *buf ) const;
|
||||
|
@ -12,7 +12,7 @@ namespace H5 {
|
||||
|
||||
class Group;
|
||||
class H5File;
|
||||
class __DLLCPP__ CommonFG {
|
||||
class H5_DLLCPP CommonFG {
|
||||
public:
|
||||
// Creates a new group at this location which can be a file or another group.
|
||||
Group createGroup( const string& name, size_t size_hint = 0 ) const;
|
||||
|
@ -9,7 +9,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ CompType : public DataType {
|
||||
class H5_DLLCPP CompType : public DataType {
|
||||
public:
|
||||
// Creates a new compound datatype, given the type's size
|
||||
CompType( size_t size ); // H5Tcreate
|
||||
|
@ -8,7 +8,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ DataSet : public AbstractDs {
|
||||
class H5_DLLCPP DataSet : public AbstractDs {
|
||||
public:
|
||||
// Gets the dataspace of this dataset.
|
||||
virtual DataSpace getSpace() const;
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ DataSpace : public IdComponent {
|
||||
class H5_DLLCPP DataSpace : public IdComponent {
|
||||
public:
|
||||
// Default DataSpace objects
|
||||
static const DataSpace ALL;
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ DataType : public H5Object {
|
||||
class H5_DLLCPP DataType : public H5Object {
|
||||
public:
|
||||
// Creates a datatype given its class and size
|
||||
DataType( const H5T_class_t type_class, size_t size );
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ DSetCreatPropList : public PropList {
|
||||
class H5_DLLCPP DSetCreatPropList : public PropList {
|
||||
public:
|
||||
static const DSetCreatPropList DEFAULT;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ DSetMemXferPropList : public PropList {
|
||||
class H5_DLLCPP DSetMemXferPropList : public PropList {
|
||||
public:
|
||||
static const DSetMemXferPropList DEFAULT;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ EnumType : public DataType {
|
||||
class H5_DLLCPP EnumType : public DataType {
|
||||
|
||||
public:
|
||||
// Creates an empty enumeration datatype based on a native signed
|
||||
|
@ -8,7 +8,7 @@ namespace H5 {
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ Exception {
|
||||
class H5_DLLCPP Exception {
|
||||
public:
|
||||
// Default constructor
|
||||
Exception();
|
||||
@ -70,7 +70,7 @@ class __DLLCPP__ Exception {
|
||||
string funcName;
|
||||
};
|
||||
|
||||
class __DLLCPP__ FileIException : public Exception {
|
||||
class H5_DLLCPP FileIException : public Exception {
|
||||
public:
|
||||
FileIException();
|
||||
FileIException( const string& func_name, const string& message = NULL);
|
||||
@ -78,7 +78,7 @@ class __DLLCPP__ FileIException : public Exception {
|
||||
virtual ~FileIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ GroupIException : public Exception {
|
||||
class H5_DLLCPP GroupIException : public Exception {
|
||||
public:
|
||||
GroupIException();
|
||||
GroupIException( const string& func_name, const string& message=NULL);
|
||||
@ -86,7 +86,7 @@ class __DLLCPP__ GroupIException : public Exception {
|
||||
virtual ~GroupIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ DataSpaceIException : public Exception {
|
||||
class H5_DLLCPP DataSpaceIException : public Exception {
|
||||
public:
|
||||
DataSpaceIException();
|
||||
DataSpaceIException(const string& func_name, const string& message=NULL);
|
||||
@ -94,7 +94,7 @@ class __DLLCPP__ DataSpaceIException : public Exception {
|
||||
virtual ~DataSpaceIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ DataTypeIException : public Exception {
|
||||
class H5_DLLCPP DataTypeIException : public Exception {
|
||||
public:
|
||||
DataTypeIException();
|
||||
DataTypeIException(const string& func_name, const string& message = NULL);
|
||||
@ -102,7 +102,7 @@ class __DLLCPP__ DataTypeIException : public Exception {
|
||||
virtual ~DataTypeIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ PropListIException : public Exception {
|
||||
class H5_DLLCPP PropListIException : public Exception {
|
||||
public:
|
||||
PropListIException();
|
||||
PropListIException(const string& func_name, const string& message=NULL);
|
||||
@ -110,7 +110,7 @@ class __DLLCPP__ PropListIException : public Exception {
|
||||
virtual ~PropListIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ DataSetIException : public Exception {
|
||||
class H5_DLLCPP DataSetIException : public Exception {
|
||||
public:
|
||||
DataSetIException();
|
||||
DataSetIException(const string& func_name, const string& message=NULL);
|
||||
@ -118,7 +118,7 @@ class __DLLCPP__ DataSetIException : public Exception {
|
||||
virtual ~DataSetIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ AttributeIException : public Exception {
|
||||
class H5_DLLCPP AttributeIException : public Exception {
|
||||
public:
|
||||
AttributeIException();
|
||||
AttributeIException(const string& func_name, const string& message=NULL);
|
||||
@ -126,7 +126,7 @@ class __DLLCPP__ AttributeIException : public Exception {
|
||||
virtual ~AttributeIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ ReferenceException : public Exception {
|
||||
class H5_DLLCPP ReferenceException : public Exception {
|
||||
public:
|
||||
ReferenceException();
|
||||
ReferenceException(const string& func_name, const string& message=NULL);
|
||||
@ -134,7 +134,7 @@ class __DLLCPP__ ReferenceException : public Exception {
|
||||
virtual ~ReferenceException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ LibraryIException : public Exception {
|
||||
class H5_DLLCPP LibraryIException : public Exception {
|
||||
public:
|
||||
LibraryIException();
|
||||
LibraryIException(const string& func_name, const string& message=NULL);
|
||||
@ -142,7 +142,7 @@ class __DLLCPP__ LibraryIException : public Exception {
|
||||
virtual ~LibraryIException();
|
||||
};
|
||||
|
||||
class __DLLCPP__ IdComponentException : public Exception {
|
||||
class H5_DLLCPP IdComponentException : public Exception {
|
||||
public:
|
||||
IdComponentException();
|
||||
IdComponentException(const string& func_name, const string& message=NULL);
|
||||
|
@ -7,7 +7,7 @@ namespace H5 {
|
||||
#endif
|
||||
|
||||
// class for file access properties
|
||||
class __DLLCPP__ FileAccPropList : public PropList {
|
||||
class H5_DLLCPP FileAccPropList : public PropList {
|
||||
public:
|
||||
static const FileAccPropList DEFAULT;
|
||||
|
||||
|
@ -7,7 +7,7 @@ namespace H5 {
|
||||
#endif
|
||||
|
||||
// class for file access properties
|
||||
class __DLLCPP__ FileCreatPropList : public PropList {
|
||||
class H5_DLLCPP FileCreatPropList : public PropList {
|
||||
public:
|
||||
static const FileCreatPropList DEFAULT;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ H5File : public IdComponent, public CommonFG {
|
||||
class H5_DLLCPP H5File : public IdComponent, public CommonFG {
|
||||
public:
|
||||
// Default constructor
|
||||
H5File();
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ FloatType : public AtomType {
|
||||
class H5_DLLCPP FloatType : public AtomType {
|
||||
public:
|
||||
// default constructor
|
||||
FloatType();
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ Group : public H5Object, public CommonFG {
|
||||
class H5_DLLCPP Group : public H5Object, public CommonFG {
|
||||
public:
|
||||
// default constructor
|
||||
Group();
|
||||
|
@ -9,7 +9,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ IdComponent {
|
||||
class H5_DLLCPP IdComponent {
|
||||
public:
|
||||
// Parent classes must reset the current IdComponent copy
|
||||
// before setting new id to control reference count
|
||||
|
@ -13,7 +13,7 @@ namespace H5 {
|
||||
// a member function so it can be template to work around that problem.
|
||||
|
||||
template <class Type>
|
||||
__DLLCPP__ void resetIdComponent(
|
||||
H5_DLLCPP void resetIdComponent(
|
||||
Type* obj ) // pointer to object to be reset
|
||||
{
|
||||
if( obj->noReference()) // ref count of this object is decremented here
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
namespace H5 {
|
||||
#endif
|
||||
class __DLLCPP__ IntType : public AtomType {
|
||||
class H5_DLLCPP IntType : public AtomType {
|
||||
public:
|
||||
|
||||
// default constructor
|
||||
|
@ -12,7 +12,7 @@ namespace H5 {
|
||||
// It is not even working, inifiteloop message still printed when
|
||||
// calling H5close
|
||||
|
||||
class __DLLCPP__ H5Library {
|
||||
class H5_DLLCPP H5Library {
|
||||
public:
|
||||
static bool need_cleanup; // indicates if H5close should be called
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ H5Object; // forward declaration for UserData4Aiterate
|
||||
class H5_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 __DLLCPP__ H5Object : public IdComponent {
|
||||
class H5_DLLCPP H5Object : public IdComponent {
|
||||
public:
|
||||
// Pure virtual function so appropriate close function can
|
||||
// be called by subclasses' for the corresponding HDF5 object
|
||||
|
@ -11,7 +11,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ PredType : public AtomType {
|
||||
class H5_DLLCPP PredType : public AtomType {
|
||||
public:
|
||||
// Default destructor
|
||||
virtual ~PredType();
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ PropList : public IdComponent {
|
||||
class H5_DLLCPP PropList : public IdComponent {
|
||||
public:
|
||||
// Default property list
|
||||
static const PropList DEFAULT;
|
||||
|
@ -22,7 +22,7 @@ const bool true = 1;
|
||||
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ RefCounter {
|
||||
class H5_DLLCPP RefCounter {
|
||||
public:
|
||||
// Creates a reference counter to be used by an HDF5 object
|
||||
RefCounter();
|
||||
|
@ -6,7 +6,7 @@
|
||||
namespace H5 {
|
||||
#endif
|
||||
|
||||
class __DLLCPP__ StrType : public AtomType {
|
||||
class H5_DLLCPP StrType : public AtomType {
|
||||
public:
|
||||
// default constructor
|
||||
StrType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user