#include <C_MappedTag.h>
Inheritance diagram for C_MappedTag:
Public Types | |
enum | eTagType { UNKNOWN, IMPORT, STREAM, META, HEAD, TITLE, BASE, CLIP, ANCHOR, IMAGE, DESC, PARAM, BAD_TAG = 1000 } |
Public Member Functions | |
C_MappedTag (void) | |
C_MappedTag (wstring inName, wstring inContent) | |
virtual | ~C_MappedTag (void) |
wstring | name () |
Returns the name (key) for this mapped pair. | |
wstring | content () |
Returns the content of this mapped pair. | |
void | setName (wstring inName) |
Sets the name (key) for this mapped pair. | |
void | setContent (wstring inContent) |
Sets the content of this mapped pair. | |
virtual wstring | toString ()=0 |
Pure Virtual : Returns an xml representation of this tag. | |
virtual C_MappedTag * | mappedClone ()=0 |
Pure Virtual : Performs a deep copy of this tag. | |
wstring | lang () |
Returns the language country code for this tag (eg. en or de). | |
wstring | dirn () |
Returns the direction this langauge is read (ltr or rtl). | |
void | setLang (wstring inLang) |
Sets the language country code for this tag (eg. en or de). | |
void | setDirn (wstring inDirn) |
Sets the direction this langauge is read (ltr or rtl). | |
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. | |
Protected Member Functions | |
virtual void | privateClone (C_CMMLTag *outTag) |
virtual wstring | makeLangElements () |
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 | mName |
wstring | mContent |
wstring | mLang |
wstring | mDirn |
wstring | mId |
eTagType | mTagType |
|
Definition at line 60 of file C_CMMLTag.h. Referenced by C_CMMLTag::tagType(). |
|
Definition at line 37 of file C_MappedTag.cpp. |
|
Definition at line 45 of file C_MappedTag.cpp. |
|
Definition at line 42 of file C_MappedTag.cpp. |
|
Returns the content of this mapped pair.
Definition at line 54 of file C_MappedTag.cpp. Referenced by C_MetaTagList::getContent(), C_MappedTagList::getContent(), CMMLParser::parseMetaTag(), and CMMLParser::parseParamTag(). |
|
Returns the direction this langauge is read (ltr or rtl).
Definition at line 49 of file C_HumReadCMMLTag.cpp. |
|
Escapes out & " < > ' and turns it into an entity reference.
Definition at line 92 of file C_CMMLTag.cpp. References C_CMMLTag::replaceAll(). Referenced by C_CMMLTag::makeAttribute(), C_CMMLTag::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(). |
|
Returns the language country code for this tag (eg. en or de).
Definition at line 46 of file C_HumReadCMMLTag.cpp. |
|
Makes an attribute of the form name="content" and returns a string.
Definition at line 56 of file C_CMMLTag.cpp. References C_CMMLTag::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 69 of file C_HumReadCMMLTag.cpp. References C_CMMLTag::makeAttribute(), C_HumReadCMMLTag::mDirn, and C_HumReadCMMLTag::mLang. Referenced by C_TitleTag::toString(), C_ParamTag::toString(), C_MetaTag::toString(), C_ImportTag::toString(), C_ImageTag::toString(), C_HeadTag::toString(), C_DescTag::toString(), C_CMMLRootTag::toString(), C_ClipTag::toString(), and C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Definition at line 66 of file C_CMMLTag.cpp. References C_CMMLTag::escapeEntities(). Referenced by C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Pure Virtual : Performs a deep copy of this tag.
Implemented in C_MetaTag, and C_ParamTag. |
|
Returns the name (key) for this mapped pair.
Definition at line 51 of file C_MappedTag.cpp. Referenced by CMMLParser::parseMetaTag(), and CMMLParser::parseParamTag(). |
|
Reimplemented from C_HumReadCMMLTag. Reimplemented in C_MetaTag, and C_ParamTag. Definition at line 65 of file C_MappedTag.cpp. References mContent, mName, C_HumReadCMMLTag::privateClone(), setContent(), and setName(). Referenced by C_ParamTag::privateClone(), and C_MetaTag::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 C_CMMLTag::escapeEntities(). |
|
Sets the content of this mapped pair.
Definition at line 62 of file C_MappedTag.cpp. References mContent. Referenced by C_MetaTagList::addTag(), CMMLParser::parseMetaTag(), CMMLParser::parseParamTag(), privateClone(), and illiminable::libCMMLTagsDotNET::MappedTag::setContent(). |
|
Sets the direction this langauge is read (ltr or rtl).
Definition at line 57 of file C_HumReadCMMLTag.cpp. References C_HumReadCMMLTag::mDirn. Referenced by CMMLParser::parseAnchorTag(), CMMLParser::parseClipTag(), CMMLParser::parseCMMLRootTag(), CMMLParser::parseDescTag(), CMMLParser::parseHeadTag(), CMMLParser::parseMetaTag(), CMMLParser::parseTitleTag(), C_HumReadCMMLTag::privateClone(), and illiminable::libCMMLTagsDotNET::HumReadCMMLTag::setDirn(). |
|
Sets the id attribute for this tag.
Definition at line 51 of file C_CMMLTag.cpp. References C_CMMLTag::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(), C_CMMLTag::privateClone(), and illiminable::libCMMLTagsDotNET::CMMLTag::setId(). |
|
Sets the language country code for this tag (eg. en or de).
Definition at line 54 of file C_HumReadCMMLTag.cpp. References C_HumReadCMMLTag::mLang. Referenced by CMMLParser::parseAnchorTag(), CMMLParser::parseClipTag(), CMMLParser::parseCMMLRootTag(), CMMLParser::parseDescTag(), CMMLParser::parseHeadTag(), CMMLParser::parseMetaTag(), CMMLParser::parseTitleTag(), C_HumReadCMMLTag::privateClone(), and illiminable::libCMMLTagsDotNET::HumReadCMMLTag::setLang(). |
|
Sets the name (key) for this mapped pair.
Definition at line 59 of file C_MappedTag.cpp. References mName. Referenced by C_MetaTagList::addTag(), CMMLParser::parseMetaTag(), CMMLParser::parseParamTag(), privateClone(), and illiminable::libCMMLTagsDotNET::MappedTag::setName(). |
|
Returns the type of tag this really is.
Definition at line 111 of file C_CMMLTag.cpp. References C_CMMLTag::eTagType. Referenced by CMMLRawSourcePin::deliverTag(). |
|
Pure Virtual : Returns an xml representation of this tag.
Implements C_HumReadCMMLTag. Implemented in C_MetaTag, and C_ParamTag. |
|
Definition at line 75 of file C_MappedTag.h. Referenced by C_MappedTag(), privateClone(), and setContent(). |
|
Definition at line 69 of file C_HumReadCMMLTag.h. Referenced by C_HumReadCMMLTag::makeLangElements(), C_HumReadCMMLTag::privateClone(), and C_HumReadCMMLTag::setDirn(). |
|
Definition at line 89 of file C_CMMLTag.h. Referenced by C_CMMLTag::privateClone(), and C_CMMLTag::setId(). |
|
Definition at line 68 of file C_HumReadCMMLTag.h. Referenced by C_HumReadCMMLTag::makeLangElements(), C_HumReadCMMLTag::privateClone(), and C_HumReadCMMLTag::setLang(). |
|
Definition at line 74 of file C_MappedTag.h. Referenced by C_MappedTag(), privateClone(), and setName(). |
|
Definition at line 90 of file C_CMMLTag.h. |