Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LocationRule Class Reference

#include "gui/interact/ui-location-solver.hpp"

Description

A rule to determine some location by matching against the UI-tree.

It is comprised of one or several disjunctive clauses, each of which is a coordinate pattern to be matched. The clauses are tried in order and the first successfully matched clause wins.

Definition at line 131 of file ui-location-solver.hpp.

Public Types

using iterator = lib::RangeIter< Clauses::const_iterator >
 

Public Member Functions

 LocationRule (LocationClause &&firstRule)
 
 LocationRule (LocationRule &&rr)
 
LocationRule && append (LocationClause &&furtherRule)
 
iterator begin () const
 
iterator end () const
 
 operator string () const
 

Private Types

using Clauses = std::vector< LocationClause >
 

Private Attributes

Clauses clauses_
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 ~NonCopyable ()=default
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Member Typedef Documentation

using Clauses = std::vector<LocationClause>
private

Definition at line 134 of file ui-location-solver.hpp.

using iterator = lib::RangeIter<Clauses::const_iterator>

Definition at line 157 of file ui-location-solver.hpp.

Constructor & Destructor Documentation

LocationRule ( LocationClause &&  firstRule)
inline

Definition at line 139 of file ui-location-solver.hpp.

LocationRule ( LocationRule &&  rr)
inline

Definition at line 144 of file ui-location-solver.hpp.

Member Function Documentation

LocationRule&& append ( LocationClause &&  furtherRule)
inline

Definition at line 150 of file ui-location-solver.hpp.

Referenced by gui::interact::operator or().

+ Here is the caller graph for this function:

iterator begin ( ) const
inline

Definition at line 158 of file ui-location-solver.hpp.

iterator end ( ) const
inline

Definition at line 159 of file ui-location-solver.hpp.

operator string ( ) const
inline

Definition at line 221 of file ui-location-solver.hpp.

References util::join().

+ Here is the call graph for this function:

Member Data Documentation

Clauses clauses_
private

Definition at line 136 of file ui-location-solver.hpp.

+ Inheritance diagram for LocationRule:
+ Collaboration diagram for LocationRule:

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