#include "list.icc"
#include "cursor.hh"
-// instantiate a template: explicit instantiation.
-#define L_instantiate(a) template class List<a>; template class Cursor<a>; \
- template class Link<a>
-
-
#endif // __LIST_HH //
#ifndef LIST_CC
#define LIST_CC
+
+// instantiate a template: explicit instantiation.
+#define L_instantiate(a) template class List<a>; template class Cursor<a>; \
+ template class Link<a>
+
#include "list.hh"
template<class T>
void PL_copy(IPointerList<T*> &dst,IPointerList<T*> const&src);
-#define PL_instantiate(a) template class PointerList<a*>; \
- template class PCursor<a*>;
-#define IPL_instantiate(a) PL_instantiate(a); \
- template class IPointerList<a*>
#include "plist.icc"
#include "plist.hh"
+#define PL_instantiate(a) template class PointerList<a*>; \
+ template class PCursor<a*>;
+#define IPL_instantiate(a) PL_instantiate(a); \
+ template class IPointerList<a*>
+
template<class T>
IPointerList<T>::~IPointerList()
{
}
bool
-Rhythmic_grouping::child_fit_query(Moment start)
+Rhythmic_grouping::child_fit_b(Moment start)
{
if (children.size())
return ( children.top()->interval().right== start);
{
Moment stop = start+len;
- assert(child_fit_query(start));
+ assert(child_fit_b(start));
children.push(new Rhythmic_grouping(MInterval(start, stop)));
}
~Rhythmic_grouping();
void add_child(Moment start, Moment len);
- bool child_fit_query(Moment start);
+ bool child_fit_b(Moment start);
void split(Rhythmic_grouping r);
void split(Array<MInterval>);
void split(int n);
--- /dev/null
+/*
+ notename-table.hh -- declare
+
+ source file of the LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef NOTENAME_TABLE_HH
+#define NOTENAME_TABLE_HH
+
+#include "pointer.hh"
+#include "string.hh"
+#include "lily-proto.hh"
+#include "assoc.hh"
+
+class Notename_table : Assoc<String, P<Melodic_req> >{
+public:
+ void add(String, Melodic_req*);
+ Melodic_req*get_l(String);
+};
+
+#endif // NOTENAME_TABLE_HH
}
if ( req_l->stem() ) {
- if (current_grouping && !current_grouping->child_fit_query(
+ if (current_grouping && !current_grouping->child_fit_b(
get_staff_info().time_C_->whole_in_measure_))
return false;