summaryrefslogtreecommitdiffstats
path: root/Source/cmClassFile.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-09-12 09:30:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-09-12 09:30:35 (GMT)
commitaa3ca2b432ab346c28ea7c758cbbf57ca346e139 (patch)
treedec236eb51e746ae123edb3e9c01a5595381e12f /Source/cmClassFile.h
parente2ad65d3c27177b8f3ee3c9b81382ea883a3bfbd (diff)
downloadCMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.zip
CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.gz
CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.bz2
ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system.
Diffstat (limited to 'Source/cmClassFile.h')
-rw-r--r--Source/cmClassFile.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/Source/cmClassFile.h b/Source/cmClassFile.h
index f9e2f40..a8ad7b3 100644
--- a/Source/cmClassFile.h
+++ b/Source/cmClassFile.h
@@ -22,19 +22,25 @@
#include <string>
#include <vector>
-// helper function returns true if a file exits
-bool cmFileExists(const char* filename);
struct cmClassFile
{
- // Set the name of the file
+ /**
+ * Set the name of the file, given the directory
+ * the file should be in. Extensions are tried on
+ * the name in the directory to find the actual file.
+ */
void SetName(const char* name, const char* dir);
+ /**
+ * print the structure to cout
+ */
void Print();
- bool m_AbstractClass;
- bool m_HeaderFileOnly;
- std::string m_FullPath;
- std::string m_ClassName;
+ bool m_AbstractClass; // is this an abstract class
+ bool m_HeaderFileOnly; // is this file only a header file
+ std::string m_FullPath; // full path to the file
+ std::string m_ClassName; // class name
+ // list of files that this file depends on
std::vector<std::string> m_Depends;
};