summaryrefslogtreecommitdiff
path: root/ACEXML/common/LocatorImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/common/LocatorImpl.cpp')
-rw-r--r--ACEXML/common/LocatorImpl.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/ACEXML/common/LocatorImpl.cpp b/ACEXML/common/LocatorImpl.cpp
deleted file mode 100644
index 7b98f9178e1..00000000000
--- a/ACEXML/common/LocatorImpl.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/LocatorImpl.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/LocatorImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_LocatorImpl::ACEXML_LocatorImpl (void)
- : publicId_ (0),
- systemId_ (0),
- lineNumber_ (1),
- columnNumber_ (0)
-{
-}
-
-ACEXML_LocatorImpl::ACEXML_LocatorImpl (const ACEXML_Char* systemId,
- const ACEXML_Char* publicId)
- : publicId_ (publicId ? ACE::strnew (publicId) : 0),
- systemId_ (systemId ? ACE::strnew (systemId) : 0),
- lineNumber_ (1),
- columnNumber_ (0)
-{
-}
-
-
-ACEXML_LocatorImpl::ACEXML_LocatorImpl (const ACEXML_Locator& locator)
- : publicId_ (locator.getPublicId() ? ACE::strnew(locator.getPublicId ()): 0),
- systemId_ (locator.getSystemId() ? ACE::strnew(locator.getSystemId ()): 0),
- lineNumber_ (locator.getLineNumber ()),
- columnNumber_ (locator.getColumnNumber ())
-{
-}
-
-ACEXML_LocatorImpl::~ACEXML_LocatorImpl (void)
-{
- this->reset();
-}
-
-void
-ACEXML_LocatorImpl::reset (void)
-{
- delete[] this->publicId_;
- this->publicId_ = 0;
- delete[] this->systemId_;
- this->systemId_ = 0;
- this->columnNumber_ = 0;
- this->lineNumber_ = 1;
-}