summaryrefslogtreecommitdiffstats
path: root/Source/cmClassFile.h
blob: f9e2f40a76f0c11cb098a86d0ecdd92785cd194d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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