~ubuntu-branches/debian/sid/atkmm1.6/sid

« back to all changes in this revision

Viewing changes to atk/atkmm/relationset.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Simon McVittie, Michael Biebl
  • Date: 2015-09-28 13:19:44 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20150928131944-2a23bbzyd1w4riuf
Tags: 2.24.1-1
[ Simon McVittie ]
* debian/copyright: add some missing copyright holders

[ Michael Biebl ]
* New upstream release.
* Drop obsolete Breaks/Replaces from pre-wheezy.
* Update Build-Depends as per configure.ac:
  - Bump libglibmm-2.4-dev to (>= 2.46.1)
  - Bump libatk1.0-dev to (>= 1.18)
  - Bump mm-common to (>= 0.9.8)
* Bump Standards-Version to 3.9.6.
* Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer and move
  Krzysztof Klimonda to Uploaders.
* Bump SHVER to 2.24.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c++ -*-
2
 
// Generated by gtkmmproc -- DO NOT MODIFY!
 
2
// Generated by gmmproc 2.46.1 -- DO NOT MODIFY!
3
3
#ifndef _ATKMM_RELATIONSET_H
4
4
#define _ATKMM_RELATIONSET_H
5
5
 
37
37
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
38
38
 
39
39
 
 
40
#ifndef DOXYGEN_SHOULD_SKIP_THIS
40
41
namespace Atk
41
42
{ class RelationSet_Class; } // namespace Atk
 
43
#endif //DOXYGEN_SHOULD_SKIP_THIS
 
44
 
42
45
namespace Atk
43
46
{
44
47
 
56
59
  typedef AtkRelationSet BaseObjectType;
57
60
  typedef AtkRelationSetClass BaseClassType;
58
61
 
 
62
  // noncopyable
 
63
  RelationSet(const RelationSet&) = delete;
 
64
  RelationSet& operator=(const RelationSet&) = delete;
 
65
 
59
66
private:  friend class RelationSet_Class;
60
67
  static CppClassType relationset_class_;
61
68
 
62
 
private:
63
 
  // noncopyable
64
 
  RelationSet(const RelationSet&);
65
 
  RelationSet& operator=(const RelationSet&);
66
 
 
67
69
protected:
68
70
  explicit RelationSet(const Glib::ConstructParams& construct_params);
69
71
  explicit RelationSet(AtkRelationSet* castitem);
71
73
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
72
74
 
73
75
public:
74
 
  virtual ~RelationSet();
 
76
 
 
77
  RelationSet(RelationSet&& src) noexcept;
 
78
  RelationSet& operator=(RelationSet&& src) noexcept;
 
79
 
 
80
  virtual ~RelationSet() noexcept;
75
81
 
76
82
  /** Get the GType for this class, for use with the underlying GObject type system.
77
83
   */
104
110
 
105
111
  /** Determines whether the relation set contains a relation that matches the
106
112
   * specified type.
 
113
   * 
107
114
   * @param relationship An Atk::RelationType.
108
115
   * @return <tt>true</tt> if @a relationship is the relationship type of a relation
109
116
   * in @a set, <tt>false</tt> otherwise.
113
120
  /** Removes a relation from the relation set.
114
121
   * This function unref's the Atk::Relation so it will be deleted unless there
115
122
   * is another reference to it.
 
123
   * 
116
124
   * @param relation An Atk::Relation.
117
125
   */
118
126
  void set_remove(const Glib::RefPtr<Relation>& relation);
122
130
   * This function ref's the AtkRelation so the caller of this function
123
131
   * should unref it to ensure that it will be destroyed when the AtkRelationSet
124
132
   * is destroyed.
 
133
   * 
125
134
   * @param relation An Atk::Relation.
126
135
   */
127
136
  void set_add(const Glib::RefPtr<Relation>& relation);
128
137
  
129
138
  /** Determines the number of relations in a relation set.
 
139
   * 
130
140
   * @return An integer representing the number of relations in the set.
131
141
   */
132
142
  int get_n_relations() const;
133
143
  
134
144
  /** Determines the relation at the specified position in the relation set.
 
145
   * 
135
146
   * @param i A <tt>int</tt> representing a position in the set, starting from 0.
136
 
   * @return A Atk::Relation, which is the relation at position i in the set.
 
147
   * @return A Atk::Relation, which is the relation at
 
148
   * position i in the set.
137
149
   */
138
150
  Glib::RefPtr<Relation> get_relation(gint i);
139
151
  
140
152
  /** Finds a relation that matches the specified type.
 
153
   * 
141
154
   * @param relationship An Atk::RelationType.
142
 
   * @return An Atk::Relation, which is a relation matching the specified type.
 
155
   * @return An Atk::Relation, which is a relation matching the
 
156
   * specified type.
143
157
   */
144
158
  Glib::RefPtr<Relation> get_relation(RelationType relationship);
145
159
  
150
164
   * is added to the relation.
151
165
   * 
152
166
   * @newin{1,9}
 
167
   * 
153
168
   * @param relationship An Atk::RelationType.
154
169
   * @param target An Atk::Object.
155
170
   */