summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-10 18:54:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-10 18:54:57 (GMT)
commit89e5fc63fec560bec27d8517cc74ec41232736a0 (patch)
treee4b19753c7602a1224853ba1656f88ce53fb37fc /Source/cmVTKMakeInstantiatorCommand.cxx
parent509e383aacb65a501b20ce9a5520a31daff152e3 (diff)
downloadCMake-89e5fc63fec560bec27d8517cc74ec41232736a0.zip
CMake-89e5fc63fec560bec27d8517cc74ec41232736a0.tar.gz
CMake-89e5fc63fec560bec27d8517cc74ec41232736a0.tar.bz2
STYLE: fix line lengths
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx
index 5d96b80..4b7955e 100644
--- a/Source/cmVTKMakeInstantiatorCommand.cxx
+++ b/Source/cmVTKMakeInstantiatorCommand.cxx
@@ -275,7 +275,8 @@ cmVTKMakeInstantiatorCommand
// Write the extern declarations for all the creation functions.
for(unsigned int i=0;i < m_Classes.size();++i)
{
- os << "extern vtkObject* vtkInstantiator" << m_Classes[i].c_str() << "New();\n";
+ os << "extern vtkObject* vtkInstantiator" << m_Classes[i].c_str()
+ << "New();\n";
}
// Write the ClassInitialize method to register all the creation functions.
@@ -405,7 +406,8 @@ cmVTKMakeInstantiatorCommand
os <<
"};\n"
"\n"
- "class " << m_ExportMacro.c_str() << " " << m_ClassName.c_str() << "Initialize\n"
+ "class " << m_ExportMacro.c_str() << " " << m_ClassName.c_str()
+ << "Initialize\n"
"{\n"
"public:\n"
" " << m_ClassName.c_str() << "Initialize();\n"
@@ -414,7 +416,8 @@ cmVTKMakeInstantiatorCommand
" static unsigned int Count;\n"
"};\n"
"\n"
- "static " << m_ClassName.c_str() << "Initialize " << m_ClassName.c_str() << "Initializer;\n"
+ "static " << m_ClassName.c_str() << "Initialize " << m_ClassName.c_str()
+ << "Initializer;\n"
"\n"
"#endif\n";
}
@@ -460,13 +463,15 @@ cmVTKMakeInstantiatorCommand
os <<
"}\n"
"\n" <<
- m_ClassName.c_str() << "Initialize::" << m_ClassName.c_str() << "Initialize()\n"
+ m_ClassName.c_str() << "Initialize::" << m_ClassName.c_str()
+ << "Initialize()\n"
"{\n"
" if(++" << m_ClassName.c_str() << "Initialize::Count == 1)\n"
" { " << m_ClassName.c_str() << "::ClassInitialize(); }\n"
"}\n"
"\n" <<
- m_ClassName.c_str() << "Initialize::~" << m_ClassName.c_str() << "Initialize()\n"
+ m_ClassName.c_str() << "Initialize::~" << m_ClassName.c_str()
+ << "Initialize()\n"
"{\n"
" if(--" << m_ClassName.c_str() << "Initialize::Count == 0)\n"
" { " << m_ClassName.c_str() << "::ClassFinalize(); }\n"