Template Struct condition

Struct Documentation

template<typename ScopeT, typename ContextT>
struct udho::view::parsing::attrs::condition

works like the udho:if tag but can be used in attribute

Public Types

typedef ScopeT table_type
typedef parsing::expression<ScopeT> evaluator_type

Public Functions

condition(parsing::xml<ContextT> &ctrl, table_type &table)
bool operator()(pugi::xml_node node, pugi::xml_node, pugi::xml_attribute attr, const ContextT &ctx)
std::string prefix() const

Public Members

parsing::xml<ContextT> &_ctrl
table_type &_table
evaluator_type _evaluator