SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Write.h
1 //=========================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //=========================================================================
10 #ifndef smtk_mesh_Write_h
11 #define smtk_mesh_Write_h
12 
13 #include "smtk/operation/XMLOperation.h"
14 
15 namespace smtk
16 {
17 namespace mesh
18 {
19 
22 class SMTKCORE_EXPORT Write : public smtk::operation::XMLOperation
23 {
24 public:
29 
30  bool ableToOperate() override;
31 
32 protected:
33  Result operateInternal() override;
34  Specification createSpecification() override;
35  const char* xmlDescription() const override;
36  void markModifiedResources(Result&) override;
37 };
38 
39 } // namespace mesh
40 } // namespace smtk
41 
42 #endif // smtk_mesh_Write_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
smtk::mesh::Write
A class for writing meshes to file.
Definition: Write.h:22
smtk::operation::XMLOperation
A specialization of smtk::operation::Operation for operations whose specifications are defined by an ...
Definition: XMLOperation.h:23
smtkCreateMacro
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:113
smtkSharedFromThisMacro
#define smtkSharedFromThisMacro(...)
A macro to help with derived classes whose bases enable shared_from_this().
Definition: SharedFromThis.h:190
smtk::operation::Operation
Operation is a base class for all SMTK operations.
Definition: Operation.h:51
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:51
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:87