/*========================================================================= Program: Visualization Toolkit Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #include "vtkBlueObeliskData.h" #include "vtkChemistryConfigure.h" #include int GenerateBlueObeliskHeader(int, char *[]) { std::ifstream xml(VTK_BODR_DATA_PATH_BUILD "/elements.xml"); if (!xml) { std::cerr << "Error opening file " VTK_BODR_DATA_PATH_BUILD "/elements.xml.\n"; return EXIT_FAILURE; } std::cout << "// VTK/Domains/Chemistry/Testing/Cxx/GenerateBlueObeliskHeader.cxx\n"; if (!vtkBlueObeliskData::GenerateHeaderFromXML(xml, std::cout)) { return EXIT_FAILURE; } return EXIT_SUCCESS; }