]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/DynamicGroupCfg.h
1 #ifndef SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H
2 #define SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H
4 #include "base/Vector.h"
5 #include "SquidString.h"
10 /// DynamicServiceGroup configuration to remember future dynamic chains
14 typedef Vector
<String
> Store
;
18 Store services
; ///< services in the group
20 bool empty() const { return services
.empty(); } ///< no services added
21 void add(const String
&item
); ///< updates group id and services
22 void clear(); ///< makes the config empty
26 std::ostream
&operator <<(std::ostream
&os
, const DynamicGroupCfg
&cfg
)
31 } // namespace Adaptation
33 #endif /* SQUID_ADAPTATION__DYNAMIC_GROUP_CFG_H */