cmClassFile.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2000 National Library of Medicine
  8. All rights reserved.
  9. See COPYRIGHT.txt for copyright details.
  10. =========================================================================*/
  11. /**
  12. * cmClassFile a structure that represents a class loaded from
  13. * a makefile.
  14. */
  15. #ifndef cmClassFile_h
  16. #define cmClassFile_h
  17. #include <string>
  18. #include <vector>
  19. struct cmClassFile
  20. {
  21. /**
  22. * Set the name of the file, given the directory
  23. * the file should be in. Extensions are tried on
  24. * the name in the directory to find the actual file.
  25. */
  26. void SetName(const char* name, const char* dir);
  27. /**
  28. * print the structure to cout
  29. */
  30. void Print();
  31. bool m_AbstractClass; // is this an abstract class
  32. bool m_HeaderFileOnly; // is this file only a header file
  33. std::string m_FullPath; // full path to the file
  34. std::string m_ClassName; // class name
  35. // list of files that this file depends on
  36. std::vector<std::string> m_Depends;
  37. };
  38. #endif