1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-24 21:57:15 +01:00
Sandu Liviu Catalin 4a6bfc086c Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00

64 lines
1.0 KiB
C++

//
// Content.h
//
// Library: XML
// Package: XML
// Module: Content
//
// Definition of the Content enum.
//
// Copyright (c) 2015, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Based on libstudxml (http://www.codesynthesis.com/projects/libstudxml/).
// Copyright (c) 2009-2013 Code Synthesis Tools CC.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef XML_Content_INCLUDED
#define XML_Content_INCLUDED
namespace Poco {
namespace XML {
struct Content
/// XML content model. C++11 enum class emulated for C++98.
///
/// element characters whitespaces notes
/// Empty no no ignored
/// Simple no yes preserved content accumulated
/// Complex yes no ignored
/// Mixed yes yes preserved
{
enum value
{
Empty,
Simple,
Complex,
Mixed
};
Content(value v)
: _v(v)
{
}
operator value() const
{
return _v;
}
private:
value _v;
};
} } // namespace Poco::XML
#endif // XML_Content_INCLUDED