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

#include <webdriver_view_id.h>

Public Member Functions

 ViewId ()
 
 ViewId (const std::string &id)
 
 ~ViewId ()
 
bool is_valid () const
 
const std::string & id () const
 
bool operator== (const ViewId &other) const
 
bool operator!= (const ViewId &other) const
 
bool operator< (const ViewId &other) const
 

Detailed Description

This class represents a Webdriver View ID. These IDs are mapped to objects in a page.

Constructor & Destructor Documentation

webdriver::ViewId::ViewId ( )

Creates an invalid ID.

webdriver::ViewId::ViewId ( const std::string &  id)
explicit

Creates a valid ViewId using the ID of an view.

Parameters
idview Id
webdriver::ViewId::~ViewId ( )

Member Function Documentation

const std::string& webdriver::ViewId::id ( ) const
inline

Returns string form of id.

bool webdriver::ViewId::is_valid ( ) const

Returns whether this ID is valid.

bool webdriver::ViewId::operator!= ( const ViewId other) const
bool webdriver::ViewId::operator< ( const ViewId other) const
bool webdriver::ViewId::operator== ( const ViewId other) const

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