#include <C_StreamTag.h>
Inheritance diagram for C_StreamTag:
Public Types | |
enum | eTagType { UNKNOWN, IMPORT, STREAM, META, HEAD, TITLE, BASE, CLIP, ANCHOR, IMAGE, DESC, PARAM, BAD_TAG = 1000 } |
Public Member Functions | |
C_StreamTag (void) | |
virtual | ~C_StreamTag (void) |
wstring | timebase () |
Returns the timebase of this stream. | |
wstring | utc () |
Returns a utc timebase (if any) of this stream. | |
C_ImportTagList * | importList () |
Returns an internal pointer to the import list. Can modify but not delete. | |
void | setTimebase (wstring inTimebase) |
Sets the timebase of this stream. | |
void | setUtc (wstring inUtc) |
Sets a utc timebase (if any) of this stream. | |
void | setImportList (C_ImportTagList *inTagList) |
Sets the internal pointer to the import list. You give away your pointer. | |
virtual wstring | toString () |
Returns an xml representation of this tag. | |
C_StreamTag * | 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 | 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) |
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 | mTimebase |
wstring | mUtc |
C_ImportTagList * | mImportList |
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_StreamTag.cpp. References mImportList, and mTimebase. |
|
Definition at line 44 of file C_StreamTag.cpp. |
|
Performs a deep copy and returns a pointer you can keep.
Definition at line 84 of file C_StreamTag.cpp. References privateClone(). Referenced by genericClone(), C_CMMLRootTag::privateClone(), and illiminable::libCMMLTagsDotNET::CMMLRootTag::setStream(). |
Here is the call graph for this function:
|
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:
|
Performs a deep copy and returns a pointer to the base class you can keep.
Implements C_CMMLTag. Definition at line 90 of file C_StreamTag.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 an internal pointer to the import list. Can modify but not delete.
Definition at line 56 of file C_StreamTag.cpp. Referenced by CMMLParser::parseStreamTag(), and CMMLRecomposer::recomposeStreamFrom(). |
|
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(), 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 C_CMMLTag::escapeEntities(). Referenced by C_AnchorTag::toString(). |
Here is the call graph for this function:
|
Reimplemented from C_CMMLTag. Definition at line 75 of file C_StreamTag.cpp. References C_ImportTagList::clone(), mImportList, mTimebase, mUtc, C_CMMLTag::privateClone(), setImportList(), setTimebase(), and setUtc(). Referenced by clone(). |
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 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 internal pointer to the import list. You give away your pointer.
Definition at line 68 of file C_StreamTag.cpp. References mImportList. Referenced by privateClone(), and illiminable::libCMMLTagsDotNET::StreamTag::setImportList(). |
|
Sets the timebase of this stream.
Definition at line 61 of file C_StreamTag.cpp. References mTimebase. Referenced by CMMLParser::parseStreamTag(), privateClone(), and illiminable::libCMMLTagsDotNET::StreamTag::setTimebase(). |
|
Sets a utc timebase (if any) of this stream.
Definition at line 64 of file C_StreamTag.cpp. References mUtc. Referenced by CMMLParser::parseStreamTag(), privateClone(), and illiminable::libCMMLTagsDotNET::StreamTag::setUtc(). |
|
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 the timebase of this stream.
Definition at line 50 of file C_StreamTag.cpp. |
|
Returns an xml representation of this tag.
Implements C_CMMLTag. Definition at line 93 of file C_StreamTag.cpp. References C_CMMLTag::makeAttribute(), mImportList, mTimebase, mUtc, and C_ImportTagList::toString(). Referenced by C_CMMLRootTag::toString(). |
Here is the call graph for this function:
|
Returns a utc timebase (if any) of this stream.
Definition at line 53 of file C_StreamTag.cpp. |
|
Definition at line 89 of file C_CMMLTag.h. Referenced by C_CMMLTag::privateClone(), and C_CMMLTag::setId(). |
|
Definition at line 84 of file C_StreamTag.h. Referenced by C_StreamTag(), privateClone(), setImportList(), and toString(). |
|
Definition at line 90 of file C_CMMLTag.h. |
|
Definition at line 82 of file C_StreamTag.h. Referenced by C_StreamTag(), privateClone(), setTimebase(), and toString(). |
|
Definition at line 83 of file C_StreamTag.h. Referenced by privateClone(), setUtc(), and toString(). |