C_ImportTag Class Reference

#include <C_ImportTag.h>

Inheritance diagram for C_ImportTag:

Inheritance graph
[legend]
Collaboration diagram for C_ImportTag:

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_ImportTag (void)
virtual ~C_ImportTag (void)
wstring granuleRate ()
 Returns the granule rate for this imported media.
wstring contentType ()
 Returns the content type (MIME type) of this imported media.
wstring src ()
 Returns the uri of the imported media.
wstring start ()
 Returns the start time for this imported media.
wstring end ()
 Returns the end time for this imported media.
wstring title ()
 Returns the title of this imported media.
C_ParamTagListparamList ()
 Returns an internal poitner to the param list. Can modify but don't delete.
void setGranuleRate (wstring inGranuleRate)
 Sets the granule rate for this imported media.
void setContentType (wstring inContentType)
 Sets the content type (MIME type) of this imported media.
void setSrc (wstring inSrc)
 Sets the uri of the imported media.
void setStart (wstring inStart)
 Sets the start time for this imported media.
void setEnd (wstring inEnd)
 Sets the end time for this imported media.
void setTitle (wstring inTitle)
 Sets the title of this imported media.
void setParamList (C_ParamTagList *inParamList)
 Sets the internal poitner to the param list. You give away your pointer.
virtual wstring toString ()
 Returns an xml representation of this tag.
C_ImportTagclone ()
 Performs a deep copy and returns a pointer you can keep.
virtual C_CMMLTaggenericClone ()
 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 mGranuleRate
wstring mContentType
wstring mSrc
wstring mStart
wstring mEnd
wstring mTitle
C_ParamTagListmParamList
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_ImportTag::C_ImportTag void   ) 
 

Definition at line 37 of file C_ImportTag.cpp.

References mParamList, and mStart.

C_ImportTag::~C_ImportTag void   )  [virtual]
 

Definition at line 44 of file C_ImportTag.cpp.


Member Function Documentation

C_ImportTag * C_ImportTag::clone  ) 
 

Performs a deep copy and returns a pointer you can keep.

Definition at line 115 of file C_ImportTag.cpp.

References privateClone().

Referenced by illiminable::libCMMLTagsDotNET::ImportTagList::addTag(), and genericClone().

Here is the call graph for this function:

wstring C_ImportTag::contentType  ) 
 

Returns the content type (MIME type) of this imported media.

Definition at line 54 of file C_ImportTag.cpp.

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_ImportTag::end  ) 
 

Returns the end time for this imported media.

Definition at line 63 of file C_ImportTag.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_ImportTag::genericClone  )  [virtual]
 

Performs a deep copy and returns a pointer to the base class you can keep.

Implements C_CMMLTag.

Definition at line 122 of file C_ImportTag.cpp.

References clone().

Here is the call graph for this function:

wstring C_ImportTag::granuleRate  ) 
 

Returns the granule rate for this imported media.

Definition at line 51 of file C_ImportTag.cpp.

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(), 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:

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(), 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:

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:

C_ParamTagList * C_ImportTag::paramList  ) 
 

Returns an internal poitner to the param list. Can modify but don't delete.

Definition at line 69 of file C_ImportTag.cpp.

Referenced by CMMLParser::parseImportTag().

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

Reimplemented from C_HumReadCMMLTag.

Definition at line 103 of file C_ImportTag.cpp.

References C_ParamTagList::clone(), mContentType, mEnd, mGranuleRate, mParamList, mSrc, mStart, mTitle, C_HumReadCMMLTag::privateClone(), setContentType(), setEnd(), setGranuleRate(), setParamList(), setSrc(), setStart(), and setTitle().

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_ImportTag::setContentType wstring  inContentType  ) 
 

Sets the content type (MIME type) of this imported media.

Definition at line 77 of file C_ImportTag.cpp.

References mContentType.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setContentType().

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_ImportTag::setEnd wstring  inEnd  ) 
 

Sets the end time for this imported media.

Definition at line 90 of file C_ImportTag.cpp.

References mEnd.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setEnd().

void C_ImportTag::setGranuleRate wstring  inGranuleRate  ) 
 

Sets the granule rate for this imported media.

Definition at line 74 of file C_ImportTag.cpp.

References mGranuleRate.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setGranuleRate().

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_ImportTag::setParamList C_ParamTagList inParamList  ) 
 

Sets the internal poitner to the param list. You give away your pointer.

Definition at line 96 of file C_ImportTag.cpp.

References mParamList.

Referenced by privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setParamList().

void C_ImportTag::setSrc wstring  inSrc  ) 
 

Sets the uri of the imported media.

Definition at line 80 of file C_ImportTag.cpp.

References mSrc.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setSrc().

void C_ImportTag::setStart wstring  inStart  ) 
 

Sets the start time for this imported media.

Definition at line 83 of file C_ImportTag.cpp.

References mStart.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setStart().

void C_ImportTag::setTitle wstring  inTitle  ) 
 

Sets the title of this imported media.

Definition at line 93 of file C_ImportTag.cpp.

References mTitle.

Referenced by CMMLParser::parseImportTag(), privateClone(), and illiminable::libCMMLTagsDotNET::ImportTag::setTitle().

wstring C_ImportTag::src  ) 
 

Returns the uri of the imported media.

Definition at line 57 of file C_ImportTag.cpp.

Referenced by CMMLParser::parseImportTag().

wstring C_ImportTag::start  ) 
 

Returns the start time for this imported media.

Definition at line 60 of file C_ImportTag.cpp.

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_ImportTag::title  ) 
 

Returns the title of this imported media.

Definition at line 66 of file C_ImportTag.cpp.

wstring C_ImportTag::toString  )  [virtual]
 

Returns an xml representation of this tag.

Implements C_HumReadCMMLTag.

Definition at line 125 of file C_ImportTag.cpp.

References C_CMMLTag::makeAttribute(), C_HumReadCMMLTag::makeLangElements(), mContentType, mEnd, mGranuleRate, mParamList, mSrc, mStart, mTitle, and C_ParamTagList::toString().

Here is the call graph for this function:


Member Data Documentation

wstring C_ImportTag::mContentType [protected]
 

Definition at line 110 of file C_ImportTag.h.

Referenced by privateClone(), setContentType(), 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().

wstring C_ImportTag::mEnd [protected]
 

Definition at line 113 of file C_ImportTag.h.

Referenced by privateClone(), setEnd(), and toString().

wstring C_ImportTag::mGranuleRate [protected]
 

Definition at line 109 of file C_ImportTag.h.

Referenced by privateClone(), setGranuleRate(), 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_ParamTagList* C_ImportTag::mParamList [protected]
 

Definition at line 115 of file C_ImportTag.h.

Referenced by C_ImportTag(), privateClone(), setParamList(), and toString().

wstring C_ImportTag::mSrc [protected]
 

Definition at line 111 of file C_ImportTag.h.

Referenced by privateClone(), setSrc(), and toString().

wstring C_ImportTag::mStart [protected]
 

Definition at line 112 of file C_ImportTag.h.

Referenced by C_ImportTag(), privateClone(), setStart(), and toString().

eTagType C_CMMLTag::mTagType [protected, inherited]
 

Definition at line 90 of file C_CMMLTag.h.

wstring C_ImportTag::mTitle [protected]
 

Definition at line 114 of file C_ImportTag.h.

Referenced by privateClone(), setTitle(), and toString().


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