summaryrefslogtreecommitdiff
path: root/ACEXML/common/LocatorImpl.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-15 17:18:19 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-15 17:18:19 +0000
commitf76bc212378ee42dd8ff2665896fd6b1b2553651 (patch)
treeead45f21c0eb6a33fdcfbb6d39919592abdc7622 /ACEXML/common/LocatorImpl.i
parentf30a68993b5d63668a7df21d079320aa0782a893 (diff)
downloadATCD-f76bc212378ee42dd8ff2665896fd6b1b2553651.tar.gz
ChangeLogTag:Thu Nov 15 11:11:14 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ACEXML/common/LocatorImpl.i')
-rw-r--r--ACEXML/common/LocatorImpl.i29
1 files changed, 29 insertions, 0 deletions
diff --git a/ACEXML/common/LocatorImpl.i b/ACEXML/common/LocatorImpl.i
new file mode 100644
index 00000000000..13871d0707d
--- /dev/null
+++ b/ACEXML/common/LocatorImpl.i
@@ -0,0 +1,29 @@
+// -*- C++ -*- $Id$
+
+#include "ace/ACE.h"
+
+ACEXML_INLINE void
+ACEXML_LocatorImpl::setColumnNumber (int cn)
+{
+ this->columnNumber_ = cn;
+}
+
+ACEXML_INLINE void
+ACEXML_LocatorImpl::setLineNumber (int ln)
+{
+ this->lineNumber_ = ln;
+}
+
+ACEXML_INLINE void
+ACEXML_LocatorImpl::setPublicId (const ACEXML_Char *id)
+{
+ delete this->publicId_;
+ this->publicId_ = ACE::strnew (id);
+}
+
+ACEXML_INLINE void
+ACEXML_LocatorImpl::setSystemId (const ACEXML_Char *id)
+{
+ delete this->systemId_;
+ this->systemId_ = ACE::strnew (id);
+}