void commit() { for ( Condition & condition : conditions ) { std::for_each( condition.macros.begin(), condition.macros.end(), macroUsedCallback_ ); } conditions.clear(); std::for_each( macros.begin(), macros.end(), macroUsedCallback_ ); macros.clear(); }
void Clear() { with_limit = false; limit_offset = 0; limit_count = -1; with_desc_asc = false; is_desc = false; with_alpha = false; aggregate = AGGREGATE_EMPTY; conds.clear(); names.clear(); orderby = Slice(); }