Ginga  0.13.6.1771-df200
The iTV middleware.
NclLink.h
Go to the documentation of this file.
1 /* Copyright (C) 2006-2017 PUC-Rio/Laboratorio TeleMidia
2 
3 This file is part of Ginga (Ginga-NCL).
4 
5 Ginga is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9 
10 Ginga is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with Ginga. If not, see <http://www.gnu.org/licenses/>. */
17 
18 #ifndef NCL_LINK_H
19 #define NCL_LINK_H
20 
21 #include "NclBind.h"
22 
24 
25 class NclContext;
26 class NclLink: public NclEntity
27 {
28 public:
29  NclLink (NclDocument *, const string &);
30  ~NclLink ();
31 
32  const list<NclBind *> *getBinds ();
33  void addBind (NclBind *);
34  bool contains (NclNode *, bool);
35 
36  const map<string, string> *getGhostBinds ();
37  string getGhostBind (const string &);
38  void setGhostBind (const string &, const string &);
39 
40 private:
41  list<NclBind *> _binds;
42  map<string, string> _ghost_binds;
43 };
44 
46 
47 #endif // NCL_LINK_H
Definition: NclDocument.h:25
Definition: NclBind.h:27
Definition: NclEntity.h:26
#define GINGA_NAMESPACE_END
Definition: aux-ginga.h:62
Definition: NclContext.h:26
#define GINGA_NAMESPACE_BEGIN
Definition: aux-ginga.h:61
Definition: NclNode.h:26