summaryrefslogtreecommitdiff
path: root/modules/hdf5/src/cpp/H5HardLink.hxx
blob: a99e560d1ed6a0e16fb6321592b48eaa075c2f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
 *
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at
 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
 *
 */

#ifndef __H5HARDLINK_HXX__
#define __H5HARDLINK_HXX__

#include "H5Link.hxx"

namespace org_modules_hdf5
{

class H5Object;

class H5HardLink : public H5Link
{
public:

    H5HardLink(H5Object & _parent, const char * name) : H5Link(_parent, name) { }
    H5HardLink(H5Object & _parent, const std::string & name) : H5Link(_parent, name) { }

    virtual ~H5HardLink() { }

    virtual std::string toString(const unsigned int indentLevel) const;
    virtual std::string dump(std::map<haddr_t, std::string> & alreadyVisited, const unsigned int indentLevel = 0) const;

    H5Object & getLinkedObject() const;
    virtual std::string getLinkType() const;

    virtual void getAccessibleAttribute(const std::string & name, const int pos, void * pvApiCtx) const;
};
}

#endif // __H5HARDLINK_HXX__