LibMusicXML 3.22
YesNo Class Reference

provides conversions between numeric yes-no types and strings

#include <conversions.h>

Public Types

enum  type { undefined , yes , no , last =no }

Static Public Member Functions

static const string xml (type d)
 convert a numeric yes-no value to a MusicXML string
static type xml (const string str)
 convert a MusicXML string to a numeric yes-no value