summaryrefslogtreecommitdiffstats
path: root/Source/cmCableCommand.h
blob: 60e0ed9ecd5b2d0bd70c551012f46bf4df8fbd47 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*=========================================================================

  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.

=========================================================================*/
#ifndef cmCableCommand_h
#define cmCableCommand_h

#include "cmStandardIncludes.h"
#include "cmCommand.h"
#include "cmCableData.h"

/** \class cmCableCommand
 * \brief Superclass for all cmCable command classes.
 *
 * cmCableCommand is the superclass for all CABLE-related commands.
 * The C++ Automated Bindings for Language Extension (CABLE) tool is
 * configured using an XML input file.  The input format is quite
 * flexible, but XML is hard for humans to write by hand.  The CABLE
 * commands in CMake are designed to simplify the interface with only
 * a small loss in functionality.  These commands can be used to
 * automatically generate CABLE configuration files.
 */
class cmCableCommand : public cmCommand
{
public:
  cmCableCommand();
  virtual ~cmCableCommand();
  
  void WriteConfigurationHeader(std::ostream&) const;
  void WriteConfigurationFooter(std::ostream&) const;
  
  cmTypeMacro(cmCableCommand, cmCommand);
protected:
  void SetupCableData();
  
  /**
   * The cmCableData holding common information for all cmCableCommand
   * instances.
   */
  cmCableData* m_CableData;
};



#endif