Objects.cpp
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2006-2011, SRI International (R)
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU Lesser General Public License as published by
00006  * the Free Software Foundation, either version 3 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 #include <OpenKarto/Objects.h>
00019 
00020 namespace karto
00021 {
00022 
00026 
00027   ModuleParameters::ModuleParameters(const Identifier& rName)
00028     : Object(rName)
00029   {
00030   }
00031 
00032   ModuleParameters::~ModuleParameters()
00033   {
00034   }
00035 
00039 
00040   CustomItem::CustomItem()
00041     : Object()
00042   {
00043   }
00044 
00045   CustomItem::CustomItem(const Identifier& rName)
00046     : Object(rName)
00047   {
00048   }
00049 
00050   CustomItem::~CustomItem()
00051   {
00052   }
00053 
00057 
00058   DatasetInfo::DatasetInfo()
00059     : Object()
00060   {
00061     m_pTitle = new Parameter<karto::String>(GetParameterSet(), "Title", "Dataset::Title", "Title of dataset", "");
00062     m_pAuthor = new Parameter<karto::String>(GetParameterSet(), "Author", "Dataset::Author", "Author of dataset", "");
00063     m_pDescription = new Parameter<karto::String>(GetParameterSet(), "Description", "Dataset::Description", "Description of dataset", "");
00064     m_pCopyright = new Parameter<karto::String>(GetParameterSet(), "Copyright", "Dataset::Copyright", "Copyright of dataset", "");
00065   }
00066 
00067   DatasetInfo::~DatasetInfo()
00068   {
00069   }
00070 
00071   const String& DatasetInfo::GetTitle() const
00072   {
00073     return m_pTitle->GetValue();
00074   }
00075 
00076   const String& DatasetInfo::GetAuthor() const
00077   {
00078     return m_pAuthor->GetValue();
00079   }
00080 
00081   const String& DatasetInfo::GetDescription() const
00082   {
00083     return m_pDescription->GetValue();
00084   }
00085 
00086   const String& DatasetInfo::GetCopyright() const
00087   {
00088     return m_pCopyright->GetValue();
00089   }
00090 
00091 }


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 03:53:08