C_MetaTagList Class Reference

#include <C_MetaTagList.h>

Inheritance diagram for C_MetaTagList:

Inheritance graph
[legend]
Collaboration diagram for C_MetaTagList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 C_MetaTagList (void)
virtual ~C_MetaTagList (void)
void emptyList ()
 Empties the list.
void addTag (C_MetaTag *inTag)
 Adds a tag to the list. You give away your pointer.
void addTag (wstring inName, wstring inContent)
 Adds a tag to this list by specifying name and content.
C_MetaTaggetTag (unsigned long inTagNo)
 Gets the indexed tag from the list. You can modify but not delete the pointer.
C_MetaTaggetTag (wstring inName)
 Returns a pointer to the tag with this name. You can modify but not delete.
wstring getContent (wstring inName)
 Gets the matching content from the tag with given name.
virtual wstring toString ()
 Returns an xml representation of this tag.
C_MetaTagListclone ()
 Performs a deep copy and returns a pointer you can keep.
unsigned long numTags ()
 Returns the tags in this list.

Protected Member Functions

virtual void privateClone (C_MappedTagList *outTagList)
void addTag (C_MappedTag *inTag)

Protected Attributes

vector< C_MappedTag * > mTagList

Constructor & Destructor Documentation

C_MetaTagList::C_MetaTagList void   ) 
 

Definition at line 37 of file C_MetaTagList.cpp.

C_MetaTagList::~C_MetaTagList void   )  [virtual]
 

Definition at line 41 of file C_MetaTagList.cpp.


Member Function Documentation

void C_MappedTagList::addTag C_MappedTag inTag  )  [protected, inherited]
 

Definition at line 53 of file C_MappedTagList.cpp.

References C_MappedTagList::mTagList.

Referenced by C_ParamTagList::addTag(), addTag(), and C_MappedTagList::privateClone().

void C_MetaTagList::addTag wstring  inName,
wstring  inContent
 

Adds a tag to this list by specifying name and content.

Definition at line 57 of file C_MetaTagList.cpp.

References addTag(), C_MappedTag::setContent(), and C_MappedTag::setName().

Here is the call graph for this function:

void C_MetaTagList::addTag C_MetaTag inTag  ) 
 

Adds a tag to the list. You give away your pointer.

Definition at line 47 of file C_MetaTagList.cpp.

References C_MappedTagList::addTag().

Referenced by illiminable::libCMMLTagsDotNET::MetaTagList::addTag(), addTag(), CMMLParser::parseClipTag(), CMMLParser::parseHeadTag(), and C_ClipTag::privateClone().

Here is the call graph for this function:

C_MetaTagList * C_MetaTagList::clone  ) 
 

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

Definition at line 88 of file C_MetaTagList.cpp.

References privateClone().

Referenced by C_HeadTag::privateClone().

Here is the call graph for this function:

void C_MetaTagList::emptyList  ) 
 

Empties the list.

Reimplemented from C_MappedTagList.

Definition at line 51 of file C_MetaTagList.cpp.

References C_MappedTagList::emptyList().

Referenced by illiminable::libCMMLTagsDotNET::MetaTagList::emptyList().

Here is the call graph for this function:

wstring C_MetaTagList::getContent wstring  inName  ) 
 

Gets the matching content from the tag with given name.

Reimplemented from C_MappedTagList.

Definition at line 74 of file C_MetaTagList.cpp.

References C_MappedTag::content(), and getTag().

Here is the call graph for this function:

C_MetaTag * C_MetaTagList::getTag wstring  inName  ) 
 

Returns a pointer to the tag with this name. You can modify but not delete.

Reimplemented from C_MappedTagList.

Definition at line 70 of file C_MetaTagList.cpp.

References C_MappedTagList::getTag().

Here is the call graph for this function:

C_MetaTag * C_MetaTagList::getTag unsigned long  inTagNo  ) 
 

Gets the indexed tag from the list. You can modify but not delete the pointer.

Reimplemented from C_MappedTagList.

Definition at line 67 of file C_MetaTagList.cpp.

Referenced by getContent(), and C_ClipTag::privateClone().

unsigned long C_MappedTagList::numTags  )  [inherited]
 

Returns the tags in this list.

Definition at line 63 of file C_MappedTagList.cpp.

References C_MappedTagList::mTagList.

Referenced by illiminable::libCMMLTagsDotNET::MetaTagList::numTags(), illiminable::libCMMLTagsDotNET::MappedTagList::numTags(), and C_ClipTag::privateClone().

void C_MetaTagList::privateClone C_MappedTagList outTagList  )  [protected, virtual]
 

Reimplemented from C_MappedTagList.

Definition at line 93 of file C_MetaTagList.cpp.

References C_MappedTagList::privateClone().

Referenced by clone().

Here is the call graph for this function:

wstring C_MetaTagList::toString  )  [virtual]
 

Returns an xml representation of this tag.

Implements C_MappedTagList.

Definition at line 78 of file C_MetaTagList.cpp.

References C_MetaTag::toString().

Referenced by C_HeadTag::toString(), and C_ClipTag::toString().

Here is the call graph for this function:


Member Data Documentation

vector<C_MappedTag*> C_MappedTagList::mTagList [protected, inherited]
 

Definition at line 60 of file C_MappedTagList.h.

Referenced by C_MappedTagList::addTag(), C_MappedTagList::emptyList(), C_MappedTagList::getTag(), C_MappedTagList::numTags(), and C_MappedTagList::privateClone().


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