C_CMMLRootTag Class Reference

#include <C_CMMLRootTag.h>

Inheritance diagram for C_CMMLRootTag:

Inheritance graph
[legend]
Collaboration diagram for C_CMMLRootTag:

Collaboration graph
[legend]
List of all members.

Public Types

enum  eTagType {
  UNKNOWN, IMPORT, STREAM, META,
  HEAD, TITLE, BASE, CLIP,
  ANCHOR, IMAGE, DESC, PARAM,
  BAD_TAG = 1000
}

Public Member Functions

 C_CMMLRootTag (void)
virtual ~C_CMMLRootTag (void)
C_StreamTagstream ()
 Returns the internal pointer to the stream element. Can modify but don't delete.
C_HeadTaghead ()
 Returns the internal pointer to the head element. Can modify but don't delete.
C_ClipTagListclipList ()
 Returns the internal pointer to the clip list. Can modify but don't delete.
void setStream (C_StreamTag *inStreamTag)
 Sets the stream element. You give away your pointer.
void setHead (C_HeadTag *inHeadTag)
 Sets the head element. You give away your pointer.
void setClipList (C_ClipTagList *inClipList)
 Sets the clip list. You give away your pointer.
virtual wstring toString ()
 Returns an xml string representing the root tag.
C_CMMLRootTagclone ()
 Does a deep copy of this tag and returns a pointer you can keep.
virtual C_CMMLTaggenericClone ()
 Does a deep copy of this tag 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)
 Internal deep copy mechanism.
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

C_StreamTagmStream
C_HeadTagmHead
C_ClipTagListmClipList
wstring mLang
wstring mDirn
wstring mId
eTagType mTagType

Member Enumeration Documentation

enum C_CMMLTag::eTagType [inherited]
 

Enumeration values:
UNKNOWN 
IMPORT 
STREAM 
META 
HEAD 
TITLE 
BASE 
CLIP 
ANCHOR 
IMAGE 
DESC 
PARAM 
BAD_TAG 

Definition at line 60 of file C_CMMLTag.h.

Referenced by C_CMMLTag::tagType().


Constructor & Destructor Documentation

C_CMMLRootTag::C_CMMLRootTag void   ) 
 

Definition at line 37 of file C_CMMLRootTag.cpp.

References mClipList, mHead, and mStream.

C_CMMLRootTag::~C_CMMLRootTag void   )  [virtual]
 

Definition at line 44 of file C_CMMLRootTag.cpp.


Member Function Documentation

C_ClipTagList * C_CMMLRootTag::clipList  ) 
 

Returns the internal pointer to the clip list. Can modify but don't delete.

Definition at line 59 of file C_CMMLRootTag.cpp.

Referenced by CMMLRawSourceFilter::DataProcessLoop(), CMMLParser::parseCMMLRootTag(), and CMMLRecomposer::recomposeStreamFrom().

C_CMMLRootTag * C_CMMLRootTag::clone  ) 
 

Does a deep copy of this tag and returns a pointer you can keep.

Definition at line 95 of file C_CMMLRootTag.cpp.

References privateClone().

Referenced by C_CMMLDoc::clone(), genericClone(), and illiminable::libCMMLTagsDotNET::CMMLDoc::setRoot().

Here is the call graph for this function:

wstring C_HumReadCMMLTag::dirn  )  [inherited]
 

Returns the direction this langauge is read (ltr or rtl).

Definition at line 49 of file C_HumReadCMMLTag.cpp.

wstring C_CMMLTag::escapeEntities wstring  inString  )  [protected, inherited]
 

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:

C_CMMLTag * C_CMMLRootTag::genericClone  )  [virtual]
 

Does a deep copy of this tag and returns a pointer to the base class you can keep.

Implements C_CMMLTag.

Definition at line 91 of file C_CMMLRootTag.cpp.

References clone().

Here is the call graph for this function:

C_HeadTag * C_CMMLRootTag::head  ) 
 

Returns the internal pointer to the head element. Can modify but don't delete.

Definition at line 56 of file C_CMMLRootTag.cpp.

Referenced by CMMLRawSourceFilter::DataProcessLoop(), and CMMLRecomposer::recomposeStreamFrom().

wstring C_CMMLTag::id  )  [inherited]
 

Returns the id attribute for this tag.

Definition at line 46 of file C_CMMLTag.cpp.

Referenced by illiminable::libCMMLTagsDotNET::CMMLTag::id().

wstring C_HumReadCMMLTag::lang  )  [inherited]
 

Returns the language country code for this tag (eg. en or de).

Definition at line 46 of file C_HumReadCMMLTag.cpp.

wstring C_CMMLTag::makeAttribute wstring  inElemName,
wstring  inElemContent
[protected, inherited]
 

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(), toString(), C_ClipTag::toString(), C_BaseTag::toString(), and C_AnchorTag::toString().

Here is the call graph for this function:

wstring C_HumReadCMMLTag::makeLangElements  )  [protected, virtual, inherited]
 

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(), toString(), C_ClipTag::toString(), and C_AnchorTag::toString().

