diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-07-28 16:11:09 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-07-28 16:11:09 +0000 |
commit | 352f20b1b7aeb93164164e6c77356dbdcd708cef (patch) | |
tree | 16391b09de940b4037c6c00568ecb48ccb5d2a78 /cpp/src/IceGrid/Util.cpp | |
parent | Fix compiler warnings (diff) | |
download | ice-352f20b1b7aeb93164164e6c77356dbdcd708cef.tar.bz2 ice-352f20b1b7aeb93164164e6c77356dbdcd708cef.tar.xz ice-352f20b1b7aeb93164164e6c77356dbdcd708cef.zip |
Lots of descriptor changes.
Diffstat (limited to 'cpp/src/IceGrid/Util.cpp')
-rw-r--r-- | cpp/src/IceGrid/Util.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Util.cpp b/cpp/src/IceGrid/Util.cpp index 31e64f03cb9..3d79d8fd37f 100644 --- a/cpp/src/IceGrid/Util.cpp +++ b/cpp/src/IceGrid/Util.cpp @@ -15,6 +15,22 @@ #include <fstream> using namespace std; -using namespace Ice; using namespace IceGrid; +string +IceGrid::toString(const vector<string>& v) +{ + ostringstream os; + Ice::StringSeq::const_iterator p = v.begin(); + while(p != v.end()) + { + os << *p; + ++p; + if(p != v.end()) + { + os << " "; + } + } + return os.str(); +} + |