#include <sys/stat.h>
#endif
-using std::string;
-using std::vector;
-
#ifndef ROOTSEP
#define ROOTSEP ':'
#endif
#include <algorithm>
-using std::string;
-using std::vector;
-
vector<string>
File_path::directories () const
{
#include <libintl.h>
#endif
-using std::string;
-
long
Getopt_long::get_argument_index ()
{
using namespace std;
typedef size_t ssize;
-#define NPOS std::string::npos
+#define NPOS string::npos
string to_string (const string&);
string to_string (char c, int n = 1);
#include <libintl.h>
#endif
-using std::string;
-
string
_ (char const *ch)
{
#include "interval-set.hh"
-using std::vector;
-
/*
A union of intervals in the real line.
#include "interval.tcc"
-using std::string;
-
template<>
Real
Interval_t<Real>::infinity ()
#include "offset.hh"
-using std::string;
-
#ifndef STANDALONE
string
Offset::to_string () const
#include <cmath>
using namespace std;
-using std::vector;
/*
Een beter milieu begint bij uzelf. Hergebruik!
#include "string-convert.hh"
#include "libc-extension.hh"
-using std::string;
-
double
Rational::to_double () const
{
#include "string-convert.hh"
#include "std-vector.hh"
-using std::string;
-using std::vector;
-
string
to_string (const string &s)
{
#include "rational.hh"
#include "std-vector.hh"
-using std::string;
-
/**
A safe length for stringconversion buffers.
#include "yaffut-parameters.hh"
using namespace std;
-using std::string;
string slashify (string file_name);
#include "yaffut.hh"
#include "config.hh"
-using std::string;
-
TEST (File_path, Find)
{
char const *extensions[] = {"ly", "", 0};
#include "yaffut.hh"
using namespace std;
-using std::vector;
FUNC (interval_set_union)
{
#include "yaffut.hh"
using namespace std;
-using std::vector;
template<typename T>
void
#include "yaffut.hh"
using namespace std;
-using std::string;
-using std::vector;
FUNC (string_split_join)
{
#include "international.hh"
using namespace std;
-using std::string;
-using std::vector;
/** We have several different loglevels, each with its own message function(s):
ERROR: error, non_fatal_error, programming_error
#include "translator.icc"
-using std::vector;
-
class Accidental_entry
{
public:
#include "stream-event.hh"
#include "warn.hh"
-using std::vector;
-
static Pitch *
accidental_pitch (Grob *acc)
{
#include "system.hh"
#include "skyline-pair.hh"
-using std::string;
-using std::vector;
-
Stencil
parenthesize (Grob *me, Stencil m)
{
#include "system.hh"
#include "warn.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Align_interface, align_to_minimum_distances, 1);
SCM
Align_interface::align_to_minimum_distances (SCM smob)
#include "main.hh"
#include "protected-scm.hh"
-using std::string;
-
All_font_metrics *all_fonts_global = 0;
Protected_scm all_fonts_global_scm;
#include "scm-hash.hh"
#include "warn.hh"
-using std::string;
-
Index_to_charcode_map const *
All_font_metrics::get_index_to_charcode_map (const string &filename,
int face_index,
#include "warn.hh"
#include "context.hh"
-using std::vector;
-
/*
Return an articulation list given a note_events vector and an
articulation_events vector.
#include "translator-group.hh"
#include "context.hh"
-using std::vector;
-
Audio_element_info::Audio_element_info (Audio_element *s, Stream_event *r)
{
elem_ = s;
#include "midi-item.hh"
#include "audio-column.hh"
-using std::string;
-
Audio_instrument::Audio_instrument (string instrument_string)
{
str_ = instrument_string;
#include "translator.icc"
-using std::vector;
-
class Auto_beam_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Auto_beam_engraver);
#include "change-iterator.hh"
#include "change-sequence-iterator.hh"
-using std::string;
-
class Auto_change_iterator : public Change_sequence_iterator
{
public:
#include "translator.icc"
-using std::vector;
-
/**
Put stuff in a Spanner with an Axis_group_interface.
Use as last element of a context.
#include "grob.hh"
#include "grob-array.hh"
-using std::vector;
-
LY_DEFINE (ly_relative_group_extent, "ly:relative-group-extent",
3, 0, 0, (SCM elements, SCM common, SCM axis),
"Determine the extent of @var{elements} relative to @var{common} in the"
#include "warn.hh"
#include "unpure-pure-container.hh"
-using std::multimap;
-using std::pair;
-using std::string;
-using std::vector;
-
static bool
pure_staff_priority_less (Grob *const &g1, Grob *const &g2);
#include "translator.icc"
-using std::vector;
-
class Balloon_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Balloon_engraver);
#include "translator.icc"
-using std::vector;
-
/*
generate bars. Either user ("|:"), or default (new measure)
*/
#include "translator.icc"
-using std::string;
-
/*
TODO: detect the top staff (stavesFound), and acknowledge staff-group
system-start-delims. If we find these, and the top staff is in the
#include "pointer-group-interface.hh"
#include "stem.hh"
-using std::vector;
-
class Beam_collision_engraver : public Engraver
{
protected:
#include "warn.hh"
#include "string-convert.hh"
-using std::set;
-using std::string;
-using std::vector;
-
Real
get_detail (SCM alist, SCM sym, Real def)
{
#include <map>
-using std::map;
-using std::string;
-using std::vector;
-
Beam_stem_segment::Beam_stem_segment ()
{
max_connect_ = 1000; // infinity
#include "beaming-pattern.hh"
#include "misc.hh"
-using std::vector;
-
/*
Represents a stem belonging to a beam. Sometimes (for example, if the stem
belongs to a rest and stemlets aren't used) the stem will be invisible.
#include "warn.hh"
#include "libc-extension.hh"
-using std::vector;
-
Real binomial_coefficient_3[]
=
{
#include "side-position-interface.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
/*
This is tricky: we cannot modify 'elements, since callers are
iterating the same list. Reordering the list in-place, or resetting
#include "system.hh"
#include "grob-array.hh"
-using std::vector;
-
static SCM break_criterion;
void
set_break_subsititution (SCM criterion)
#include "music.hh"
#include "warn.hh"
-using std::string;
-
void
Change_iterator::error (const string &reason)
{
#include "context.hh"
#include "music.hh"
-using std::string;
-
Change_sequence_iterator::Change_sequence_iterator () :
change_list_(SCM_EOL)
{
#include "translator.icc"
-using std::vector;
-
class Chord_name_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Chord_name_engraver);
#include "translator.icc"
-using std::string;
-
/**
This acknowledges repeated music with "tremolo" style. It typesets
#include "item.hh"
-using std::string;
-
struct Clef_modifier
{
DECLARE_SCHEME_CALLBACK (calc_parent_alignment, (SCM));
#include "item.hh"
#include "stencil.hh"
-using std::string;
-
MAKE_SCHEME_CALLBACK (Clef, calc_glyph_name, 1);
SCM
Clef::calc_glyph_name (SCM smob)
#include "translator.icc"
-using std::vector;
-
class Cluster_spanner_engraver : public Engraver
{
#include "staff-symbol-referencer.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
/*
TODO: Add support for cubic spline segments.
*/
#include "staff-symbol-referencer.hh"
#include "stream-event.hh"
-using std::vector;
-
/*
* This abstract class serves as common superclass for all ligature
* engravers thet produce a single connected graphical object of fixed
#include "translator.icc"
-using std::vector;
-
class Collision_engraver : public Engraver
{
Item *col_;
#include "translator.icc"
-using std::vector;
-
/*
How does this work?
#include "translator.icc"
-using std::vector;
-
/*
How does this work?
#include "translator.icc"
-using std::vector;
-
class Concurrent_hairpin_engraver : public Engraver
{
public:
#include "system.hh"
#include "warn.hh"
-using std::vector;
-
/*
We use the following optimal substructure. Let W (A) be our weight function.
#include "translator.hh"
#include "warn.hh"
-using std::set;
-using std::string;
-using std::vector;
-
Context_def::Context_def ()
{
context_aliases_ = SCM_EOL;
#include "context.hh"
#include "music.hh"
-using std::string;
-
class Context_specced_music_iterator : public Music_wrapper_iterator
{
public:
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-using std::vector;
-
bool
Context::is_removable () const
{
#include "translator.icc"
-using std::string;
-
class Control_track_performer : public Performer
{
Audio_staff *control_track_;
#include "translator.icc"
-using std::vector;
-
/*
* This class implements an engraver for custos symbols.
*
#include "staff-symbol-referencer.hh"
#include "warn.hh"
-using std::string;
-
MAKE_SCHEME_CALLBACK (Custos, print, 1);
SCM
Custos::print (SCM smob)
#include "staff-symbol-referencer.hh"
#include "stem.hh"
-using std::set;
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Dot_column, calc_positioning_done, 1);
SCM
Dot_column::calc_positioning_done (SCM smob)
#include "dot-configuration.hh"
#include "skyline.hh"
-using std::vector;
-
Dot_formatting_problem::~Dot_formatting_problem ()
{
delete best_;
#include "staff-symbol-referencer.hh"
#include "international.hh"
-using std::string;
-
MAKE_SCHEME_CALLBACK (Dots, print, 1);
SCM
Dots::print (SCM d)
#include "translator.icc"
-using std::vector;
-
class Drum_notes_engraver : public Engraver
{
vector<Item *> scripts_;
#include "translator.icc"
#include "warn.hh"
-using std::vector;
-
class Drum_note_performer : public Performer
{
public:
#include "misc.hh"
#include "lily-proto.hh"
-using std::string;
int
Duration::compare (Duration const &left, Duration const &right)
#include "translator.icc"
-using std::set;
-using std::vector;
-
class Dynamic_align_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Dynamic_align_engraver);
#include "translator.icc"
-using std::string;
-
class Dynamic_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Dynamic_engraver);
#include "translator.icc"
-using std::vector;
-
class Episema_engraver : public Engraver
{
public:
#include "translator.icc"
-using std::vector;
-
struct Figure_group
{
Spanner *group_;
#include "translator.icc"
#include "axis-group-interface.hh"
-using std::vector;
-
class Figured_bass_position_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Figured_bass_position_engraver);
#include "file-name-map.hh"
#include "lily-guile.hh"
-using std::map;
-using std::string;
-
map<string, string> file_name_map_global;
string
#include "translator.icc"
-using std::vector;
-
/**
Find potentially colliding scripts, and put them in a
Fingering_column, that will fix the columns. */
#include "item.hh"
#include "paper-column.hh"
-using std::vector;
-
#define EPS 1e-5
struct Fingering_and_offset
#include "translator.icc"
-using std::vector;
-
class Fingering_engraver : public Engraver
{
vector<Stream_event *> events_;
#include "stencil.hh"
#include "warn.hh"
-using std::string;
-
class Flag
{
public:
#include <fontconfig/fontconfig.h>
-using std::string;
-
string
display_fontset (FcFontSet *fs)
{
#include "main.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
FcConfig *font_config_global = 0;
void
#include "stencil.hh"
#include "warn.hh"
-using std::string;
Real
Font_metric::design_size () const
#include "translator.icc"
-using std::vector;
-
class Footnote_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Footnote_engraver);
#include <string>
-using std::string;
-
string
freetype_error_string (FT_Error code)
{
#include "translator.icc"
-using std::vector;
-
/**
make (guitar-like) tablature note
*/
#include "stream-event.hh"
#include "unpure-pure-container.hh"
-using std::map;
-using std::string;
-
static SCM doc_hash_table;
void
#include "version.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
/* Declaration of log function(s) */
SCM ly_progress (SCM, SCM);
#include "translator.icc"
-using std::string;
-using std::vector;
-
class Glissando_engraver : public Engraver
{
public:
#include "output-def.hh"
#include "warn.hh"
-using std::string;
-
Global_context::Global_context (Output_def *o)
: Context ()
{
#include "std-vector.hh"
-using std::vector;
-
static vector<Global_ctor> *ctor_global_statics_;
void
#include "file-path.hh"
#include "main.hh"
-using std::string;
-using std::vector;
-
/*
* Global options that can be overridden through command line.
*/
/* ASSIGN_EVENT_ONCE */
#include "translator.icc"
-using std::vector;
-
/*
* This abstract class is the common superclass for all ligature
* engravers for Gregorian chant notation. It cares for the musical
#include "grob.hh"
-using std::string;
-
void check_prefix (const string &name, int mask, int prefix_set, string *str)
{
if (prefix_set & mask)
#include "translator.icc"
-using std::vector;
-
class Grid_line_span_engraver : public Engraver
{
Item *spanline_;
#include "item.hh"
#include "spanner.hh"
-using std::vector;
Item *
Grob_array::item (vsize i)
#include "stream-event.hh"
#include "translator-group.hh"
-using std::vector;
-
Grob_info::Grob_info (Translator *t, Grob *g)
{
origin_trans_ = t;
#include "warn.hh"
#include "misc.hh"
-using std::string;
-
SCM add_interface (char const *cxx_name,
char const *descr,
char const *vars)
#include "translator.icc"
-using std::vector;
-
struct Grob_pq_entry
{
Grob *grob_;
#include "warn.hh"
#include "lily-imports.hh"
-using std::set;
-using std::string;
-using std::vector;
Grob *
Grob::clone () const
#include "smobs.hh"
#include "lily-imports.hh"
-using std::vector;
-
/*
INIT
*/
#include "spanner.hh"
#include "warn.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Hara_kiri_group_spanner, y_extent, 1);
SCM
Hara_kiri_group_spanner::y_extent (SCM smob)
#include "translator.icc"
-using std::vector;
-
class Horizontal_bracket_engraver : public Engraver
{
public:
#include "spanner.hh"
#include "item.hh"
-using std::vector;
-
Stencil
Horizontal_bracket::make_bracket (Grob *me,
Real length,
#include "sources.hh"
#include "warn.hh"
-using std::string;
-
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 16384
#endif
#include "std-string.hh"
#include "input.hh"
-using std::string;
-
LY_DEFINE (ly_input_warning, "ly:input-warning", 2, 0, 1, (SCM sip, SCM msg, SCM rest),
"Print @var{msg} as a GNU compliant warning message, pointing"
" to the location in @var{sip}. @var{msg} is interpreted"
#include "source-file.hh"
#include "std-string.hh"
-using std::string;
/* Dummy input location for use if real one is missing. */
Input dummy_input_global;
#include "sources.hh"
#include "warn.hh"
-using std::string;
-
Input::Input (Input const &i)
{
source_file_ = i.source_file_;
#include "translator.icc"
-using std::vector;
-
class Instrument_name_engraver : public Engraver
{
public:
#include "translator.icc"
-using std::vector;
-
class Keep_alive_together_engraver: public Engraver
{
vector<Grob *> group_spanners_;
#include "rational.hh"
#include "lily-imports.hh"
-using std::string;
-
struct Key_signature_interface
{
DECLARE_SCHEME_CALLBACK (print, (SCM));
#include "translator.icc"
-using std::vector;
-
class Kievan_ligature_engraver : public Coherent_ligature_engraver
{
#include "translator.icc"
-using std::vector;
-
class Laissez_vibrer_engraver : public Engraver
{
Stream_event *event_;
#include "warn.hh"
-using std::vector;
-
void
minimise_least_squares (Real *coef, Real *offset,
vector<Offset> const &input)
#include "translator.icc"
-using std::vector;
-
class Ledger_line_engraver : public Engraver
{
Spanner *span_;
#include "pointer-group-interface.hh"
#include "paper-column.hh"
-using std::map;
-using std::vector;
-
struct Ledger_line_spanner
{
DECLARE_SCHEME_CALLBACK (print, (SCM));
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-
/*
RH 7 fix (?)
*/
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-using std::vector;
-
/*
symbols/strings.
*/
#include "lily-parser.hh"
#include "ly-module.hh"
-using std::string;
-
static Keyword_ent the_key_tab[]
=
{
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-
LY_DEFINE (ly_parse_file, "ly:parse-file",
1, 0, 0, (SCM name),
"Parse a single @code{.ly} file."
#include "warn.hh"
#include "program-option.hh"
-using std::string;
Lily_parser::Lily_parser (Sources *sources)
{
#include "config.hh"
#include "version.hh"
-using std::string;
-
string
version_string ()
{
#include "string-convert.hh"
#include "misc.hh"
-using std::string;
-using std::vector;
-
Lilypond_version::Lilypond_version (int major, int minor, int patch)
{
major_ = major;
#include "output-def.hh"
#include "staff-symbol-referencer.hh"
-using std::vector;
-
Stencil
Line_interface::make_arrow (Offset begin, Offset end,
Real thick,
#include "main.hh"
#include "lily-guile.hh"
-using std::vector;
-
Stencil
Lookup::beam (Real slope, Real width, Real thick, Real blot)
{
#include "music-iterator.hh"
#include "music.hh"
-using std::string;
-
/*
This iterator is hairy. It tracks both lyric and melody contexts,
and has a complicated communication route, reading/writing
#include "translator.icc"
-using std::string;
-
/**
Generate texts for lyric syllables. We only do one lyric at a time.
Multiple copies of this engraver should be used to do multiple voices.
#include "stream-event.hh"
#include "translator.icc"
-using std::vector;
-
class Lyric_performer : public Performer
{
public:
//string lilypond_datadir; // moved to global-data.cc
/* The jail specification: USER, GROUP, JAIL, DIR. */
-std::string jail_spec;
+string jail_spec;
/* The option parser */
static Getopt_long *option_parser = 0;
#endif /* defined(__x86__) || defined(__i386__) */
-using std::map;
-using std::string;
-using std::vector;
-
static void
env_var_info (FILE *out, char const *key)
/*
#include "grob.hh"
#include "pointer-group-interface.hh"
-using std::vector;
-
/*
TODO: this could be either item or spanner. For efficiency reasons,
let's take item for now.
#include "translator.icc"
-using std::vector;
-
/*
* TODO: accidentals are aligned with the first note;
* they must appear ahead.
#include "staff-symbol-referencer.hh"
#include "warn.hh"
-using std::string;
-
/*
draws one half a flexa, i.e. a portion corresponding to a single note.
this way coloration of the two notes building up the flexa can be
#include "std-string.hh"
#include "string-convert.hh"
-using std::string;
-using std::vector;
-
Midi_track::Midi_track (int number, bool port)
: number_ (number)
{
#include "translator.icc"
-using std::string;
-
/**
MIDI control function performer. Announces "set property" events on MIDI
context properties.
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-
#define PITCH_WHEEL_CENTER 0x2000
#define PITCH_WHEEL_SEMITONE 0X1000
#include "string-convert.hh"
#include "warn.hh"
-using std::string;
-
Midi_stream::Midi_stream (const string &file_name)
{
file_name_string_ = file_name;
#include "offset.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
/*
Return the 2-log, rounded down
*/
#include "main.hh"
#include "program-option.hh"
-using std::string;
-
Modified_font_metric::Modified_font_metric (Font_metric *fm,
Real magnification)
{
#include "warn.hh"
-using std::string;
-
Moment::Moment ()
{
}
#include "translator.icc"
-using std::vector;
-
/**
The name says it all: make multi measure rests
*/
#include "translator.icc"
-using std::vector;
-
struct Finger_tuple
{
Grob *head_;
#include "stem.hh"
#include "warn.hh"
-using std::vector;
-
Real
check_meshing_chords (Grob *me,
Grob *clash_up, Grob *clash_down)
#include "staff-symbol-referencer.hh"
#include "warn.hh"
-using std::string;
-
static Stencil
internal_print (Grob *me, string *font_char)
{
#include "translator.icc"
-using std::vector;
-
class Note_heads_engraver : public Engraver
{
vector<Stream_event *> note_evs_;
#include "translator.icc"
-using std::string;
-using std::vector;
-
class Note_name_engraver : public Engraver
{
public:
#include "translator.icc"
-using std::vector;
-
class Note_performer : public Performer
{
public:
#include "translator.icc"
-using std::map;
-
class Note_spacing_engraver : public Engraver
{
typedef map <Context *, Grob *> Last_spacing_map;
#include "stem.hh"
#include "warn.hh"
-using std::vector;
-
/*
Adjust the ideal and minimum distance between note columns,
based on the notehead size, skylines, and optical illusions.
#include "simple-spacer.hh"
#include "system.hh"
-using std::vector;
-
One_line_page_breaking::One_line_page_breaking (Paper_book *pb)
: Page_breaking (pb, 0, 0)
{
#include "modified-font-metric.hh"
#include "open-type-font.hh"
-using std::string;
-
LY_DEFINE (ly_font_sub_fonts, "ly:font-sub-fonts", 1, 0, 0,
(SCM font),
"Given the font metric @var{font} of an OpenType font, return the"
#include "modified-font-metric.hh"
#include "warn.hh"
-using std::map;
-using std::string;
-
FT_Byte *
load_table (char const *tag_str, FT_Face face, FT_ULong *length)
{
#include "string-convert.hh"
-using std::string;
-
Output_def::Output_def ()
{
scope_ = SCM_EOL;
#include "translator.icc"
-using std::vector;
class Output_property_engraver : public Engraver
{
#include "system.hh"
#include "warn.hh"
-using std::pair;
-using std::vector;
-
/* for each forbidden page break, merge the systems around it into one
system. */
static vector<Line_details>
#include "text-interface.hh"
#include "lily-imports.hh"
-using std::vector;
-
/*
Returns the number of footnotes associated with a given line.
*/
#include "page-breaking.hh"
#include "warn.hh"
-using std::vector;
-
void
Page_spacing::calc_force ()
{
#include "translator.icc"
-using std::string;
-using std::vector;
-
class Page_turn_event
{
public:
#include "system.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
template<typename T>
static bool
is_break (T *g)
#if HAVE_PANGO_FT2
#include "stencil.hh"
-using std::string;
-
Pango_font::Pango_font (PangoFT2FontMap *fontmap,
PangoFontDescription const *description,
Real output_scale)
#include "output-def.hh"
#include "pango-font.hh"
-using std::string;
-
PangoFontDescription *
properties_to_pango_description (SCM chain, Real text_size)
{
#include "ly-module.hh"
#include "lily-imports.hh"
-using std::string;
-using std::vector;
Paper_book::Paper_book ()
{
#include "translator.icc"
-using std::string;
-
Paper_column_engraver::Paper_column_engraver ()
{
last_moment_.main_part_ = Rational (-1, 1);
#include "text-interface.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
Grob *
Paper_column::clone () const
{
#include "stencil.hh"
#include "warn.hh"
-using std::string;
-
LY_DEFINE (ly_make_paper_outputter, "ly:make-paper-outputter",
2, 0, 0, (SCM port, SCM format),
"Create an outputter that evaluates within"
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
Paper_outputter::Paper_outputter (SCM port, const string &format)
{
#include "warn.hh"
#include "constrained-breaking.hh"
-using std::vector;
-
Paper_score::Paper_score (Output_def *layout)
{
layout_ = layout;
#include "lily-imports.hh"
void
-Lily_parser::parser_error (Input const *i, Lily_parser *parser, SCM *, const std::string &s)
+Lily_parser::parser_error (Input const *i, Lily_parser *parser, SCM *, const string &s)
{
parser->parser_error (*i, s);
}
#define _(x) gettext (x)
#endif
-using std::string;
static Music *make_music_with_input (SCM name, Input where);
SCM check_scheme_arg (Lily_parser *parser, Input loc,
#include "change-sequence-iterator.hh"
#include "context.hh"
-using std::string;
-
class Part_combine_part_iterator : public Change_sequence_iterator
{
public:
#include "sequential-iterator.hh"
#include "lily-imports.hh"
-using std::string;
-
class Percent_repeat_iterator : public Sequential_iterator
{
public:
#include "string-convert.hh"
#include "warn.hh"
-using std::string;
-
Performance::Performance (bool ports)
: midi_ (0),
ports_ (ports),
#include "main.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
LY_DEFINE (ly_pfb_2_pfa, "ly:pfb->pfa",
1, 0, 0, (SCM pfb_file_name),
"Convert the contents of a Type@tie{}1 font in PFB format"
#include "translator.icc"
-using std::vector;
-
/*
TODO:
#include <string.h>
-using std::string;
-
/*
TODO:
#include "translator.icc"
-using std::string;
-using std::vector;
-
enum Pedal_type {SOSTENUTO, SUSTAIN, UNA_CORDA, NUM_PEDAL_TYPES};
/**
#include <cmath>
-using std::string;
-
Pitch::Pitch (int o, int n, Rational a)
{
notename_ = n;
#include "translator.icc"
-using std::vector;
-
class Pitched_trill_engraver : public Engraver
{
public:
#include "grob-array.hh"
#include "grob.hh"
-using std::vector;
-
int
Pointer_group_interface::count (Grob *me, SCM sym)
{
#include "input.hh"
#include "profile.hh"
-using std::string;
const char Prob::type_p_name_[] = "ly:prob?";
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-using std::vector;
-
bool debug_skylines;
bool debug_property_callbacks;
bool debug_page_breaking_scoring;
#include "program-option.hh"
-using std::string;
-
string
get_output_backend_name ()
{
#include "translator.icc"
-using std::vector;
-
class Pure_from_neighbor_engraver : public Engraver
{
vector<Grob *> pure_relevants_;
#include "spanner.hh"
#include "system.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Pure_from_neighbor_interface, calc_pure_relevant_grobs, 1);
SCM
Pure_from_neighbor_interface::calc_pure_relevant_grobs (SCM smob)
#include "international.hh"
#include "music.hh"
-using std::string;
-
class Relative_octave_check
{
public:
#include <winbase.h>
#endif
-using std::string;
-using std::vector;
-
#define FRAMEWORKDIR ".."
int
#include "translator.icc"
-using std::string;
-
/*
Objective:
#include "translator.icc"
-using std::vector;
-
class Repeat_tie_engraver : public Engraver
{
Stream_event *event_;
#include "translator.icc"
-using std::set;
-
class Rest_collision_engraver : public Engraver
{
protected:
#include "warn.hh"
#include "lily-imports.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Rest_collision, force_shift_callback_rest, 2, 1, "");
SCM
Rest_collision::force_shift_callback_rest (SCM rest, SCM offset)
#include "stencil.hh"
#include "grob.hh"
-using std::string;
-
// -> offset callback
MAKE_SCHEME_CALLBACK (Rest, y_offset_callback, 1);
SCM
#include "translator.icc"
-using std::vector;
-
/*
this engraver glues together stems, rests and note heads into a NoteColumn
grob.
#include "scale.hh"
#include "protected-scm.hh"
-using std::vector;
/*
todo: put string <-> pitch here too.
#include "translator.icc"
-using std::vector;
-
/**
Find potentially colliding scripts, and put them in a
Script_column, that will fix the collisions. */
#include <map>
-using std::map;
-using std::vector;
-
typedef map<Grob *, vector <Grob *> > Grob_scripts_map;
void
#include "translator.icc"
-using std::vector;
-
struct Script_tuple
{
Stream_event *event_;
#include "translator.icc"
-using std::vector;
-
/**
Find potentially colliding scripts, and put them in a
Script_row
#include "item.hh"
#include "tie-formatting-problem.hh"
-using std::vector;
-
ADD_INTERFACE (Semi_tie_column,
"The interface for a column of l.v. (laissez vibrer) ties.",
#include "translator.icc"
-using std::vector;
-
struct Spacings
{
Item *staff_spacing_;
#include "stencil.hh"
#include "warn.hh"
-using std::vector;
-
void
Separation_item::add_item (Grob *s, Item *i)
{
#include "warn.hh"
#include "unpure-pure-container.hh"
-using std::set;
-using std::string;
-using std::vector;
-
void
Side_position_interface::add_support (Grob *me, Grob *e)
{
#include "warn.hh"
#include "simple-spacer.hh"
-using std::vector;
-
LY_DEFINE (ly_solve_spring_rod_problem, "ly:solve-spring-rod-problem",
4, 1, 0, (SCM springs, SCM rods, SCM length, SCM ragged),
"Solve a spring and rod problem for @var{count} objects, that"
#include "spring.hh"
#include "warn.hh"
-using std::vector;
-
/*
A simple spacing constraint solver. The approach:
#include "international.hh"
-using std::vector;
-
Skyline_pair::Skyline_pair ()
: skylines_ (Skyline (DOWN), Skyline (UP))
{
#include <deque>
#include <cstdio>
-using std::deque;
-using std::list;
-using std::vector;
-
/* A skyline is a sequence of non-overlapping buildings: something like
this:
_______
#include "tie.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
Bezier
avoid_staff_line (Slur_score_state const &state,
Bezier bez)
#include "translator.icc"
-using std::string;
-
void
Slur_proto_engraver::derived_mark () const
{
#include "stem.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
/*
TODO:
#include "unpure-pure-container.hh"
#include "international.hh"
-using std::string;
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Slur, calc_direction, 1)
SCM
Slur::calc_direction (SCM smob)
#include <sstream>
#else
#include <strstream>
+#define istringstream(x) istrstream (x, length ())
#endif
using namespace std;
#include "misc.hh"
#include "warn.hh"
-#if HAVE_SSTREAM
-using std::istringstream;
-#else
-#define istringstream(x) std::istrstream (x, length ())
-#endif
-
-using std::istream;
-using std::string;
-using std::vector;
-
void
Source_file::load_stdin ()
{
#include "file-name.hh"
#include "file-path.hh"
-using std::string;
-
Sources::Sources ()
{
path_ = 0;
#include "break-align-interface.hh"
#include "warn.hh"
-using std::vector;
-
/*
Return whether COL is fixed to its neighbors by some kind of spacing
constraint.
#include "translator.icc"
-using std::vector;
-
struct Rhythmic_tuple
{
Grob_info info_;
#include "skyline-pair.hh"
#include "system.hh"
-using std::vector;
-
/* return the right-pointing skyline of the left-items and the left-pointing
skyline of the right-items (with the skyline of the left-items in
ret[LEFT]) */
#include "moment.hh"
#include "spacing-options.hh"
-using std::vector;
-
/* Find the loose columns in POSNS, and drape them around the columns
specified in BETWEEN-COLS. */
void
#include "system.hh"
#include "warn.hh"
-using std::vector;
-
vector<Grob *>
Spacing_spanner::get_columns (Grob *me_grob)
{
#include "translator.icc"
-using std::vector;
-
/**
Make arpeggios that span multiple staves. Catch arpeggios, and span a
Span_arpeggio over them if we find more than two arpeggios.
#include "translator.icc"
-using std::vector;
-
/**
Make bars that span multiple "staves". Catch bars, and span a
#include "translator.icc"
-using std::vector;
-
/*
The Span_bar_stub_engraver creates SpanBarStub grobs in the contexts
that a grouping context contains. For example, if a PianoStaff contains
#include "translator.icc"
-using std::vector;
-
class Spanner_break_forbid_engraver : public Engraver
{
TRANSLATOR_DECLARATIONS (Spanner_break_forbid_engraver);
#include "system.hh"
#include "warn.hh"
-using std::vector;
-
Grob *
Spanner::clone () const
{
#include "spring.hh"
-using std::vector;
-
Spring::Spring ()
{
distance_ = 1.0;
#include "page-layout-problem.hh"
#include "pointer-group-interface.hh"
-using std::vector;
-
/* Checks whether the child grob is in the "interior" of this staff-grouper.
This is the case if the next spaceable, living child after the given one
belongs to the group.
#include "translator.icc"
-using std::deque;
-using std::map;
-using std::string;
-
/* Perform a staff. Individual notes should have their instrument
(staff-wide) set, so we override play_element ()
*/
#include "pointer-group-interface.hh"
#include "directional-element-interface.hh"
-using std::string;
-using std::vector;
-
/* A stem following a bar-line creates an optical illusion similar to the
one mentioned in note-spacing.cc. We correct for it here.
#include "staff-symbol-referencer.hh"
#include "spanner.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Staff_symbol, print, 1);
SCM
#include "translator.icc"
-using std::vector;
-
class Stanza_number_align_engraver : public Engraver
{
public:
#include "translator.icc"
-using std::vector;
-
class Stem_engraver : public Engraver
{
Grob *stem_;
#include "stem.hh"
#include "warn.hh"
-using std::vector;
-
MAKE_SCHEME_CALLBACK (Stem_tremolo, calc_slope, 1)
SCM
Stem_tremolo::calc_slope (SCM smob)
#include "stem-tremolo.hh"
#include "warn.hh"
-using std::string;
-using std::vector;
-
void
Stem::set_beaming (Grob *me, int beam_count, Direction d)
{
#include "spanner.hh"
using namespace std;
-using std::string;
-using std::vector;
-
Real QUANTIZATION_UNIT = 0.2;
void create_path_cap (vector<Box> &boxes,
#include "lookup.hh"
#include "stencil.hh"
-using std::vector;
-
/*
TODO: naming add/combine.
*/
#include "string-convert.hh"
#include "warn.hh"
-using std::vector;
Stencil::Stencil ()
{
#include "stencil.hh"
#include "font-interface.hh"
-using std::string;
-
// update comment --hwn
/*
Urg.
#include "translator.icc"
-using std::vector;
-
struct Bracket_nesting_node
{
public:
#include "unpure-pure-container.hh"
#include "lily-imports.hh"
-using std::vector;
-
System::System (System const &src)
: Spanner (src)
{
#include "translator.icc"
-using std::vector;
-
/**
make (guitar-like) tablature note
*/
#include "translator.icc"
-using std::vector;
-
/*
Change tab-note-head properties when a tie is followed by a
slurs or glissando.
#include "interval.tcc"
-using std::string;
-
template<>
Rational
Interval_t<Rational>::infinity ()
#include "translator.icc"
-using std::vector;
-
/**
typeset directions that are plain text.
*/
#include "warn.hh"
#include "lily-imports.hh"
-using std::string;
-
static void
replace_special_characters (string &str, SCM props)
{
#include "tie-configuration.hh"
using namespace std;
-using std::vector;
void
Tie_column::add_tie (Grob *tc, Spanner *tie)
#include "tie-formatting-problem.hh"
#include "bezier.hh"
-using std::string;
-
int
Tie_configuration::compare (Tie_configuration const &a,
Tie_configuration const &b)
#include "translator.icc"
-using std::vector;
-
/**
Manufacture ties. Acknowledge note heads, and put them into a
priority queue. If we have a TieEvent, connect the notes that finish
#include "pointer-group-interface.hh"
#include "output-def.hh"
-using std::set;
-using std::string;
-using std::vector;
-
void
Tie_formatting_problem::print_ties_configuration (Ties_configuration const *ties)
{
#include "translator.icc"
#include <list>
-using std::list;
-
struct Head_audio_event_tuple
{
Audio_element_info head_;
#include "warn.hh"
#include "semi-tie-column.hh"
-using std::string;
-
bool
Tie::less (Grob *g1, Grob *g2)
{
#include "scm-hash.hh"
#include "warn.hh"
-using std::vector;
-
void
translator_each (SCM list, Translator_method method)
{
#include "translator.icc"
-using std::string;
-using std::vector;
-
Translator::~Translator ()
{
}
#include "main.hh"
#include "open-type-font.hh"
-using std::string;
-using std::vector;
-
Index_to_charcode_map
make_index_to_charcode_map (FT_Face face)
{
#include "paper-column.hh"
#include "moment.hh"
-using std::vector;
-
static Item *
get_x_bound_item (Grob *me_grob, Direction hdir, Direction my_dir)
{
#include "translator.icc"
-using std::vector;
-
struct Tuplet_description
{
Stream_event *event_;
#include "stem.hh"
#include "warn.hh"
-using std::vector;
-
/*
The reference stem is used to determine on which side of the beam to place
the tuplet number when it is positioned independently of a bracket. (The number
#include "smobs.hh"
-using std::vector;
-
class Undead : public Simple_smob<Undead>
{
public:
#include "pitch.hh"
#include "translator.icc"
-using std::string;
-using std::vector;
-
/*
* This class implements the notation specific aspects of Vaticana
* style ligatures for Gregorian chant notation.
#include "staff-symbol-referencer.hh"
#include "warn.hh"
-using std::string;
-
Stencil
vaticana_brew_cauda (Grob *me,
int pos,
#include "translator.icc"
-using std::string;
-using std::vector;
-
class Vertical_align_engraver : public Engraver
{
Spanner *valign_;
#include "tuplet-bracket.hh"
#include "lily-imports.hh"
-using std::string;
-
/*
this is too complicated. Yet another version of side-positioning,
badly implemented.
#include "context.hh"
#include "lily-imports.hh"
-using std::string;
-
class Volta_repeat_iterator : public Sequential_iterator
{
public:
#include "international.hh"
#include "warn.hh"
-using std::string;
-
/*
Error / warning / progress / debug message output functions
*/