Here is the call graph for this function:

wstring C_CMMLTag::makeRequiredAttribute wstring  inElemName,
wstring  inElemContent
[protected, inherited]
 

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:

void C_CMMLRootTag::privateClone C_CMMLTag outTag  )  [protected, virtual]
 

Internal deep copy mechanism.

Reimplemented from C_HumReadCMMLTag.

Definition at line 79 of file C_CMMLRootTag.cpp.

References C_ClipTagList::clone(), C_HeadTag::clone(), C_StreamTag::clone(), mClipList, mHead, mStream, C_HumReadCMMLTag::privateClone(), setClipList(), setHead(), and setStream().

Referenced by clone().

Here is the call graph for this function:

wstring C_CMMLTag::replaceAll wstring  inOriginal,
wchar_t  inReplaceThis,
wstring  inWithThis
[protected, inherited]
 

Implements the missing functionality from an stl string... ie replace.

Definition at line 73 of file C_CMMLTag.cpp.

Referenced by C_CMMLTag::escapeEntities().

void C_CMMLRootTag::setClipList C_ClipTagList inClipList  ) 
 

Sets the clip list. You give away your pointer.

Definition at line 63 of file C_CMMLRootTag.cpp.

References mClipList.

Referenced by privateClone(), CMMLRecomposer::recomposeStreamFrom(), and illiminable::libCMMLTagsDotNET::CMMLRootTag::setClipList().

void C_HumReadCMMLTag::setDirn wstring  inDirn  )  [inherited]
 

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().

void C_CMMLRootTag::setHead C_HeadTag inHeadTag  ) 
 

Sets the head element. You give away your pointer.

Definition at line 73 of file C_CMMLRootTag.cpp.

References mHead.

Referenced by CMMLParser::parseCMMLRootTag(), privateClone(), and illiminable::libCMMLTagsDotNET::CMMLRootTag::setHead().

void C_CMMLTag::setId wstring  inId  )  [inherited]
 

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().

void C_HumReadCMMLTag::setLang wstring  inLang  )  [inherited]
 

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().

void C_CMMLRootTag::setStream C_StreamTag inStreamTag  ) 
 

Sets the stream element. You give away your pointer.

Definition at line 68 of file C_CMMLRootTag.cpp.

References mStream.

Referenced by CMMLParser::parseCMMLRootTag(), privateClone(), and illiminable::libCMMLTagsDotNET::CMMLRootTag::setStream().

C_StreamTag * C_CMMLRootTag::stream  ) 
 

Returns the internal pointer to the stream element. Can modify but don't delete.

Definition at line 53 of file C_CMMLRootTag.cpp.

Referenced by CMMLRecomposer::recomposeStreamFrom().

C_CMMLTag::eTagType C_CMMLTag::tagType  )  [inherited]
 

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().

wstring C_CMMLRootTag::toString  )  [virtual]
 

Returns an xml string representing the root tag.

Implements C_HumReadCMMLTag.

Definition at line 102 of file C_CMMLRootTag.cpp.

References C_CMMLTag::makeAttribute(), C_HumReadCMMLTag::makeLangElements(), mClipList, mHead, mStream, C_ClipTagList::toString(), C_HeadTag::toString(), and C_StreamTag::toString().

Referenced by C_CMMLDoc::toString().

Here is the call graph for this function:


Member Data Documentation

C_ClipTagList* C_CMMLRootTag::mClipList [protected]
 

Definition at line 87 of file C_CMMLRootTag.h.

Referenced by C_CMMLRootTag(), privateClone(), setClipList(), and toString().

wstring C_HumReadCMMLTag::mDirn [protected, inherited]
 

Definition at line 69 of file C_HumReadCMMLTag.h.

Referenced by C_HumReadCMMLTag::makeLangElements(), C_HumReadCMMLTag::privateClone(), and C_HumReadCMMLTag::setDirn().

C_HeadTag* C_CMMLRootTag::mHead [protected]
 

Definition at line 86 of file C_CMMLRootTag.h.

Referenced by C_CMMLRootTag(), privateClone(), setHead(), and toString().

wstring C_CMMLTag::mId [protected, inherited]
 

Definition at line 89 of file C_CMMLTag.h.

Referenced by C_CMMLTag::privateClone(), and C_CMMLTag::setId().

wstring C_HumReadCMMLTag::mLang [protected, inherited]
 

Definition at line 68 of file C_HumReadCMMLTag.h.

Referenced by C_HumReadCMMLTag::makeLangElements(), C_HumReadCMMLTag::privateClone(), and C_HumReadCMMLTag::setLang().

C_StreamTag* C_CMMLRootTag::mStream [protected]
 

Definition at line 85 of file C_CMMLRootTag.h.

Referenced by C_CMMLRootTag(), privateClone(), setStream(), and toString().

eTagType C_CMMLTag::mTagType [protected, inherited]
 

Definition at line 90 of file C_CMMLTag.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:01:55 2005 for oggdsf by  doxygen 1.3.9