Content.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 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 General Public License for more details.
14 
15  You should have received a copy of the GNU 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 Content.h
22 
23  \brief A base class for elements that are not definitions nor declarations.
24  This class is just for creating a hierarchy for All, Choice, Group and Sequence classes.
25 */
26 
27 #ifndef __TERRALIB_XSD_INTERNAL_CONTENT_H
28 #define __TERRALIB_XSD_INTERNAL_CONTENT_H
29 
30 // TerraLib
31 #include "Config.h"
32 
33 namespace te
34 {
35  namespace xsd
36  {
37  /*!
38  \class Content
39 
40  \brief A base class for elements that are not definitions nor declarations.
41  This class is just for creating a hierarchy for All, Choice, Group and Sequence classes.
42  */
44  {
45  public:
46 
47  Content() {}
48 
49  virtual ~Content() {}
50 
51  virtual Content* clone() const = 0;
52  };
53 
54  } // end namespace xsd
55 } // end namespace te
56 
57 #endif // __TERRALIB_XSD_INTERNAL_CONTENT_H
58 
59 
Configuration flags for the XSD Module of TerraLib.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
Definition: Content.h:43
virtual ~Content()
Definition: Content.h:49
URI C++ Library.
#define TEXSDEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:57