MeshLink
Computational geometry access
MeshLinkParser.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * Copyright (c) 2019-2020 Pointwise, Inc.
4  * All rights reserved.
5  *
6  * This sample Pointwise source code is not supported by Pointwise, Inc.
7  * It is provided freely for demonstration purposes only.
8  * SEE THE WARRANTY DISCLAIMER AT THE BOTTOM OF THIS FILE.
9  *
10  ***************************************************************************/
11 
12 #ifndef MESH_LINK_PARSER
13 #define MESH_LINK_PARSER
14 
15 #include <string>
16 
17 class MeshAssociativity;
18 
19 /****************************************************************************
20  * MeshLinkParser class
21  ***************************************************************************/
32 class ML_STORAGE_CLASS MeshLinkParser {
33 public:
38 
47  virtual bool validate(const std::string &fileName,
48  const std::string &schemaName) { return false; }
49 
54  //
57  virtual bool parseMeshLinkFile(std::string fname,
58  MeshAssociativity *meshAssociativity) { return false; }
59 
68  virtual bool getMeshLinkAttributes(std::string &xmlns, std::string &xmlns_xsi,
69  std::string &schemaLocation) { return false; }
70 
71 private:
72 };
73 
74 #endif
75 
76 /****************************************************************************
77  *
78  * DISCLAIMER:
79  * TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, POINTWISE DISCLAIMS
80  * ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED
81  * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
82  * PURPOSE, WITH REGARD TO THIS SCRIPT. TO THE MAXIMUM EXTENT PERMITTED
83  * BY APPLICABLE LAW, IN NO EVENT SHALL POINTWISE BE LIABLE TO ANY PARTY
84  * FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES
85  * WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
86  * BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE
87  * USE OF OR INABILITY TO USE THIS SCRIPT EVEN IF POINTWISE HAS BEEN
88  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF THE
89  * FAULT OR NEGLIGENCE OF POINTWISE.
90  *
91  ***************************************************************************/
Storage for mesh topology and geometry associativity data.