CMake/Source/cmCableCommand.h

57 lines
1.5 KiB
C
Raw Normal View History

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