diff options
author | Brad King <brad.king@kitware.com> | 2001-02-26 23:00:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-02-26 23:00:49 (GMT) |
commit | b908149828f060186cb9c240e505b865ad31494f (patch) | |
tree | 5987dad0bed3478fb5377a6aa0bf59cc34fe999c /Source/cmCableCommand.h | |
parent | 8859bd5ac835c639622e169192cbc571d90a3f4c (diff) | |
download | CMake-b908149828f060186cb9c240e505b865ad31494f.zip CMake-b908149828f060186cb9c240e505b865ad31494f.tar.gz CMake-b908149828f060186cb9c240e505b865ad31494f.tar.bz2 |
ENH: Added CABIL commands for configuration file generation.
Diffstat (limited to 'Source/cmCableCommand.h')
-rw-r--r-- | Source/cmCableCommand.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Source/cmCableCommand.h b/Source/cmCableCommand.h new file mode 100644 index 0000000..b00c199 --- /dev/null +++ b/Source/cmCableCommand.h @@ -0,0 +1,48 @@ +/*========================================================================= + + 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 cmCabilCommand_h +#define cmCabilCommand_h + +#include "cmStandardIncludes.h" +#include "cmCommand.h" +#include "cmCabilData.h" + +/** \class cmCabilCommand + * \brief Superclass for all CABIL_ command classes. + */ +class cmCabilCommand : public cmCommand +{ +public: + cmCabilCommand(); + virtual ~cmCabilCommand(); + + void WriteConfigurationHeader(std::ostream&) const; + void WriteConfigurationFooter(std::ostream&) const; + + cmTypeMacro(cmCabilCommand, cmCommand); +protected: + void SetupCabilData(); + + /** + * The cmCabilData holding common information for all cmCabilCommand + * instances. + */ + cmCabilData* m_CabilData; +}; + + + +#endif |