WeHtmlFactory Class Reference

The WeHtmlEntity creator. More...

#include <weHelper.h>

Inheritance diagram for WeHtmlFactory:

WeLinkedList< _Key, _Val >

List of all members.

Public Member Functions

 WeHtmlFactory ()
void Init ()
void Add (string name, EntityFactory func)
WeHtmlEntityCreateEntity (string tagName, WeHtmlEntity *prnt)
 Create WeHtmlEntity by the given TAG name.


Detailed Description

The WeHtmlEntity creator.

Author:
A. Abramov
Date:
29.05.2009

Definition at line 54 of file weHelper.h.


Constructor & Destructor Documentation

WeHtmlFactory::WeHtmlFactory (  ) 

Definition at line 165 of file weHelper.cpp.


Member Function Documentation

void WeHtmlFactory::Add ( string  name,
EntityFactory  func 
)

Definition at line 174 of file weHelper.cpp.

WeHtmlEntity * WeHtmlFactory::CreateEntity ( string  tagName,
WeHtmlEntity prnt 
)

Create WeHtmlEntity by the given TAG name.

Parameters:
tagName - Name of the html tag.
prnt - Parent of the newly created object
Return values:
null if it fails, pointer to WeHtmlEntity ot it's successor else.

Definition at line 212 of file weHelper.cpp.

void WeHtmlFactory::Init (  ) 

Definition at line 185 of file weHelper.cpp.


The documentation for this class was generated from the following files:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads