13#ifndef ___lpsrContexts___
14#define ___lpsrContexts___
20#include "lpsrElements.h"
38 enum lpsrContextTypeKind {
39 kChordNames, kFiguredBass };
41 static string contextTypeKindAsString (
42 lpsrContextTypeKind contextTypeKind);
44 enum lpsrContextExistingKind {
45 kExistingContextYes, kExistingContextNo};
47 static string contextExistingKindAsString (
48 lpsrContextExistingKind contextExistingKind);
55 lpsrContextExistingKind contextExistingKind,
56 lpsrContextTypeKind contextTypeKind,
66 lpsrContextExistingKind contextExistingKind,
67 lpsrContextTypeKind contextTypeKind,
77 lpsrContextExistingKind
78 getContextExistingKind ()
const
79 {
return fContextExistingKind; }
81 lpsrContextTypeKind getContextTypeKind ()
const
82 {
return fContextTypeKind; }
84 string getContextName ()
const
85 {
return fContextName; }
105 string getContextTypeKindAsString ()
const
108 contextTypeKindAsString (
112 string getContextExistingKindAsString ()
const
115 contextExistingKindAsString (
116 fContextExistingKind);
119 virtual void print (ostream& os)
const;
126 lpsrContextExistingKind
127 fContextExistingKind;
128 lpsrContextTypeKind fContextTypeKind;
131 list<S_msrElement> fContextElementsList;
134EXP ostream& operator<< (ostream& os,
const S_lpsrContext& elt);
146 lpsrContextExistingKind contextExistingKind,
157 lpsrContextExistingKind contextExistingKind,
169 {
return fContextVoice; }
189 virtual void print (ostream& os)
const;
211 lpsrContextExistingKind contextExistingKind,
222 lpsrContextExistingKind contextExistingKind,
234 {
return fContextStaff; }
254 virtual void print (ostream& os)
const;
the smart pointer implementation
Definition: smartpointer.h:58
Definition: basevisitor.h:25
Definition: lpsrContexts.h:138
Definition: lpsrContexts.h:32
Definition: lpsrElements.h:24
Definition: lpsrContexts.h:203