1 /*
2  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15 
16 #ifndef __H5LINK_HXX__
17 #define __H5LINK_HXX__
18 
19 #include "H5Object.hxx"
20 #include "H5File.hxx"
21 
22 namespace org_modules_hdf5
23 {
24 
25 class H5Link : public H5Object
26 {
27 
28 protected:
29 
30 public:
31 
32     H5Link(H5Object & _parent, const std::string & name);
33 
34     virtual ~H5Link();
35 
dump(std::map<haddr_t,std::string> & alreadyVisited,const unsigned int indentLevel=0) const36     virtual std::string dump(std::map<haddr_t, std::string> & alreadyVisited, const unsigned int indentLevel = 0) const
37     {
38         return "";
39     };
40 
getLinkType() const41     virtual std::string getLinkType() const
42     {
43         return "";
44     }
45 
46     static H5Link & getLink(H5Object & _parent, const char * _name);
47     static H5Link & getLink(H5Object & _parent, const std::string & _name);
48 };
49 }
50 
51 #endif // __H5LINK_HXX__
52