diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-04-20 16:22:53 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-04-20 16:22:53 +0000 |
commit | 4395b0c28cc97edba3bd1b9f4cf5557942517dba (patch) | |
tree | ade0b19ad7a8d441dac97282162c781c5ef8c6e4 | |
parent | 185622ed53f60d418c1edfeaddfed3ca6af11dfe (diff) | |
download | ATCD-4395b0c28cc97edba3bd1b9f4cf5557942517dba.tar.gz |
ChangeLogTag:Wed Apr 20 12:20:26 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r-- | ACEXML/ChangeLog | 26 | ||||
-rw-r--r-- | ACEXML/common/Attributes.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/Attributes.h | 4 | ||||
-rw-r--r-- | ACEXML/common/ContentHandler.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/ContentHandler.h | 3 | ||||
-rw-r--r-- | ACEXML/common/DTDHandler.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/DTDHandler.h | 3 | ||||
-rw-r--r-- | ACEXML/common/EntityResolver.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/EntityResolver.h | 4 | ||||
-rw-r--r-- | ACEXML/common/ErrorHandler.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/ErrorHandler.h | 3 | ||||
-rw-r--r-- | ACEXML/common/Locator.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/Locator.h | 4 | ||||
-rw-r--r-- | ACEXML/common/NamespaceSupport.cpp | 2 | ||||
-rw-r--r-- | ACEXML/common/XMLReader.cpp | 11 | ||||
-rw-r--r-- | ACEXML/common/XMLReader.h | 3 |
16 files changed, 128 insertions, 1 deletions
diff --git a/ACEXML/ChangeLog b/ACEXML/ChangeLog index 398b93c0bb1..f347267bfdc 100644 --- a/ACEXML/ChangeLog +++ b/ACEXML/ChangeLog @@ -1,3 +1,29 @@ +Wed Apr 20 12:20:26 2005 Ossama Othman <ossama@dre.vanderbilt.edu> + + * common/Attributes.h: + * common/ContentHandler.h: + * common/DTDHandler.h: + * common/EntityResolver.h: + * common/ErrorHandler.h: + * common/Locator.h: + * common/XMLReader.h: + + Added virtual destructors to address g++ 4.0 warnings. + + * common/Attributes.cpp: + * common/ContentHandler.cpp: + * common/DTDHandler.cpp: + * common/EntityResolver.cpp: + * common/ErrorHandler.cpp: + * common/Locator.cpp: + * common/XMLReader.cpp: + + New files containing destructors. + + * common/NamespaceSupport.cpp (getURI): + + Fixed "variable may be used uninitialized" warning. + Mon Apr 18 14:10:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * parser/parser/Entity_Manager.cpp: diff --git a/ACEXML/common/Attributes.cpp b/ACEXML/common/Attributes.cpp new file mode 100644 index 00000000000..3f7c758ce8f --- /dev/null +++ b/ACEXML/common/Attributes.cpp @@ -0,0 +1,11 @@ +#include "Attributes.h" + + +ACE_RCSID (common, + Attributes, + "$Id$") + + +ACEXML_Attributes::~ACEXML_Attributes (void) +{ +} diff --git a/ACEXML/common/Attributes.h b/ACEXML/common/Attributes.h index 739a73bf053..45982ed459e 100644 --- a/ACEXML/common/Attributes.h +++ b/ACEXML/common/Attributes.h @@ -57,6 +57,10 @@ class ACEXML_Export ACEXML_Attributes { public: + + /// Destructor. + virtual ~ACEXML_Attributes (void); + /** * Look up the index of an attribute by XML 1.0 qualified name. */ diff --git a/ACEXML/common/ContentHandler.cpp b/ACEXML/common/ContentHandler.cpp new file mode 100644 index 00000000000..633342fd6b1 --- /dev/null +++ b/ACEXML/common/ContentHandler.cpp @@ -0,0 +1,11 @@ +#include "ContentHandler.h" + + +ACE_RCSID (common, + ContentHandler, + "$Id$") + + +ACEXML_ContentHandler::~ACEXML_ContentHandler (void) +{ +} diff --git a/ACEXML/common/ContentHandler.h b/ACEXML/common/ContentHandler.h index 682cac94e2b..f1bee32a75d 100644 --- a/ACEXML/common/ContentHandler.h +++ b/ACEXML/common/ContentHandler.h @@ -45,6 +45,9 @@ class ACEXML_Export ACEXML_ContentHandler { public: + + virtual ~ACEXML_ContentHandler (void); + /** * Receive notification of character data. */ diff --git a/ACEXML/common/DTDHandler.cpp b/ACEXML/common/DTDHandler.cpp new file mode 100644 index 00000000000..199f469b578 --- /dev/null +++ b/ACEXML/common/DTDHandler.cpp @@ -0,0 +1,11 @@ +#include "DTDHandler.h" + + +ACE_RCSID (common, + DTDHandler, + "$Id$") + + +ACEXML_DTDHandler::~ACEXML_DTDHandler (void) +{ +} diff --git a/ACEXML/common/DTDHandler.h b/ACEXML/common/DTDHandler.h index bf434caee3a..4f5f785552c 100644 --- a/ACEXML/common/DTDHandler.h +++ b/ACEXML/common/DTDHandler.h @@ -51,6 +51,9 @@ class ACEXML_Export ACEXML_DTDHandler { public: + + virtual ~ACEXML_DTDHandler (void); + /** * Receive notification of a notation declaration event. */ diff --git a/ACEXML/common/EntityResolver.cpp b/ACEXML/common/EntityResolver.cpp new file mode 100644 index 00000000000..bcd08c1af70 --- /dev/null +++ b/ACEXML/common/EntityResolver.cpp @@ -0,0 +1,11 @@ +#include "EntityResolver.h" + + +ACE_RCSID (common, + EntityResolver, + "$Id$") + + +ACEXML_EntityResolver::~ACEXML_EntityResolver (void) +{ +} diff --git a/ACEXML/common/EntityResolver.h b/ACEXML/common/EntityResolver.h index 545fc83ddf7..80311b34d52 100644 --- a/ACEXML/common/EntityResolver.h +++ b/ACEXML/common/EntityResolver.h @@ -21,6 +21,7 @@ #include "ACEXML/common/Env.h" #include "ACEXML/common/InputSource.h" +#include "ACEXML/common/SAXExceptions.h" /** * @class ACEXML_EntityResolver EntityResolver.h "ACEXML/common/EntityResolver.h" @@ -43,6 +44,9 @@ class ACEXML_Export ACEXML_EntityResolver { public: + + virtual ~ACEXML_EntityResolver (void); + /** * Allow the application to resolve external entities. */ diff --git a/ACEXML/common/ErrorHandler.cpp b/ACEXML/common/ErrorHandler.cpp new file mode 100644 index 00000000000..42d9552d859 --- /dev/null +++ b/ACEXML/common/ErrorHandler.cpp @@ -0,0 +1,11 @@ +#include "ErrorHandler.h" + + +ACE_RCSID (common, + ErrorHandler, + "$Id$") + + +ACEXML_ErrorHandler::~ACEXML_ErrorHandler (void) +{ +} diff --git a/ACEXML/common/ErrorHandler.h b/ACEXML/common/ErrorHandler.h index 219e9236c97..7103aaceaf5 100644 --- a/ACEXML/common/ErrorHandler.h +++ b/ACEXML/common/ErrorHandler.h @@ -47,6 +47,9 @@ class ACEXML_Export ACEXML_ErrorHandler { public: + + virtual ~ACEXML_ErrorHandler (void); + /** * Receive notification of a recoverable error. */ diff --git a/ACEXML/common/Locator.cpp b/ACEXML/common/Locator.cpp new file mode 100644 index 00000000000..5de6d3a1516 --- /dev/null +++ b/ACEXML/common/Locator.cpp @@ -0,0 +1,11 @@ +#include "Locator.h" + + +ACE_RCSID (common, + Locator, + "$Id$") + + +ACEXML_Locator::~ACEXML_Locator (void) +{ +} diff --git a/ACEXML/common/Locator.h b/ACEXML/common/Locator.h index d760c84cff9..c6504b706a4 100644 --- a/ACEXML/common/Locator.h +++ b/ACEXML/common/Locator.h @@ -14,6 +14,7 @@ #define _ACEXML_LOCATOR_H_ #include /**/ "ace/pre.h" +#include "ACEXML/common/ACEXML_Export.h" #include "ACEXML/common/XML_Types.h" /** @@ -43,6 +44,9 @@ class ACEXML_Export ACEXML_Locator { public: + + virtual ~ACEXML_Locator (void); + /* * Return the column number where the current document event ends. */ diff --git a/ACEXML/common/NamespaceSupport.cpp b/ACEXML/common/NamespaceSupport.cpp index cae3a02474f..2f99ba13495 100644 --- a/ACEXML/common/NamespaceSupport.cpp +++ b/ACEXML/common/NamespaceSupport.cpp @@ -166,7 +166,7 @@ ACEXML_NamespaceSupport::getURI (const ACEXML_Char *prefix) const if (!prefix) return 0; - ACEXML_NS_CONTEXT_ENTRY *entry; + ACEXML_NS_CONTEXT_ENTRY *entry = 0; if (this->effective_context_->find (ACEXML_String (prefix, 0, 0), entry) == 0) diff --git a/ACEXML/common/XMLReader.cpp b/ACEXML/common/XMLReader.cpp new file mode 100644 index 00000000000..d762c79a3a2 --- /dev/null +++ b/ACEXML/common/XMLReader.cpp @@ -0,0 +1,11 @@ +#include "XMLReader.h" + + +ACE_RCSID (common, + XMLReader, + "$Id$") + + +ACEXML_XMLReader::~ACEXML_XMLReader (void) +{ +} diff --git a/ACEXML/common/XMLReader.h b/ACEXML/common/XMLReader.h index bb7a3c558f7..c95024d3dd4 100644 --- a/ACEXML/common/XMLReader.h +++ b/ACEXML/common/XMLReader.h @@ -42,6 +42,9 @@ class ACEXML_Export ACEXML_XMLReader { public: + + virtual ~ACEXML_XMLReader (void); + /** * Return the current content handler. */ |