]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/context.hh
*** empty log message ***
[lilypond.git] / lily / include / context.hh
index 36ffd924a8eb7cc6c0ea0673aaec924c48a9ee14..a667f9d40875a6cebd9a1378739bfb9cb8a4551e 100644 (file)
@@ -30,8 +30,8 @@ private:
   int iterator_count_;
   bool init_;
 
-  map<String, int> grob_counts_;
-  map<String, int> context_counts_;
+  map<std::string, int> grob_counts_;
+  map<std::string, int> context_counts_;
 
 protected:
   Object_key const *key_;
@@ -43,20 +43,19 @@ protected:
   SCM accepts_list_;
   SCM aliases_;
   Translator_group *implementation_;
-  String id_string_;
+  std::string id_string_;
 
   friend class Context_def;
   void clear_key_disambiguations ();
 
 public:
   Object_key const *key () const { return key_; }
+  Object_key const *create_grob_key (std::string);
+  Object_key const *get_grob_key (std::string);
+  Object_key const *get_context_key (std::string, std::string);
 
-  Object_key const *create_grob_key (String);
-  Object_key const *get_grob_key (String);
-  Object_key const *get_context_key (String, String);
-
-  Context *create_context (Context_def *, String, SCM);
-  String id_string () const { return id_string_; }
+  Context *create_context (Context_def *, std::string, SCM);
+  std::string id_string () const { return id_string_; }
   SCM children_contexts () const { return context_list_; }
   SCM default_child_context_name () const;
 
@@ -73,7 +72,7 @@ public:
 
   Context *remove_context (Context *trans);
   void check_removal ();
-  String context_name () const;
+  std::string context_name () const;
   SCM context_name_symbol () const;
   Global_context *get_global_context () const;
 
@@ -90,7 +89,7 @@ public:
   bool try_music (Music *);
 
   Context *find_create_context (SCM context_name,
-                               String id, SCM ops);
+                               std::string id, SCM ops);
   Context *create_unique_context (SCM context_name,
                                  SCM ops);
   Link_array<Context> path_to_acceptable_context (SCM alias,
@@ -107,7 +106,7 @@ void execute_general_pushpop_property (Context *context,
                                       SCM context_property, SCM grob_property_path, SCM val);
 SCM updated_grob_properties (Context *tg, SCM sym);
 Context *find_context_below (Context *where,
-                            SCM type_sym, String id);
+                            SCM type_sym, std::string id);
 bool melisma_busy (Context *);
 
 Context *get_voice_to_lyrics (Context *lyrics);