2001-02-27 02:00:49 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
=========================================================================*/
|
2001-02-28 17:34:01 +03:00
|
|
|
#ifndef cmCableCommand_h
|
|
|
|
#define cmCableCommand_h
|
2001-02-27 02:00:49 +03:00
|
|
|
|
|
|
|
#include "cmStandardIncludes.h"
|
|
|
|
#include "cmCommand.h"
|
2001-02-28 17:34:01 +03:00
|
|
|
#include "cmCableData.h"
|
2001-02-27 02:00:49 +03:00
|
|
|
|
2001-02-28 17:34:01 +03:00
|
|
|
/** \class cmCableCommand
|
|
|
|
* \brief Superclass for all cmCable command classes.
|
2001-02-28 00:28:56 +03:00
|
|
|
*
|
2001-02-28 17:34:01 +03:00
|
|
|
* 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.
|
2001-02-27 02:00:49 +03:00
|
|
|
*/
|
2001-02-28 17:34:01 +03:00
|
|
|
class cmCableCommand : public cmCommand
|
2001-02-27 02:00:49 +03:00
|
|
|
{
|
|
|
|
public:
|
2001-02-28 17:34:01 +03:00
|
|
|
cmCableCommand();
|
|
|
|
virtual ~cmCableCommand();
|
2001-02-27 02:00:49 +03:00
|
|
|
|
2001-02-28 17:34:01 +03:00
|
|
|
cmTypeMacro(cmCableCommand, cmCommand);
|
2001-02-27 02:00:49 +03:00
|
|
|
protected:
|
2001-02-28 17:34:01 +03:00
|
|
|
void SetupCableData();
|
2001-02-27 02:00:49 +03:00
|
|
|
|
|
|
|
/**
|
2001-02-28 17:34:01 +03:00
|
|
|
* The cmCableData holding common information for all cmCableCommand
|
2001-02-27 02:00:49 +03:00
|
|
|
* instances.
|
|
|
|
*/
|
2001-02-28 17:34:01 +03:00
|
|
|
cmCableData* m_CableData;
|
2001-02-27 02:00:49 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|