Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Description.cpp
Go to the documentation of this file.
1
/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file terralib/se/Description.cpp
22
23
\brief A Description gives human-readable descriptive information for the object it is included within.
24
*/
25
26
// TerraLib
27
#include "
Description.h
"
28
29
te::se::Description::Description
() =
default
;
30
31
te::se::Description::~Description
() =
default
;
32
33
void
te::se::Description::setTitle
(
const
std::string& title)
34
{
35
m_title
= title;
36
}
37
38
const
std::string&
te::se::Description::getTitle
()
const
39
{
40
return
m_title
;
41
}
42
43
void
te::se::Description::setAbstract
(
const
std::string& a)
44
{
45
m_abstract
= a;
46
}
47
48
const
std::string&
te::se::Description::getAbstract
()
const
49
{
50
return
m_abstract
;
51
}
52
53
te::se::Description
*
te::se::Description::clone
()
const
54
{
55
Description
*
d
=
new
Description
;
56
d->
setTitle
(
m_title
);
57
d->
setAbstract
(
m_abstract
);
58
59
return
d
;
60
}
te::se::Description
A Description gives human-readable descriptive information for the object it is included within...
Definition:
Description.h:56
te::se::Description::~Description
~Description()
Destructor.
te::se::Description::setAbstract
void setAbstract(const std::string &a)
Definition:
Description.cpp:43
te::se::Description::getTitle
const std::string & getTitle() const
Definition:
Description.cpp:38
te::se::Description::getAbstract
const std::string & getAbstract() const
Definition:
Description.cpp:48
Description.h
A Description gives human-readable descriptive information for the object it is included within...
te::se::Description::clone
Description * clone() const
It creates a new copy of this object.
Definition:
Description.cpp:53
d
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
te::se::Description::setTitle
void setTitle(const std::string &title)
Definition:
Description.cpp:33
te::se::Description::Description
Description()
It initializes a new Description.
te::se::Description::m_abstract
std::string m_abstract
Abstract. (Optional)
Definition:
Description.h:94
te::se::Description::m_title
std::string m_title
Title. (Optional)
Definition:
Description.h:93
terralib5_src
src
terralib
se
Description.cpp
Generated on Wed Jun 6 2018 12:16:08 for TerraLib by
1.8.11