summaryrefslogtreecommitdiffstats
path: root/Source/cmClassFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmClassFile.cxx')
-rw-r--r--Source/cmClassFile.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/Source/cmClassFile.cxx b/Source/cmClassFile.cxx
index 67d7436..9ea0674 100644
--- a/Source/cmClassFile.cxx
+++ b/Source/cmClassFile.cxx
@@ -103,19 +103,23 @@ void cmClassFile::SetName(const char* name, const char* dir, const char *ext,
return;
}
-void cmClassFile::Print()
+void cmClassFile::Print() const
{
if(m_AbstractClass)
+ {
std::cout << "Abstract ";
+ }
else
+ {
std::cout << "Concrete ";
+ }
if(m_HeaderFileOnly)
+ {
std::cout << "Header file ";
+ }
else
+ {
std::cout << "CXX file ";
- if(m_IsExecutable)
- std::cout << "Executable ";
- else
- std::cout << "Non Executable ";
+ }
std::cout << m_ClassName << std::endl;
}