LibMusicXML 3.18
Functions
Mxmltree2Msr

Functions

EXP Sxmlelement musicXMLFile2mxmlTree (const char *fileName, S_musicXMLOah mxmlOpts, indentedOstream &logOstream)
 Converts a MusicXML representation to an MSR. More...
 
EXP Sxmlelement musicXMLFd2mxmlTree (FILE *fd, S_musicXMLOah mxmlOpts, indentedOstream &logOstream)
 Converts a MusicXML representation to an MSR. More...
 
EXP Sxmlelement musicXMLString2mxmlTree (const char *buffer, S_musicXMLOah mxmlOpts, indentedOstream &logOstream)
 Converts a MusicXML representation to an MSR. More...
 

Detailed Description

Function Documentation

◆ musicXMLFd2mxmlTree()

EXP Sxmlelement MusicXML2::musicXMLFd2mxmlTree ( FILE *  fd,
S_musicXMLOah  mxmlOpts,
indentedOstream logOstream 
)
Parameters
fda file descriptor
msrOptsthe MSR options to be used
outthe output stream
Returns
an error code (kNoErr when success)

◆ musicXMLFile2mxmlTree()

EXP Sxmlelement MusicXML2::musicXMLFile2mxmlTree ( const char *  fileName,
S_musicXMLOah  mxmlOpts,
indentedOstream logOstream 
)
Parameters
filea file name
msrOptsthe MSR options to be used
outthe output stream
Returns
an error code (kNoErr when success)

◆ musicXMLString2mxmlTree()

EXP Sxmlelement MusicXML2::musicXMLString2mxmlTree ( const char *  buffer,
S_musicXMLOah  mxmlOpts,
indentedOstream logOstream 
)
Parameters
buffa string containing MusicXML code
msrOptsthe MSR options to be used
outthe output stream
Returns
an error code (kNoErr when success)