diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 19:26:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 19:26:29 (GMT) |
commit | 1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88 (patch) | |
tree | a7b88a2e4397167c0d6c72c9cf0fcf8f91dcd024 /Source/cmClassFile.h | |
parent | d6bdba1096f36268e414f32829e22159e983031a (diff) | |
download | CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.zip CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.gz CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.bz2 |
NEW: move from tools and config to create CMake
Diffstat (limited to 'Source/cmClassFile.h')
-rw-r--r-- | Source/cmClassFile.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Source/cmClassFile.h b/Source/cmClassFile.h new file mode 100644 index 0000000..f9e2f40 --- /dev/null +++ b/Source/cmClassFile.h @@ -0,0 +1,41 @@ +/*========================================================================= + + Program: Insight Segmentation & Registration Toolkit + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + + Copyright (c) 2000 National Library of Medicine + All rights reserved. + + See COPYRIGHT.txt for copyright details. + +=========================================================================*/ +/** + * cmClassFile a structure that represents a class loaded from + * a makefile. + */ +#ifndef cmClassFile_h +#define cmClassFile_h +#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 + void SetName(const char* name, const char* dir); + void Print(); + + bool m_AbstractClass; + bool m_HeaderFileOnly; + std::string m_FullPath; + std::string m_ClassName; + std::vector<std::string> m_Depends; +}; + +#endif |