MISR Toolkit  1.5.1
H5StrcreatProp.h
Go to the documentation of this file.
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 COPYING file, which can be found at the root of the source code *
10  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
11  * If you do not have access to either file, you may request a copy from *
12  * help@hdfgroup.org. *
13  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
14 
15 #ifndef __H5StrCreatPropList_H
16 #define __H5StrCreatPropList_H
17 
18 namespace H5 {
19 
20 // Class StrCreatPropList is not user-accessible. It provides
21 // wrappers for the HDF5 string creation properties.
22 
23 // Inheritance: PropList -> IdComponent
25  public:
26  // There is no StrCreatPropList::DEFAULT;
27 
28  // Returns this class name.
29  virtual H5std_string fromClass () const { return("StrCreatPropList"); }
30 
31  // Sets the character encoding of the string.
32  void setCharEncoding(H5T_cset_t encoding) const;
33 
34  // Gets the character encoding of the string.
35  H5T_cset_t getCharEncoding() const;
36 
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38  protected:
39  // Creates a string creation property list.
41 
42  // Copy constructor: same as the original StrCreatPropList.
43  StrCreatPropList(const StrCreatPropList& original);
44 
45  // Creates a copy of an existing string creation property list
46  // using the property list id.
47  StrCreatPropList(const hid_t plist_id);
48 
49  // Noop destructor
50  virtual ~StrCreatPropList() {};
51 
52 #endif // DOXYGEN_SHOULD_SKIP_THIS
53 }; // end of StrCreatPropList
54 
55 } // namespace H5
56 
57 #endif // __H5StrCreatPropList_H
#define H5_DLLCPP
Definition: H5api_adpt.h:262
H5T_cset_t
Definition: H5Tpublic.h:78
#define H5std_string
Definition: H5Exception.h:25
virtual H5std_string fromClass() const
Returns this class name.
int hid_t
Definition: H5Ipublic.h:54
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:26
virtual ~StrCreatPropList()

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53