1 |
// Command |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#include <cxx/standard.hh> |
8 |
|
9 |
#include "Command.hpp" |
10 |
|
11 |
template <typename Type> |
12 |
Type CommandRunner::GetProperties(const cse::String &property, const cse::String &target) |
13 |
{ |
14 |
Type properties; |
15 |
_S<ios::Buffer> buffer(client.GetProperty(property, target)); |
16 |
ext::Buffer property_; |
17 |
|
18 |
while (ios::ReadLine(buffer, property_)) |
19 |
properties.Insert(property_); |
20 |
|
21 |
return properties; |
22 |
} |
23 |
|
24 |
template ext::RedBlackSet<cse::String> CommandRunner::GetProperties(const cse::String &properties, const cse::String &target); |