#include <CMMLParser.h>
Public Member Functions | |
CMMLParser (void) | |
~CMMLParser (void) | |
bool | parseClipTag (wstring inClipText, C_ClipTag *outClip) |
Parse a string representation of a clip tag into the provided Clip object. | |
bool | parseHeadTag (wstring inHeadText, C_HeadTag *outHead) |
Parse a string representation of a head tag into the provided Head object. | |
bool | parseCMMLRootTag (wstring inCMMLRootText, C_CMMLRootTag *outCMMLRoot) |
Parse a string representation of a cmml root tag into the provided CMMLRoot object. | |
bool | parseDocFromFile (wstring inFilename, C_CMMLDoc *outCMMLDoc) |
Parse a string representation of a cmml document into the provided CMMLDoc object. | |
CMMLParser (void) | |
~CMMLParser (void) | |
bool | parseClipTag (wstring inClipText, C_ClipTag *outClip) |
bool | parseHeadTag (wstring inHeadText, C_HeadTag *outHead) |
bool | parseCMMLRootTag (wstring inCMMLRootText, C_CMMLRootTag *outCMMLRoot) |
bool | parseDocFromFile (wstring inFilename, C_CMMLDoc *outCMMLDoc) |
Protected Member Functions | |
bool | parseRootTag (XTag *inCMMLRootParser, C_CMMLRootTag *outCMMLRoot) |
Parse an XTag representation of a cmml root tag into the provided CMMLRoot object. | |
bool | parseStreamTag (XTag *inStreamParser, C_StreamTag *outStream) |
Parse an XTag representation of a stream tag into the provided Stream object. | |
bool | parseHeadTag (XTag *inHeadParser, C_HeadTag *outHead) |
Parse an XTag representation of a head tag into the provided Head object. | |
bool | parseClipTag (XTag *inClipParser, C_ClipTag *outClip) |
Parse an XTag representation of a clip tag into the provided Clip object. | |
bool | parseImportTag (XTag *inImportParser, C_ImportTag *outImport) |
Parse an XTag representation of an import tag into the provided Import object. | |
bool | parseBaseTag (XTag *inBaseParser, C_BaseTag *outBase) |
Parse an XTag representation of a base tag into the provided Base object. | |
bool | parseTitleTag (XTag *inTitleParser, C_TitleTag *outTitle) |
Parse an XTag representation of a title tag into the provided Title object. | |
bool | parseMetaTag (XTag *inMetaParser, C_MetaTag *outMeta) |
Parse an XTag representation of a meta tag into the provided MetaTag object. | |
bool | parseAnchorTag (XTag *inAnchorParser, C_AnchorTag *outAnchor) |
Parse an XTag representation of an anchor tag into the provided Anchor object. | |
bool | parseImageTag (XTag *inImageParser, C_ImageTag *outImage) |
Parse an XTag representation of an image tag into the provided Image object. | |
bool | parseDescTag (XTag *inDescParser, C_DescTag *outDesc) |
Parse an XTag representation of a desc tag into the provided Desc object. | |
bool | parseParamTag (XTag *inParamParser, C_ParamTag *outParam) |
Parse an XTag representation of a param tag into the provided ParamTag object. | |
bool | setupXMLHandles (wstring inText, MSXML2::IXMLDOMDocument **outDoc) |
Parses the given string at inText and places the result in outDoc. | |
bool | parseHeadTag (MSXML2::IXMLDOMNode *inHeadNode, C_HeadTag *outHead) |
bool | parseAnchorTag (MSXML2::IXMLDOMNode *inAnchorNode, C_AnchorTag *outAnchor) |
bool | parseStreamTag (MSXML2::IXMLDOMNode *inStreamNode, C_StreamTag *outStream) |
bool | parseImportTag (MSXML2::IXMLDOMNode *inImportNode, C_ImportTag *outImport) |
bool | parseTitleTag (MSXML2::IXMLDOMNode *inTitleNode, C_TitleTag *outTitle) |
bool | parseClipTag (MSXML2::IXMLDOMNode *inClipNode, C_ClipTag *outClip) |
bool | parseImageTag (MSXML2::IXMLDOMNode *inImageNode, C_ImageTag *outImage) |
bool | parseMetaTag (MSXML2::IXMLDOMNode *inMetaNode, C_MetaTag *outMeta) |
bool | parseDescTag (MSXML2::IXMLDOMNode *inDescNode, C_DescTag *outDesc) |
bool | parseBaseTag (MSXML2::IXMLDOMNode *inBaseNode, C_BaseTag *outBase) |
bool | parseParamTag (MSXML2::IXMLDOMNode *inParamNode, C_ParamTag *outParam) |
bool | parseCMMLRootTag (MSXML2::IXMLDOMNode *inCMMLRootNode, C_CMMLRootTag *outCMMLRoot) |
wstring | getNamedAttribValue (wstring inAttribName, MSXML2::IXMLDOMNamedNodeMap *inAttribMap) |
MSXML2::IXMLDOMNode * | getNamedNode (wstring inXPath, MSXML2::IXMLDOMDocument *inDoc) |
|
Definition at line 51 of file CMMLParser.cpp. |
|
Definition at line 55 of file CMMLParser.cpp. |
|
|
|
|
|
Definition at line 154 of file CMMLParser.cpp. Referenced by parseAnchorTag(), parseBaseTag(), parseClipTag(), parseCMMLRootTag(), parseDescTag(), parseHeadTag(), parseImageTag(), parseImportTag(), parseMetaTag(), parseParamTag(), parseStreamTag(), and parseTitleTag(). |
|
Definition at line 141 of file CMMLParser.cpp. |
|
Definition at line 724 of file CMMLParser.cpp. References getNamedAttribValue(), C_AnchorTag::href(), C_AnchorTag::setCls(), C_HumReadCMMLTag::setDirn(), C_AnchorTag::setHref(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), and C_TextFieldTag::setText(). |
Here is the call graph for this function:
|
Parse an XTag representation of an anchor tag into the provided Anchor object.
Definition at line 409 of file CMMLParser.cpp. References XTag, XTAG_REQUIRED_ATTRIBUTE, XTAG_SET_ATTRIBUTE, and XTAG_SET_CDATA. Referenced by parseClipTag(). |
|
Definition at line 807 of file CMMLParser.cpp. References getNamedAttribValue(), C_BaseTag::href(), C_BaseTag::setHref(), and C_CMMLTag::setId(). |
Here is the call graph for this function:
|
Parse an XTag representation of a base tag into the provided Base object.
Definition at line 365 of file CMMLParser.cpp. References XTag, XTAG_REQUIRED_ATTRIBUTE, and XTAG_SET_ATTRIBUTE. Referenced by parseHeadTag(). |
|
Here is the call graph for this function:
|
|
|
Parse an XTag representation of a clip tag into the provided Clip object.
Definition at line 388 of file CMMLParser.cpp. References parseAnchorTag(), parseDescTag(), parseImageTag(), parseMetaTag(), XTag, XTAG_PARSE_CHILD, XTAG_PARSE_LIST, XTAG_REQUIRED_ATTRIBUTE, and XTAG_SET_ATTRIBUTE. |
Here is the call graph for this function:
|
Parse a string representation of a clip tag into the provided Clip object.
Definition at line 163 of file CMMLParser.cpp. References StringHelper::toNarrowStr(), XTag, xtag_free(), xtag_get_name(), and xtag_new_parse(). Referenced by OggDataBufferProcessor::acceptOggPage(), parseCMMLRootTag(), parseRootTag(), and CMMLDecodeFilter::Transform(). |
Here is the call graph for this function:
|
Definition at line 306 of file CMMLParser.cpp. References C_ClipTagList::addTag(), C_CMMLRootTag::clipList(), getNamedAttribValue(), parseClipTag(), parseHeadTag(), parseStreamTag(), C_HumReadCMMLTag::setDirn(), C_CMMLRootTag::setHead(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), and C_CMMLRootTag::setStream(). |
Here is the call graph for this function:
|
|
|
Parse a string representation of a cmml root tag into the provided CMMLRoot object.
Definition at line 130 of file CMMLParser.cpp. References parseRootTag(), StringHelper::toNarrowStr(), XTag, xtag_free(), xtag_get_name(), and xtag_new_parse(). Referenced by parseDocFromFile(). |
Here is the call graph for this function:
|
Definition at line 782 of file CMMLParser.cpp. References getNamedAttribValue(), C_HumReadCMMLTag::setDirn(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), and C_TextFieldTag::setText(). |
Here is the call graph for this function:
|
Parse an XTag representation of a desc tag into the provided Desc object.
Definition at line 439 of file CMMLParser.cpp. References XTag, XTAG_SET_ATTRIBUTE, and XTAG_SET_CDATA. Referenced by parseClipTag(). |
|
|
|
Parse a string representation of a cmml document into the provided CMMLDoc object.
Definition at line 59 of file CMMLParser.cpp. References parseCMMLRootTag(), C_CMMLDoc::setRoot(), and StringHelper::toWStr(). Referenced by CMMLRawSourceFilter::Load(), illiminable::libCMMLParserDotNET::CMML_Parser::parseDocFromFile(), and CMMLRecomposer::recomposeStreamFrom(). |
Here is the call graph for this function:
|
Definition at line 440 of file CMMLParser.cpp. References C_MetaTagList::addTag(), getNamedAttribValue(), C_HeadTag::metaList(), parseBaseTag(), parseMetaTag(), parseTitleTag(), C_HeadTag::setBase(), C_HumReadCMMLTag::setDirn(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), C_HeadTag::setProfile(), and C_HeadTag::setTitle(). |
Here is the call graph for this function:
|
|
|
Parse an XTag representation of a head tag into the provided Head object.
Definition at line 334 of file CMMLParser.cpp. References parseBaseTag(), parseMetaTag(), parseTitleTag(), XTag, XTAG_EXACTLY_ONE_CHILD, XTAG_PARSE_CHILD, XTAG_PARSE_LIST, and XTAG_SET_ATTRIBUTE. |
Here is the call graph for this function:
|
Parse a string representation of a head tag into the provided Head object.
Definition at line 196 of file CMMLParser.cpp. References StringHelper::toNarrowStr(), XTag, xtag_free(), xtag_get_name(), and xtag_new_parse(). Referenced by OggDataBufferProcessor::acceptOggPage(), parseCMMLRootTag(), parseRootTag(), and CMMLDecodeFilter::Transform(). |
Here is the call graph for this function:
|
Definition at line 655 of file CMMLParser.cpp. References getNamedAttribValue(), C_ImageTag::setAlt(), C_CMMLTag::setId(), C_ImageTag::setSrc(), and C_ImageTag::src(). |
Here is the call graph for this function:
|
Parse an XTag representation of an image tag into the provided Image object.
Definition at line 425 of file CMMLParser.cpp. References XTag, XTAG_REQUIRED_ATTRIBUTE, and XTAG_SET_ATTRIBUTE. Referenced by parseClipTag(). |
|
Here is the call graph for this function:
|
Parse an XTag representation of an import tag into the provided Import object.
Definition at line 452 of file CMMLParser.cpp. References parseParamTag(), XTag, XTAG_PARSE_LIST, and XTAG_SET_ATTRIBUTE. Referenced by parseStreamTag(). |
Here is the call graph for this function:
|
Definition at line 685 of file CMMLParser.cpp. References C_MappedTag::content(), getNamedAttribValue(), C_MappedTag::name(), C_MappedTag::setContent(), C_HumReadCMMLTag::setDirn(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), C_MappedTag::setName(), and C_MetaTag::setScheme(). |
Here is the call graph for this function:
|
Parse an XTag representation of a meta tag into the provided MetaTag object.
Definition at line 374 of file CMMLParser.cpp. References XTag, and XTAG_SET_ATTRIBUTE. Referenced by parseClipTag(), and parseHeadTag(). |
|
Definition at line 829 of file CMMLParser.cpp. References C_MappedTag::content(), getNamedAttribValue(), C_MappedTag::name(), C_MappedTag::setContent(), C_CMMLTag::setId(), and C_MappedTag::setName(). |
Here is the call graph for this function:
|
Parse an XTag representation of a param tag into the provided ParamTag object.
Definition at line 466 of file CMMLParser.cpp. References XTag, XTAG_REQUIRED_ATTRIBUTE, and XTAG_SET_ATTRIBUTE. Referenced by parseImportTag(). |
|
Parse an XTag representation of a cmml root tag into the provided CMMLRoot object.
Definition at line 317 of file CMMLParser.cpp. References parseClipTag(), parseHeadTag(), parseStreamTag(), XTag, XTAG_EXACTLY_ONE_CHILD, XTAG_PARSE_CHILD, XTAG_PARSE_LIST, and XTAG_SET_ATTRIBUTE. Referenced by parseCMMLRootTag(). |
Here is the call graph for this function:
|
Definition at line 551 of file CMMLParser.cpp. References C_ImportTagList::addTag(), getNamedAttribValue(), C_StreamTag::importList(), parseImportTag(), C_CMMLTag::setId(), C_StreamTag::setTimebase(), and C_StreamTag::setUtc(). |
Here is the call graph for this function:
|
Parse an XTag representation of a stream tag into the provided Stream object.
Definition at line 304 of file CMMLParser.cpp. References parseImportTag(), XTag, XTAG_PARSE_LIST, and XTAG_SET_ATTRIBUTE. Referenced by parseCMMLRootTag(), and parseRootTag(). |
Here is the call graph for this function:
|
Definition at line 758 of file CMMLParser.cpp. References getNamedAttribValue(), C_HumReadCMMLTag::setDirn(), C_CMMLTag::setId(), C_HumReadCMMLTag::setLang(), and C_TextFieldTag::setText(). |
Here is the call graph for this function:
|
Parse an XTag representation of a title tag into the provided Title object.
Definition at line 352 of file CMMLParser.cpp. References XTag, XTAG_SET_ATTRIBUTE, and XTAG_SET_CDATA. Referenced by parseHeadTag(). |
|
Parses the given string at inText and places the result in outDoc. Note that you do not need to create create the MSXML2 document with COM's CoCreateInstance() function; we will do that for you. Definition at line 52 of file CMMLParser.cpp. |