MD_Metadata.h
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/metadata/serialization/xml/MD_Metadata.h
22
23
\brief Auxiliary classes and functions to serialize metadata to/from a XML document.
24
*/
25
26
#ifndef __TERRALIB_METADADATA_SERIALIZATION_XML_INTERNAL_MD_METADATA_H
27
#define __TERRALIB_METADADATA_SERIALIZATION_XML_INTERNAL_MD_METADATA_H
28
29
// TerraLib
30
#include "../../Config.h"
31
32
// STL
33
#include <map>
34
#include <string>
35
36
// Boost
37
#include <boost/function.hpp>
38
39
namespace
te
40
{
41
namespace
xml
42
{
43
class
AbstractWriter
;
44
class
Reader;
45
}
46
47
namespace
md
48
{
49
class
MD_Metadata;
50
51
class
CI_ResponsibleParty;
52
53
TEMDEXPORT
void
Save
(
const
te::md::MD_Metadata
* md,
te::xml::AbstractWriter
& writer);
54
55
TEMDEXPORT
void
Save
(
const
te::md::CI_ResponsibleParty
& ctc,
te::xml::AbstractWriter
& writer);
56
57
TEMDEXPORT
void
Save
(
const
te::md::MD_Identification
&
id
,
te::xml::AbstractWriter
& writer);
58
59
TEMDEXPORT
void
Save
(
const
te::md::CI_Citation
* cite,
te::xml::AbstractWriter
& writer);
60
61
}
// end namespace md
62
}
// end namespace te
63
64
#endif // __TERRALIB_METADADATA_SERIALIZATION_XML_INTERNAL_MD_METADATA_H
65
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
te::md::MD_Metadata
Root entity which defines metadata for a resource or resources.
Definition:
MD_Metadata.h:59
te::xml::AbstractWriter
This class models a XML writer object.
Definition:
AbstractWriter.h:50
te::md::CI_Citation
Provides a standardized method for citing a resource (dataset, feature, source, publication,...
Definition:
CI_Citation.h:54
AbstractWriter
A class that models a XML writer object built on top of Xerces-C++.
te::md::CI_ResponsibleParty
Contains the identify of person(s), and/or position, and/or organization(s) associated with the resou...
Definition:
CI_ResponsibleParty.h:48
TEMDEXPORT
#define TEMDEXPORT
Definition:
Config.h:61
te::md::MD_Identification
Identification information contains information to uniquely identify the data.
Definition:
MD_Identification.h:55
te::md::Save
TEMDEXPORT void Save(const te::md::MD_Metadata *md, te::xml::AbstractWriter &writer)
git_release
src
terralib
metadata
serialization
xml
MD_Metadata.h
Generated on Fri Dec 4 2020 09:43:35 for TerraLib by
1.8.20