#include <C_HeadTag.h>
Inheritance diagram for C_HeadTag:
Public Types | |
enum | eTagType { UNKNOWN, IMPORT, STREAM, META, HEAD, TITLE, BASE, CLIP, ANCHOR, IMAGE, DESC, PARAM, BAD_TAG = 1000 } |
Public Member Functions | |
C_HeadTag (void) | |
virtual | ~C_HeadTag (void) |
wstring | profile () |
Returns uri for profile used in meta tags (eg Dublin Core). | |
C_TitleTag * | title () |
Returns an internal pointer to the title element. Can modify but don't delete. | |
C_BaseTag * | base () |
Returns an internal pointer to the base element. Can modify but don't delete. | |
C_MetaTagList * | metaList () |
Returns an internal pointer to the meta tag list. Can modify but don't delete. | |
void | setProfile (wstring inProfile) |
Sets the uri for the profile used in meta tags. | |
void | setTitle (C_TitleTag *inTitle) |
Sets the title tag for this element. You give away your pointer. | |
void | setBase (C_BaseTag *inBase) |
Sets the base tag for this element. You give away your pointer. | |
void | setMetaList (C_MetaTagList *inMetaList) |
Sets the metalist used for this element. You give away your pointer. | |
virtual wstring | toString () |
Returns an xml representation of this tag. | |
C_HeadTag * | clone () |
Performs a deep copy and returns a pointer you can keep. | |
virtual C_CMMLTag * | genericClone () |
Performs a deep copy and returns a pointer to the base class you can keep. | |
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). | |
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 | mProfile |
C_TitleTag * | mTitle |
C_BaseTag * | mBase |
C_MetaTagList * | mMetaList |
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_HeadTag.cpp. |
|
Definition at line 45 of file C_HeadTag.cpp. |
|
Returns an internal pointer to the base element. Can modify but don't delete.
Definition at line 60 of file C_HeadTag.cpp. Referenced by illiminable::libCMMLTagsDotNET::HeadTag::base(). |
|
Performs a deep copy and returns a pointer you can keep.
Definition at line 99 of file C_HeadTag.cpp. References privateClone(). Referenced by genericClone(), CMMLCallbackProxy::headCallback(), C_CMMLRootTag::privateClone(), illiminable::libCMMLTagsDotNET::CMMLRootTag::setHead(), and CMMLDecodeFilter::Transform(). |
Here is the call graph for this function:
|
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(), toString(), C_DescTag::toString(), and C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Performs a deep copy and returns a pointer to the base class you can keep.
Implements C_CMMLTag. Definition at line 96 of file C_HeadTag.cpp. References clone(). |
Here is the call graph for this function:
|
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(), 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:
|
Returns an internal pointer to the meta tag list. Can modify but don't delete.
Definition at line 63 of file C_HeadTag.cpp. Referenced by CMMLParser::parseHeadTag(). |
|
Reimplemented from C_HumReadCMMLTag. Definition at line 85 of file C_HeadTag.cpp. References C_TitleTag::clone(), C_MetaTagList::clone(), C_BaseTag::clone(), mBase, mMetaList, mProfile, mTitle, C_HumReadCMMLTag::privateClone(), setBase(), setMetaList(), setProfile(), and setTitle(). Referenced by clone(). |
Here is the call graph for this function:
|
Returns uri for profile used in meta tags (eg Dublin Core).
Definition at line 54 of file C_HeadTag.cpp. |
|
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 base tag for this element. You give away your pointer.
Definition at line 79 of file C_HeadTag.cpp. References mBase. Referenced by CMMLParser::parseHeadTag(), privateClone(), and illiminable::libCMMLTagsDotNET::HeadTag::setBase(). |
|
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 metalist used for this element. You give away your pointer.
Definition at line 75 of file C_HeadTag.cpp. References mMetaList. Referenced by privateClone(). |
|
Sets the uri for the profile used in meta tags.
Definition at line 67 of file C_HeadTag.cpp. References mProfile. Referenced by CMMLParser::parseHeadTag(), privateClone(), and illiminable::libCMMLTagsDotNET::HeadTag::setProfile(). |
|
Sets the title tag for this element. You give away your pointer.
Definition at line 70 of file C_HeadTag.cpp. References mTitle. Referenced by CMMLParser::parseHeadTag(), privateClone(), and illiminable::libCMMLTagsDotNET::HeadTag::setTitle(). |
|
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(). |
|
Returns an internal pointer to the title element. Can modify but don't delete.
Definition at line 57 of file C_HeadTag.cpp. |
|
Returns an xml representation of this tag.
Implements C_HumReadCMMLTag. Definition at line 107 of file C_HeadTag.cpp. References C_CMMLTag::escapeEntities(), C_HumReadCMMLTag::makeLangElements(), mBase, mMetaList, mProfile, mTitle, C_MetaTagList::toString(), C_TitleTag::toString(), and C_BaseTag::toString(). Referenced by C_CMMLRootTag::toString(). |
Here is the call graph for this function:
|
Definition at line 91 of file C_HeadTag.h. Referenced by C_HeadTag(), privateClone(), setBase(), and toString(). |
|
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 92 of file C_HeadTag.h. Referenced by C_HeadTag(), privateClone(), setMetaList(), and toString(). |
|
Definition at line 89 of file C_HeadTag.h. Referenced by privateClone(), setProfile(), and toString(). |
|
Definition at line 90 of file C_CMMLTag.h. |
|
Definition at line 90 of file C_HeadTag.h. Referenced by C_HeadTag(), privateClone(), setTitle(), and toString(). |