Base class, wrapping boolean conditions and expressions.
More...
#include <InfoBool.h>
|
| InfoBool (const std::string &expression, int context, unsigned int &refreshCounter) |
|
virtual void | Initialize (CGUIInfoManager *infoMgr) |
|
bool | Get (int contextWindow, const CGUIListItem *item=nullptr) |
| Get the value of this info bool This is called to update (if dirty) and fetch the value of the info bool. More...
|
|
bool | operator== (const InfoBool &right) const |
|
bool | operator< (const InfoBool &right) const |
|
virtual void | Update (int contextWindow, const CGUIListItem *item) |
| Update the value of this info bool This is called if and only if the info bool is dirty, allowing it to update it's current value.
|
|
const std::string & | GetExpression () const |
|
bool | ListItemDependent () const |
|
Base class, wrapping boolean conditions and expressions.
◆ Get()
bool INFO::InfoBool::Get |
( |
int |
contextWindow, |
|
|
const CGUIListItem * |
item = nullptr |
|
) |
| |
|
inline |
Get the value of this info bool This is called to update (if dirty) and fetch the value of the info bool.
- Parameters
-
contextWindow | the context (window id) where this condition is being evaluated |
item | the item used to evaluate the bool |
The documentation for this class was generated from the following files:
- xbmc/interfaces/info/InfoBool.h
- xbmc/interfaces/info/InfoBool.cpp