Description:
- Completed the changes in revisions r22836 and r23438 with improvement
on wrappers such as reference, dereference, get region, and set/getcomment.
- Added more tests.
Platforms tested:
Linux/32 2.6 (jam)
SunOS 5.11 (emu)
Linux/ppc64 (ostrich)
75 lines
3.1 KiB
C++
75 lines
3.1 KiB
C++
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
* Copyright by The HDF Group. *
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
* All rights reserved. *
|
|
* *
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
* terms governing use, modification, and redistribution, is contained in *
|
|
* the files COPYING and Copyright.html. COPYING can be found at the root *
|
|
* of the source code distribution tree; Copyright.html can be found at the *
|
|
* root level of an installed copy of the electronic HDF5 document set and *
|
|
* is linked from the top-level documents page. It can also be found at *
|
|
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
|
|
* access to either file, you may request a copy from help@hdfgroup.org. *
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
#include <string>
|
|
|
|
#include "H5Include.h"
|
|
#include "H5Exception.h"
|
|
#include "H5IdComponent.h"
|
|
#include "H5PropList.h"
|
|
#include "H5Object.h"
|
|
#include "H5DcreatProp.h"
|
|
#include "H5DxferProp.h"
|
|
#include "H5FaccProp.h"
|
|
#include "H5FcreatProp.h"
|
|
#include "H5CommonFG.h"
|
|
#include "H5DataType.h"
|
|
#include "H5DataSpace.h"
|
|
#include "H5AbstractDs.h"
|
|
#include "H5File.h"
|
|
#include "H5DataSet.h"
|
|
#include "H5Attribute.h"
|
|
|
|
#ifndef H5_NO_NAMESPACE
|
|
namespace H5 {
|
|
#endif
|
|
|
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
|
//--------------------------------------------------------------------------
|
|
// Function: H5Object default constructor (protected)
|
|
// Programmer Binh-Minh Ribler - 2000
|
|
//--------------------------------------------------------------------------
|
|
H5Object::H5Object() : H5Location() {}
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Function: H5Object overloaded constructor (protected)
|
|
// Purpose Creates an H5Object object using the id of an existing HDF5
|
|
// object.
|
|
// Parameters object_id - IN: Id of an existing HDF5 object
|
|
// Programmer Binh-Minh Ribler - 2000
|
|
//--------------------------------------------------------------------------
|
|
H5Object::H5Object( const hid_t object_id ) : H5Location( object_id ) {}
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Function: H5Object copy constructor
|
|
///\brief Copy constructor: makes a copy of the original H5Object
|
|
/// instance.
|
|
///\param original - IN: H5Object instance to copy
|
|
// Programmer Binh-Minh Ribler - 2000
|
|
//--------------------------------------------------------------------------
|
|
H5Object::H5Object( const H5Object& original ) : H5Location( original ) {}
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Function: H5Object destructor
|
|
///\brief Noop destructor.
|
|
// Programmer Binh-Minh Ribler - 2000
|
|
//--------------------------------------------------------------------------
|
|
H5Object::~H5Object() {}
|
|
#endif // DOXYGEN_SHOULD_SKIP_THIS
|
|
|
|
#ifndef H5_NO_NAMESPACE
|
|
} // end namespace
|
|
#endif
|