#include <C_CMMLTag.h>
Inheritance diagram for C_CMMLTag:
Public Types | |
enum | eTagType { UNKNOWN, IMPORT, STREAM, META, HEAD, TITLE, BASE, CLIP, ANCHOR, IMAGE, DESC, PARAM, BAD_TAG = 1000 } |
Public Member Functions | |
C_CMMLTag (void) | |
virtual | ~C_CMMLTag (void) |
virtual C_CMMLTag * | genericClone ()=0 |
wstring | id () |
Returns the id attribute for this tag. | |
void | setId (wstring inId) |
Sets the id attribute for this tag. | |
eTagType | tagType () |
Returns the type of tag this really is. | |
virtual wstring | toString ()=0 |
Pure Virtual : Returns an xml string representing this tag. | |
Protected Member Functions | |
virtual void | privateClone (C_CMMLTag *outTag) |
wstring | makeAttribute (wstring inElemName, wstring inElemContent) |
Makes an attribute of the form name="content" and returns a string. | |
wstring | makeRequiredAttribute (wstring inElemName, wstring inElemContent) |
wstring | escapeEntities (wstring inString) |
Escapes out & " < > ' and turns it into an entity reference. | |
wstring | replaceAll (wstring inOriginal, wchar_t inReplaceThis, wstring inWithThis) |
Implements the missing functionality from an stl string... ie replace. | |
Protected Attributes | |
wstring | mId |
eTagType | mTagType |
|
Definition at line 60 of file C_CMMLTag.h. Referenced by tagType(). |
|
Definition at line 37 of file C_CMMLTag.cpp. |
|
Definition at line 41 of file C_CMMLTag.cpp. |
|
Escapes out & " < > ' and turns it into an entity reference.
Definition at line 92 of file C_CMMLTag.cpp. References replaceAll(). Referenced by makeAttribute(), makeRequiredAttribute(), C_TitleTag::toString(), C_HeadTag::toString(), C_DescTag::toString(), and C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Implemented in C_AnchorTag, C_BaseTag, C_ClipTag, C_CMMLRootTag, C_DescTag, C_HeadTag, C_ImageTag, C_ImportTag, C_MetaTag, C_ParamTag, C_StreamTag, and C_TitleTag. |
|
Returns the id attribute for this tag.
Definition at line 46 of file C_CMMLTag.cpp. Referenced by illiminable::libCMMLTagsDotNET::CMMLTag::id(). |
|
Makes an attribute of the form name="content" and returns a string.
Definition at line 56 of file C_CMMLTag.cpp. References escapeEntities(). Referenced by C_HumReadCMMLTag::makeLangElements(), C_TitleTag::toString(), C_StreamTag::toString(), C_ParamTag::toString(), C_MetaTag::toString(), C_ImportTag::toString(), C_ImageTag::toString(), C_DescTag::toString(), C_CMMLRootTag::toString(), C_ClipTag::toString(), C_BaseTag::toString(), and C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Definition at line 66 of file C_CMMLTag.cpp. References escapeEntities(). Referenced by C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Reimplemented in C_AnchorTag, C_BaseTag, C_ClipTag, C_CMMLRootTag, C_DescTag, C_HeadTag, C_HumReadCMMLTag, C_ImageTag, C_ImportTag, C_MappedTag, C_MetaTag, C_ParamTag, C_StreamTag, C_TextFieldTag, and C_TitleTag. Definition at line 107 of file C_CMMLTag.cpp. Referenced by C_StreamTag::privateClone(), C_HumReadCMMLTag::privateClone(), and C_BaseTag::privateClone(). |
Here is the call graph for this function:
|
Implements the missing functionality from an stl string... ie replace.
Definition at line 73 of file C_CMMLTag.cpp. Referenced by escapeEntities(). |
|
Sets the id attribute for this tag.
Definition at line 51 of file C_CMMLTag.cpp. References mId. Referenced by CMMLParser::parseAnchorTag(), CMMLParser::parseBaseTag(), CMMLParser::parseClipTag(), CMMLParser::parseCMMLRootTag(), CMMLParser::parseDescTag(), CMMLParser::parseHeadTag(), CMMLParser::parseImageTag(), CMMLParser::parseImportTag(), CMMLParser::parseMetaTag(), CMMLParser::parseParamTag(), CMMLParser::parseStreamTag(), CMMLParser::parseTitleTag(), privateClone(), and illiminable::libCMMLTagsDotNET::CMMLTag::setId(). |
|
Returns the type of tag this really is.
Definition at line 111 of file C_CMMLTag.cpp. References eTagType. Referenced by CMMLRawSourcePin::deliverTag(). |
|
Pure Virtual : Returns an xml string representing this tag.
Implemented in C_AnchorTag, C_BaseTag, C_ClipTag, C_CMMLRootTag, C_DescTag, C_HeadTag, C_HumReadCMMLTag, C_ImageTag, C_ImportTag, C_MappedTag, C_MetaTag, C_ParamTag, C_StreamTag, C_TextFieldTag, and C_TitleTag. Referenced by OggDataBufferProcessor::acceptOggPage(), and CMMLRawSourcePin::deliverTag(). |
|
Definition at line 89 of file C_CMMLTag.h. Referenced by privateClone(), and setId(). |
|
Definition at line 90 of file C_CMMLTag.h. |