tools/navgenproj/ProjGeometry.h Source File

ProjGeometry.h
Go to the documentation of this file.
1 /*
2 * Copyright 2017 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
9 #include "navgenproj/ProjTypes.h"
10 #include <string>
11 
12 namespace Kaim
13 {
14 
15 class ProjGeometry
16 {
17 public:
18  ProjGeometry() {}
19  explicit ProjGeometry(const std::string& fileName) : m_fileName(fileName) {}
20  void SetFileName(const std::string& fileName) { m_fileName = fileName; }
21  std::string m_fileName;
22 };
23 
24 inline bool Read(XmlNode node, ProjGeometry& value) { return node.ReadChild("filepath", value.m_fileName); }
25 inline void Write(XmlNode node, const ProjGeometry& value) { node.WriteChild("filepath", value.m_fileName); }
26 
27 }
28 
29 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17