Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

xmlheader Class Reference

a class for generating the MusicXM header.

#include <xml.h>

Inheritance diagram for xmlheader:

smartable List of all members.

Public Types

enum  { partwise = 1, timewise, last = timewise }

Public Member Functions

void setMode (int mode)
 sets the MusicXML score mode

void setLocation (const string &loc)
 sets the MusicXML dtd location

int getMode () const
 returns the MusicXML score mode

const string & getLocation () const
 returns the MusicXML dtd location

const string MusicXMLVersion () const
 returns the current supported MusicXML version

void print (ostream &os) const

Static Public Member Functions

const string scoreMode (int mode)
 provides conversion from numeric to string modes

int scoreMode (string mode)
 provides conversion from string to numeric modes


Protected Member Functions

 xmlheader (int mode, string loc)

Friends

EXP friend SMARTP< xmlheadernew_xmlheader (int mode=partwise, string loc="http://www.musicxml.org/dtds/")

Generated on Tue Mar 23 09:50:34 2004 for LibMusicXML by doxygen 1.3.3