source: anuga_core/install/winxp/NetCDFWinInstaller/include/H5IntType.h @ 7310

Last change on this file since 7310 was 7310, checked in by rwilson, 15 years ago

Added the NetCDF Windows installer.

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1// C++ informative line for the emacs editor: -*- C++ -*-
2/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3 * Copyright by The HDF Group.                                               *
4 * Copyright by the Board of Trustees of the University of Illinois.         *
5 * All rights reserved.                                                      *
6 *                                                                           *
7 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
8 * terms governing use, modification, and redistribution, is contained in    *
9 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
10 * of the source code distribution tree; Copyright.html can be found at the  *
11 * root level of an installed copy of the electronic HDF5 document set and   *
12 * is linked from the top-level documents page.  It can also be found at     *
13 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
14 * access to either file, you may request a copy from help@hdfgroup.org.     *
15 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
16
17#ifndef _H5IntType_H
18#define _H5IntType_H
19
20#ifndef H5_NO_NAMESPACE
21namespace H5 {
22#endif
23
24class H5_DLLCPP IntType : public AtomType {
25   public:
26        // Creates a integer type using a predefined type
27        IntType(const PredType& pred_type);
28
29        // Gets the integer datatype of the specified dataset
30        IntType(const DataSet& dataset);
31
32        // Retrieves the sign type for an integer type
33        H5T_sign_t getSign() const;
34
35        // Sets the sign proprety for an integer type.
36        void setSign( H5T_sign_t sign ) const;
37
38        // Returns this class name
39        virtual H5std_string fromClass () const { return("IntType"); }
40
41        // Default constructor
42        IntType();
43
44        // Creates a integer datatype using an existing id
45        IntType(const hid_t existing_id);
46
47        // Copy constructor: makes copy of IntType object
48        IntType(const IntType& original);
49
50        // Noop destructor.
51        virtual ~IntType();
52};
53#ifndef H5_NO_NAMESPACE
54}
55#endif
56#endif
Note: See TracBrowser for help on using the repository browser.