summaryrefslogtreecommitdiffstats
path: root/c++/src/H5VarLenType.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:27:10 (GMT)
commitb2d661b508a7fc7a2592c13bc6bdc175551f075d (patch)
tree13baeb0d83a7c2a4c6299993c182b1227c2f6114 /c++/src/H5VarLenType.h
parent29ab58b58dce556639ea3154e262895773a8a8df (diff)
downloadhdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz
hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2
Clang-format of source files
Diffstat (limited to 'c++/src/H5VarLenType.h')
-rw-r--r--c++/src/H5VarLenType.h48
1 files changed, 26 insertions, 22 deletions
diff --git a/c++/src/H5VarLenType.h b/c++/src/H5VarLenType.h
index ab3c14c..56c699b 100644
--- a/c++/src/H5VarLenType.h
+++ b/c++/src/H5VarLenType.h
@@ -23,36 +23,40 @@ namespace H5 {
*/
// Inheritance: DataType -> H5Object -> H5Location -> IdComponent
class H5_DLLCPP VarLenType : public DataType {
- public:
- // Constructor that creates a variable-length datatype based
- // on the specified base type.
- VarLenType(const DataType& base_type);
+ public:
+ // Constructor that creates a variable-length datatype based
+ // on the specified base type.
+ VarLenType(const DataType &base_type);
- // Deprecated - will be removed after 1.10.2
- VarLenType(const DataType* base_type);
+ // Deprecated - will be removed after 1.10.2
+ VarLenType(const DataType *base_type);
- // Returns an VarLenType object via DataType* by decoding the
- // binary object description of this type.
- virtual DataType* decode() const;
+ // Returns an VarLenType object via DataType* by decoding the
+ // binary object description of this type.
+ virtual DataType *decode() const;
- ///\brief Returns this class name.
- virtual H5std_string fromClass () const { return("VarLenType"); }
+ ///\brief Returns this class name.
+ virtual H5std_string
+ fromClass() const
+ {
+ return ("VarLenType");
+ }
- // Copy constructor: same as the original VarLenType.
- VarLenType(const VarLenType& original);
+ // Copy constructor: same as the original VarLenType.
+ VarLenType(const VarLenType &original);
- // Constructor that takes an existing id
- VarLenType(const hid_t existing_id);
+ // Constructor that takes an existing id
+ VarLenType(const hid_t existing_id);
- // Constructors that open a variable-length datatype, given a location.
- VarLenType(const H5Location& loc, const char* name);
- VarLenType(const H5Location& loc, const H5std_string& name);
+ // Constructors that open a variable-length datatype, given a location.
+ VarLenType(const H5Location &loc, const char *name);
+ VarLenType(const H5Location &loc, const H5std_string &name);
- // Noop destructor
- virtual ~VarLenType();
+ // Noop destructor
+ virtual ~VarLenType();
- // Default constructor
- VarLenType();
+ // Default constructor
+ VarLenType();
}; // end of VarLenType
} // namespace H5