mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -65,15 +65,15 @@ public:
|
||||
DOMException(const DOMException& exc);
|
||||
/// Creates a DOMException by copying another one.
|
||||
|
||||
~DOMException() throw();
|
||||
~DOMException() noexcept;
|
||||
/// Destroys the DOMException.
|
||||
|
||||
DOMException& operator = (const DOMException& exc);
|
||||
|
||||
const char* name() const throw();
|
||||
const char* name() const noexcept;
|
||||
/// Returns a static string describing the exception.
|
||||
|
||||
const char* className() const throw();
|
||||
const char* className() const noexcept;
|
||||
/// Returns the name of the exception class.
|
||||
|
||||
Poco::Exception* clone() const;
|
||||
|
@@ -58,7 +58,7 @@ class XML_API Document: public AbstractContainerNode, public DocumentEvent
|
||||
/// context they were created.
|
||||
{
|
||||
public:
|
||||
typedef Poco::AutoReleasePool<DOMObject> AutoReleasePool;
|
||||
using AutoReleasePool = Poco::AutoReleasePool<DOMObject>;
|
||||
|
||||
explicit Document(NamePool* pNamePool = 0);
|
||||
/// Creates a new document. If pNamePool == 0, the document
|
||||
|
@@ -44,15 +44,15 @@ public:
|
||||
EventException(const EventException& exc);
|
||||
/// Creates an EventException by copying another one.
|
||||
|
||||
~EventException() throw();
|
||||
~EventException() noexcept;
|
||||
/// Destroys the EventException.
|
||||
|
||||
EventException& operator = (const EventException& exc);
|
||||
|
||||
const char* name() const throw();
|
||||
const char* name() const noexcept;
|
||||
/// Returns a static string describing the exception.
|
||||
|
||||
const char* className() const throw();
|
||||
const char* className() const noexcept;
|
||||
/// Returns the name of the exception class.
|
||||
|
||||
unsigned short code() const;
|
||||
|
@@ -208,7 +208,7 @@ public:
|
||||
/// Returns whether this node (if it is an element) has any attributes.
|
||||
|
||||
// Extensions
|
||||
typedef Poco::XML::NamespaceSupport NSMap;
|
||||
using NSMap = Poco::XML::NamespaceSupport;
|
||||
|
||||
virtual XMLString innerText() const = 0;
|
||||
/// Returns a string containing the concatenated values of the node
|
||||
|
Reference in New Issue
Block a user