2121#include " ecflow/core/Str.hpp"
2222#include " ecflow/node/formatter/DefsWriter.hpp"
2323
24- using namespace std ;
2524using namespace ecf ;
2625
2726const Repeat& Repeat::EMPTY () {
@@ -350,7 +349,7 @@ std::string RepeatDate::valueAsString() const {
350349 catch (const ecf::bad_conversion&) {
351350 LOG_ASSERT (false , " RepeatDate::valueAsString(): could not convert value " << value_ << " to a string" );
352351 }
353- return string ();
352+ return std:: string ();
354353}
355354
356355std::string RepeatDate::value_as_string (int index) const {
@@ -360,7 +359,7 @@ std::string RepeatDate::value_as_string(int index) const {
360359 }
361360 catch (const ecf::bad_conversion&) {
362361 }
363- return string ();
362+ return std:: string ();
364363}
365364
366365std::string RepeatDate::next_value_as_string () const {
@@ -372,7 +371,7 @@ std::string RepeatDate::next_value_as_string() const {
372371 }
373372 catch (const ecf::bad_conversion&) {
374373 }
375- return string ();
374+ return std:: string ();
376375}
377376
378377std::string RepeatDate::prev_value_as_string () const {
@@ -384,7 +383,7 @@ std::string RepeatDate::prev_value_as_string() const {
384383 }
385384 catch (const ecf::bad_conversion&) {
386385 }
387- return string ();
386+ return std:: string ();
388387}
389388
390389void RepeatDate::increment () {
@@ -988,7 +987,7 @@ std::string RepeatDateList::valueAsString() const {
988987
989988std::string RepeatDateList::value_as_string (int index) const {
990989 if (list_.empty ()) {
991- return string (" 0" );
990+ return std:: string (" 0" );
992991 }
993992 if (index >= 0 && index < static_cast <int >(list_.size ())) {
994993 return ecf::convert_to<std::string>(list_[index]);
@@ -1004,7 +1003,7 @@ std::string RepeatDateList::value_as_string(int index) const {
10041003
10051004std::string RepeatDateList::next_value_as_string () const {
10061005 if (list_.empty ()) {
1007- return string (" 0" );
1006+ return std:: string (" 0" );
10081007 }
10091008
10101009 int index = currentIndex_;
@@ -1014,7 +1013,7 @@ std::string RepeatDateList::next_value_as_string() const {
10141013
10151014std::string RepeatDateList::prev_value_as_string () const {
10161015 if (list_.empty ()) {
1017- return string (" 0" );
1016+ return std:: string (" 0" );
10181017 }
10191018
10201019 int index = currentIndex_;
@@ -1276,7 +1275,7 @@ std::string RepeatInteger::valueAsString() const {
12761275 catch (const ecf::bad_conversion&) {
12771276 LOG_ASSERT (false , " " );
12781277 }
1279- return string ();
1278+ return std:: string ();
12801279}
12811280
12821281std::string RepeatInteger::value_as_string (int index) const {
@@ -1286,7 +1285,7 @@ std::string RepeatInteger::value_as_string(int index) const {
12861285 }
12871286 catch (const ecf::bad_conversion&) {
12881287 }
1289- return string ();
1288+ return std:: string ();
12901289}
12911290
12921291std::string RepeatInteger::next_value_as_string () const {
@@ -1297,7 +1296,7 @@ std::string RepeatInteger::next_value_as_string() const {
12971296 }
12981297 catch (const ecf::bad_conversion&) {
12991298 }
1300- return string ();
1299+ return std:: string ();
13011300}
13021301
13031302std::string RepeatInteger::prev_value_as_string () const {
@@ -1308,7 +1307,7 @@ std::string RepeatInteger::prev_value_as_string() const {
13081307 }
13091308 catch (const ecf::bad_conversion&) {
13101309 }
1311- return string ();
1310+ return std:: string ();
13121311}
13131312
13141313// ======================================================================================
@@ -1428,7 +1427,7 @@ std::string RepeatEnumerated::value_as_string(int index) const {
14281427
14291428std::string RepeatEnumerated::next_value_as_string () const {
14301429 if (theEnums_.empty ()) {
1431- return string ();
1430+ return std:: string ();
14321431 }
14331432
14341433 int index = currentIndex_;
@@ -1444,7 +1443,7 @@ std::string RepeatEnumerated::next_value_as_string() const {
14441443
14451444std::string RepeatEnumerated::prev_value_as_string () const {
14461445 if (theEnums_.empty ()) {
1447- return string ();
1446+ return std:: string ();
14481447 }
14491448
14501449 int index = currentIndex_;
@@ -1597,7 +1596,7 @@ std::string RepeatString::next_value_as_string() const {
15971596 }
15981597 return theStrings_[index];
15991598 }
1600- return string ();
1599+ return std:: string ();
16011600}
16021601
16031602std::string RepeatString::prev_value_as_string () const {
@@ -1612,7 +1611,7 @@ std::string RepeatString::prev_value_as_string() const {
16121611 }
16131612 return theStrings_[index];
16141613 }
1615- return string ();
1614+ return std:: string ();
16161615}
16171616
16181617void RepeatString::increment () {
0 commit comments