]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-layout-problem.hh
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / include / page-layout-problem.hh
index a98d2643542895b0ab125a0e4b229907fbdfafcd..f2b5d6a961184588b368d7887412f55f240a9ba0 100644 (file)
@@ -37,7 +37,7 @@ public:
   static bool read_spacing_spec (SCM spec, Real *dest, SCM sym);
   static bool is_spaceable (Grob *g);
   static SCM get_details (Grob *g);
-  static vector<Grob *> get_footnote_grobs (SCM lines);
+  static std::vector<Grob *> get_footnote_grobs (SCM lines);
   static vsize get_footnote_count (SCM lines);
   static SCM get_footnotes_from_lines (SCM lines);
   static void add_footnotes_to_lines (SCM lines, int counter, Paper_book *pb);
@@ -52,24 +52,24 @@ protected:
 
   void solve_rod_spring_problem (bool ragged, Real fixed_force);
   SCM find_system_offsets ();
-  void distribute_loose_lines (vector<Grob *> const &, vector<Real> const &, Real, Real);
+  void distribute_loose_lines (std::vector<Grob *> const &, std::vector<Real> const &, Real, Real);
 
-  static void build_system_skyline (vector<Grob *> const &, vector<Real> const &, Skyline *up, Skyline *down);
-  static vector<Grob *> filter_dead_elements (vector<Grob *> const &);
+  static void build_system_skyline (std::vector<Grob *> const &, std::vector<Real> const &, Skyline *up, Skyline *down);
+  static std::vector<Grob *> filter_dead_elements (std::vector<Grob *> const &);
 
   // This is a union (in spirit).
   // Either staves must be empty or prob must be null.
   typedef struct Element
   {
     Prob *prob;
-    vector<Grob *> staves;
-    vector<Real> min_offsets;
+    std::vector<Grob *> staves;
+    std::vector<Real> min_offsets;
     // Store the appropriate '*-*-spacing 'padding, and skyline-distance,
     //  considering indentation, from the previous system.
     Real min_distance;
     Real padding;
 
-    Element (vector<Grob *> const &a, vector<Real> const &o, Real m, Real p)
+    Element (std::vector<Grob *> const &a, std::vector<Real> const &o, Real m, Real p)
     {
       staves = a;
       min_offsets = o;
@@ -93,9 +93,9 @@ protected:
   static void alter_spring_from_spacing_spec (SCM spec, Spring *spring);
   static void mark_as_spaceable (Grob *);
 
-  vector<Spring> springs_;
-  vector<Element> elements_;
-  vector<Real> solution_;
+  std::vector<Spring> springs_;
+  std::vector<Element> elements_;
+  std::vector<Real> solution_;
   Real force_;
   Skyline bottom_skyline_;
   Real bottom_loose_baseline_;