LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1998--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1998--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 /** | 25 /** |
26 The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially | 26 The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially |
27 does nothing, this iterator creates a child iterator and delegates | 27 does nothing, this iterator creates a child iterator and delegates |
28 all work to that child. | 28 all work to that child. |
29 */ | 29 */ |
30 class Music_wrapper_iterator : public Music_iterator | 30 class Music_wrapper_iterator : public Music_iterator |
31 { | 31 { |
32 public: | 32 public: |
33 DECLARE_SCHEME_CALLBACK (constructor, ()); | 33 DECLARE_SCHEME_CALLBACK (constructor, ()); |
34 Music_wrapper_iterator (); | 34 Music_wrapper_iterator (); |
35 DECLARE_CLASSNAME (Music_wrapper_iterator); | 35 OVERRIDE_CLASS_NAME (Music_wrapper_iterator); |
36 | 36 |
37 virtual Context *get_outlet () const; | 37 Context *get_outlet () const override; |
38 virtual void set_context (Context *trans); | 38 void set_context (Context *trans) override; |
39 virtual void derived_substitute (Context *f, Context *t); | 39 void derived_substitute (Context *f, Context *t) override; |
40 virtual void derived_mark () const; | 40 void derived_mark () const override; |
41 virtual void construct_children (); | 41 void construct_children () override; |
42 virtual Moment pending_moment () const; | 42 Moment pending_moment () const override; |
43 virtual void do_quit (); | 43 void do_quit () override; |
44 virtual bool ok () const; | 44 bool ok () const override; |
45 virtual bool run_always () const; | 45 bool run_always () const override; |
46 protected: | 46 protected: |
47 virtual void process (Moment); | 47 void process (Moment) override; |
48 | 48 |
49 Music_iterator *child_iter_; | 49 Music_iterator *child_iter_; |
50 }; | 50 }; |
51 | 51 |
52 #endif /* MUSIC_WRAPPER_ITERATOR_HH */ | 52 #endif /* MUSIC_WRAPPER_ITERATOR_HH */ |
53 | 53 |
LEFT | RIGHT |