Enumerators.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file Enumerators.h
22 
23  \brief Several enumerators for XLink support.
24 
25 
26  */
27 
28 #ifndef __TERRALIB_XLINK_INTERNAL_ENUMERATORS_H
29 #define __TERRALIB_XLINK_INTERNAL_ENUMERATORS_H
30 
31 namespace te
32 {
33  namespace xl
34  {
35  /*!
36  \enum ShowType
37 
38  \brief The show type attribute is used to communicate the desired presentation of the ending resource on traversal from the starting resource.
39 
40 
41  */
42  enum ShowType
43  {
44  SHOW_NEW, /*!< Load ending resource in a new window, frame, pane, or other
45  presentation context. */
46  SHOW_REPLACE, /*!< Load the resource in the same window, frame, pane, or
47  other presentation context. */
48  SHOW_EMBED, /*!< Load ending resource in place of the presentation of the
49  starting resource. */
50  SHOW_OTHER, /*!< Behavior is unconstrained; examine other markup in the
51  link for hints. */
52  SHOW_NONE /*!< Behavior is unconstrained. */
53  };
54 
55  /*!
56  \enum ActuateType
57 
58  \brief The actuate type attribute is used to communicate the desired timing of traversal from the starting resource to the ending resource.
59 
60 
61  */
63  {
64  ACTUATE_ONLOAD, /*!< Traverse to the ending resource immediately on loading
65  the starting resource. */
66  ACTUATE_ONREQUEST, /*!< Traverse from the starting resource to the ending
67  resource only on a post-loading event triggered for
68  this purpose. */
69  ACTUATE_OTHER, /*!< Behavior is unconstrained; examine other markup in link
70  for hints. */
71  ACTUATE_NONE /*!< Behavior is unconstrained. */
72  };
73 
74  } // end namespace xl
75 } // end namespace te
76 
77 #endif // __TERRALIB_XLINK_INTERNAL_ENUMERATORS_H
78 
ShowType
The show type attribute is used to communicate the desired presentation of the ending resource on tra...
Definition: Enumerators.h:42
ActuateType
The actuate type attribute is used to communicate the desired timing of traversal from the starting r...
Definition: Enumerators.h:62
URI C++ Library.