-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetquery.h
More file actions
39 lines (25 loc) · 744 Bytes
/
setquery.h
File metadata and controls
39 lines (25 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
tag::write::query applicative class
copyright (c) 2005 squell <info@squell.net>
use, modification, copying and distribution of this software is permitted
under the conditions described in the file 'COPYING'.
Usage:
The write::query class doesn't set anything, but reports back info.
*/
#ifndef __ZF_SETQUERY
#define __ZF_SETQUERY
#include <string>
#include "set_base.h"
namespace tag {
namespace write {
class query : public writer {
std::string fmt;
public:
query& print(std::string s)
{ fmt = s; return *this; }
virtual bool vmodify(const char*, const function&) const;
virtual void log(const char*) const;
};
}
}
#endif