+
+ class Builder : public CmdBuilder
+ {
+ /** Maximum possible Membership::Id length in decimal digits, used for determining whether a user will fit into
+ * a message or not
+ */
+ static const size_t membid_max_digits = 20;
+ static const size_t maxline = 480;
+ std::string::size_type pos;
+
+ public:
+ Builder(Channel* chan);
+ void add(Membership* memb);
+ bool has_room(Membership* memb) const;
+ void clear();
+ const std::string& finalize();
+ };