Objects.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2011, SRI International (R)
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #include <OpenKarto/Objects.h>
19 
20 namespace karto
21 {
22 
26 
27  ModuleParameters::ModuleParameters(const Identifier& rName)
28  : Object(rName)
29  {
30  }
31 
32  ModuleParameters::~ModuleParameters()
33  {
34  }
35 
39 
40  CustomItem::CustomItem()
41  : Object()
42  {
43  }
44 
45  CustomItem::CustomItem(const Identifier& rName)
46  : Object(rName)
47  {
48  }
49 
50  CustomItem::~CustomItem()
51  {
52  }
53 
57 
58  DatasetInfo::DatasetInfo()
59  : Object()
60  {
61  m_pTitle = new Parameter<karto::String>(GetParameterSet(), "Title", "Dataset::Title", "Title of dataset", "");
62  m_pAuthor = new Parameter<karto::String>(GetParameterSet(), "Author", "Dataset::Author", "Author of dataset", "");
63  m_pDescription = new Parameter<karto::String>(GetParameterSet(), "Description", "Dataset::Description", "Description of dataset", "");
64  m_pCopyright = new Parameter<karto::String>(GetParameterSet(), "Copyright", "Dataset::Copyright", "Copyright of dataset", "");
65  }
66 
67  DatasetInfo::~DatasetInfo()
68  {
69  }
70 
71  const String& DatasetInfo::GetTitle() const
72  {
73  return m_pTitle->GetValue();
74  }
75 
76  const String& DatasetInfo::GetAuthor() const
77  {
78  return m_pAuthor->GetValue();
79  }
80 
81  const String& DatasetInfo::GetDescription() const
82  {
83  return m_pDescription->GetValue();
84  }
85 
86  const String& DatasetInfo::GetCopyright() const
87  {
88  return m_pCopyright->GetValue();
89  }
90 
91 }
Definition: Any.cpp:20


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Jun 6 2019 19:20:24