WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::Quick2ViewCreator Class Reference

#include <quick2_view_creator.h>

Inheritance diagram for webdriver::Quick2ViewCreator:
Collaboration diagram for webdriver::Quick2ViewCreator:

Public Member Functions

 Quick2ViewCreator ()
 
virtual ~Quick2ViewCreator ()
 
virtual bool CreateViewByClassName (const Logger &logger, const std::string &className, const Point *position, const Size *size, ViewHandle **view) const
 
virtual bool CreateViewForUrl (const Logger &logger, const std::string &url, const Point *position, const Size *size, ViewHandle **view) const
 
- Public Member Functions inherited from webdriver::ViewCreator
 ViewCreator ()
 
virtual ~ViewCreator ()
 
template<class C >
void RegisterViewClass (const std::string &id)
 

Additional Inherited Members

- Protected Types inherited from webdriver::ViewCreator
typedef std::map< std::string,
CreateViewMethod
FactoryMap
 
- Protected Attributes inherited from webdriver::ViewCreator
FactoryMap factory
 

Constructor & Destructor Documentation

webdriver::Quick2ViewCreator::Quick2ViewCreator ( )
virtual webdriver::Quick2ViewCreator::~Quick2ViewCreator ( )
inlinevirtual

Member Function Documentation

virtual bool webdriver::Quick2ViewCreator::CreateViewByClassName ( const Logger logger,
const std::string &  className,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view of specified class

Parameters
[in]logger
[in]classNamerequested class name
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.

virtual bool webdriver::Quick2ViewCreator::CreateViewForUrl ( const Logger logger,
const std::string &  url,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view that can handle specified url

Parameters
[in]logger
[in]urlurl to handle
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.


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