SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
io
XmlDocV6Parser.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
// .NAME XmlDocV6Parser.h -
11
// .SECTION Description
12
// .SECTION See Also
13
14
#ifndef __smtk_io_XmlDocV6Parser_h
15
#define __smtk_io_XmlDocV6Parser_h
16
17
#include "smtk/io/XmlDocV5Parser.h"
18
19
#include <functional>
20
21
namespace
smtk
22
{
23
namespace
io
24
{
25
class
SMTKCORE_EXPORT
XmlDocV6Parser
:
public
XmlDocV5Parser
26
{
27
public
:
28
XmlDocV6Parser
(
smtk::attribute::ResourcePtr
resource,
smtk::io::Logger
& logger);
29
~
XmlDocV6Parser
()
override
;
30
31
static
bool
canParse(pugi::xml_node& node);
32
static
bool
canParse(pugi::xml_document& doc);
33
34
using
XmlDocV5Parser::process;
35
void
process(
36
pugi::xml_node& rootNode,
37
std::map<std::string, std::map<std::string, smtk::io::TemplateInfo>>& globalTemplateMap)
38
override
;
39
40
protected
:
41
void
processCategoryAtts(
42
pugi::xml_node& node,
43
attribute::Categories::Expression
& catExp,
44
attribute::Categories::CombinationMode
& inheritanceMode)
override
;
45
void
processCategoryInfoNode(
46
pugi::xml_node& node,
47
attribute::Categories::Expression
& catExp,
48
attribute::Categories::CombinationMode
& inheritanceMode)
override
;
49
};
50
}
// namespace io
51
}
// namespace smtk
52
53
#endif
/* __smtk_io_XmlDocV6Parser_h */
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::io::XmlDocV6Parser
Definition:
XmlDocV6Parser.h:25
smtk::io::Logger
Log messages for later presentation to a user or a file.
Definition:
Logger.h:94
smtk::attribute::Categories::Expression
Definition:
Categories.h:166
smtk::io::XmlDocV5Parser
Definition:
XmlDocV5Parser.h:25
smtk::attribute::Categories::CombinationMode
CombinationMode
Definition:
Categories.h:36
smtk::attribute::ResourcePtr
smtk::shared_ptr< smtk::attribute::Resource > ResourcePtr
Definition:
PublicPointerDefs.h:611
Generated by
1.8.17