Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(173)

Side by Side Diff: lily/include/pointer-group-interface.hh

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
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) 2005--2020 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 2005--2020 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 18 matching lines...) Expand all
29 public: 29 public:
30 static int count (Grob *, SCM); 30 static int count (Grob *, SCM);
31 static void add_grob (Grob *, SCM nm, Grob *e); 31 static void add_grob (Grob *, SCM nm, Grob *e);
32 static void add_grob (Grob *, SCM nm, SCM x); 32 static void add_grob (Grob *, SCM nm, SCM x);
33 static void add_unordered_grob (Grob *, SCM nm, Grob *); 33 static void add_unordered_grob (Grob *, SCM nm, Grob *);
34 static void set_ordered (Grob *, SCM, bool); 34 static void set_ordered (Grob *, SCM, bool);
35 static Grob_array *get_grob_array (Grob *, SCM); 35 static Grob_array *get_grob_array (Grob *, SCM);
36 static Grob *find_grob (Grob *, SCM, bool (*pred) (Grob const *)); 36 static Grob *find_grob (Grob *, SCM, bool (*pred) (Grob const *));
37 }; 37 };
38 38
39 vector<Grob *> const &internal_extract_grob_array (Grob const *elt, SCM symbol); 39 std::vector<Grob *> const &internal_extract_grob_array (Grob const *elt, SCM sym bol);
40 vector<Item *> internal_extract_item_array (Grob const *elt, SCM symbol); 40 std::vector<Item *> internal_extract_item_array (Grob const *elt, SCM symbol);
41 41
42 #define extract_grob_array(x, prop) internal_extract_grob_array (x, ly_symbol2sc m (prop)) 42 #define extract_grob_array(x, prop) internal_extract_grob_array (x, ly_symbol2sc m (prop))
43 #define extract_item_array(x, prop) internal_extract_item_array (x, ly_symbol2sc m (prop)) 43 #define extract_item_array(x, prop) internal_extract_item_array (x, ly_symbol2sc m (prop))
44 44
45 /* 45 /*
46 This is dubious coding style, but lets not risk that we change the 46 This is dubious coding style, but lets not risk that we change the
47 representation of grob sets again. 47 representation of grob sets again.
48 */ 48 */
49 #define extract_grob_set(grob, prop, set) \ 49 #define extract_grob_set(grob, prop, set) \
50 vector<Grob*> const &set (internal_extract_grob_array (grob, ly_symbol2scm (pr op))) 50 std::vector<Grob*> const &set (internal_extract_grob_array (grob, ly_symbol2sc m (prop)))
51 #define extract_item_set(grob, prop, set) \ 51 #define extract_item_set(grob, prop, set) \
52 vector<Item*> set (internal_extract_item_array (grob, ly_symbol2scm (prop))) 52 std::vector<Item*> set (internal_extract_item_array (grob, ly_symbol2scm (prop )))
53 53
54 #endif /* POINTER_GROUP_INTERFACE_HH */ 54 #endif /* POINTER_GROUP_INTERFACE_HH */
55 55
OLDNEW
« flower/include/file-name.hh ('K') | « lily/include/pitch.hh ('k') | lily/include/prob.hh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b