From a4b6db00f8a577e7af2cb4de1fad90d7a9bd3898 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Wed, 22 Nov 2006 13:33:19 +0000 Subject: Changed nl() to newline() --- cpp/src/FreezeScript/DumpDB.cpp | 20 ++++++------ cpp/src/FreezeScript/TransformAnalyzer.cpp | 52 +++++++++++++++--------------- cpp/src/IceGrid/Parser.cpp | 4 +-- 3 files changed, 38 insertions(+), 38 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/FreezeScript/DumpDB.cpp b/cpp/src/FreezeScript/DumpDB.cpp index b48e7d4a1b2..88135555ff9 100644 --- a/cpp/src/FreezeScript/DumpDB.cpp +++ b/cpp/src/FreezeScript/DumpDB.cpp @@ -536,8 +536,8 @@ FreezeScript::SliceVisitor::visitClassDefStart(const Slice::ClassDefPtr& v) return false; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("dump") << attr("type", scoped) << ee; @@ -558,8 +558,8 @@ FreezeScript::SliceVisitor::visitStructStart(const Slice::StructPtr& v) return false; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("dump") << attr("type", scoped) << ee; @@ -580,8 +580,8 @@ FreezeScript::SliceVisitor::visitSequence(const Slice::SequencePtr& v) return; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("dump") << attr("type", scoped) << ee; } @@ -600,8 +600,8 @@ FreezeScript::SliceVisitor::visitDictionary(const Slice::DictionaryPtr& v) return; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("dump") << attr("type", scoped) << ee; } @@ -620,8 +620,8 @@ FreezeScript::SliceVisitor::visitEnum(const Slice::EnumPtr& v) return; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("dump") << attr("type", scoped) << ee; } diff --git a/cpp/src/FreezeScript/TransformAnalyzer.cpp b/cpp/src/FreezeScript/TransformAnalyzer.cpp index c237f5c7ed1..359054bfdc3 100644 --- a/cpp/src/FreezeScript/TransformAnalyzer.cpp +++ b/cpp/src/FreezeScript/TransformAnalyzer.cpp @@ -157,8 +157,8 @@ FreezeScript::AnalyzeTransformVisitor::visitClassDefStart(const ClassDefPtr& v) return false; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("transform") << attr("type", scoped); @@ -202,8 +202,8 @@ FreezeScript::AnalyzeTransformVisitor::visitStructStart(const StructPtr& v) return false; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("transform") << attr("type", scoped); @@ -247,8 +247,8 @@ FreezeScript::AnalyzeTransformVisitor::visitSequence(const SequencePtr& v) return; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("transform") << attr("type", scoped); @@ -288,8 +288,8 @@ FreezeScript::AnalyzeTransformVisitor::visitDictionary(const DictionaryPtr& v) return; } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("transform") << attr("type", scoped); @@ -340,8 +340,8 @@ FreezeScript::AnalyzeTransformVisitor::visitEnum(const EnumPtr& v) } } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("transform") << attr("type", scoped); @@ -352,12 +352,12 @@ FreezeScript::AnalyzeTransformVisitor::visitEnum(const EnumPtr& v) map::const_iterator q = m.find((*p)->name()); if(q == m.end()) { - _out.nl(); + _out.newline(); _out << ""; } else if(q->second != i) { - _out.nl(); + _out.newline(); _out << ""; } } @@ -389,7 +389,7 @@ FreezeScript::AnalyzeTransformVisitor::compareMembers(const DataMemberList& oldM q = newMap.find(name); if(q == newMap.end()) { - _out.nl(); + _out.newline(); _out << ""; } else @@ -412,7 +412,7 @@ FreezeScript::AnalyzeTransformVisitor::compareMembers(const DataMemberList& oldM // for(q = newMap.begin(); q != newMap.end(); ++q) { - _out.nl(); + _out.newline(); _out << ""; } } @@ -816,7 +816,7 @@ FreezeScript::AnalyzeTransformVisitor::typeChange(const string& desc, const Type if(_ignoreTypeChanges) { - _out.nl(); + _out.newline(); _out << ""; _out << se("init") << attr("type", scoped); _out << ee; @@ -986,8 +986,8 @@ FreezeScript::AnalyzeInitVisitor::visitStructStart(const StructPtr& v) } } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("init") << attr("type", scoped); _out << ee; @@ -1018,8 +1018,8 @@ FreezeScript::AnalyzeInitVisitor::visitSequence(const SequencePtr& v) } } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("init") << attr("type", scoped); _out << ee; @@ -1048,8 +1048,8 @@ FreezeScript::AnalyzeInitVisitor::visitDictionary(const DictionaryPtr& v) } } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("init") << attr("type", scoped); _out << ee; @@ -1078,8 +1078,8 @@ FreezeScript::AnalyzeInitVisitor::visitEnum(const EnumPtr& v) } } - _out.nl(); - _out.nl(); + _out.newline(); + _out.newline(); _out << ""; _out << se("init") << attr("type", scoped); _out << ee; @@ -1093,7 +1093,7 @@ FreezeScript::AnalyzeInitVisitor::typeChange(const TypePtr& t, const string& sco ContainedPtr c = ContainedPtr::dynamicCast(t); ProxyPtr p = ProxyPtr::dynamicCast(t); - _out.nl(); + _out.newline(); _out << "