コード例 #1
0
        public void H5OcopyTest2()
        {
            Assert.IsTrue(H5L.create_soft("/my/fantastic/path",
                                          m_v0_test_file, "A") >= 0);

            Assert.IsTrue(H5O.copy(m_v0_test_file, ".", m_v2_test_file,
                                   "C/B/A_copy", H5P.DEFAULT, m_lcpl) >= 0);
        }
コード例 #2
0
        public void H5OcopyTest1()
        {
            hid_t gid = H5G.create(m_v0_test_file, "A/B/C", m_lcpl);

            Assert.IsTrue(gid >= 0);

            Assert.IsTrue(
                H5O.copy(m_v0_test_file, "A", m_v2_test_file, "A_copy") >= 0);

            Assert.IsTrue(H5L.exists(m_v2_test_file, "A_copy/B/C") > 0);

            Assert.IsTrue(H5G.close(gid) >= 0);
        }