HDF5 C++ API Reference Manual

 

 

 

Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Examples

H5IntType.h

Go to the documentation of this file.
00001 // C++ informative line for the emacs editor: -*- C++ -*-
00002 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html.  If you do not have     *
00013  * access to either file, you may request a copy from [email protected]. *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 #ifndef _H5IntType_H
00017 #define _H5IntType_H
00018 
00019 #ifndef H5_NO_NAMESPACE
00020 namespace H5 {
00021 #endif
00022 class H5_DLLCPP IntType : public AtomType {
00023    public:
00024         // Creates a integer type using a predefined type
00025         IntType(const PredType& pred_type);
00026 
00027         // Gets the integer datatype of the specified dataset
00028         IntType(const DataSet& dataset);
00029 
00030         // Retrieves the sign type for an integer type
00031         H5T_sign_t getSign() const;
00032 
00033         // Sets the sign proprety for an integer type.
00034         void setSign( H5T_sign_t sign ) const;
00035 
00036         // Returns this class name
00037         virtual string fromClass () const { return ("IntType"); }
00038 
00039         // Default constructor
00040         IntType();
00041 
00042         // Creates a integer datatype using an existing id
00043         IntType(const hid_t existing_id);
00044 
00045         // Copy constructor: makes copy of IntType object
00046         IntType(const IntType& original);
00047 
00048         // Noop destructor.
00049         virtual ~IntType();
00050 };
00051 #ifndef H5_NO_NAMESPACE
00052 }
00053 #endif
00054 #endif

Generated on Mon Oct 31 04:59:47 2005 by  doxygen 1.4.2