Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LocatorImpl.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-  $Id: LocatorImpl.cpp,v 1.1.1.1 2003/02/21 18:36:32 chad Exp $
00002 
00003 #include "ACEXML/common/LocatorImpl.h"
00004 
00005 #if !defined (__ACEXML_INLINE__)
00006 # include "ACEXML/common/LocatorImpl.i"
00007 #endif /* __ACEXML_INLINE__ */
00008 
00009 ACEXML_LocatorImpl::ACEXML_LocatorImpl (void)
00010   : publicId_ (0),
00011     systemId_ (0),
00012     lineNumber_ (1),
00013     columnNumber_ (0)
00014 {
00015 }
00016 
00017 ACEXML_LocatorImpl::ACEXML_LocatorImpl (const ACEXML_Locator& locator)
00018   : publicId_ (ACE::strnew (locator.getPublicId ())),
00019     systemId_ (ACE::strnew (locator.getSystemId ())),
00020     lineNumber_ (locator.getLineNumber ()),
00021     columnNumber_ (locator.getColumnNumber ())
00022 {
00023 }
00024 
00025 ACEXML_LocatorImpl::~ACEXML_LocatorImpl (void)
00026 {
00027 
00028 }
00029 
00030 void
00031 ACEXML_LocatorImpl::reset (void)
00032 {
00033   delete[] this->publicId_;
00034   delete[] this->systemId_;
00035   this->columnNumber_ = 0;
00036   this->lineNumber_ = 1;
00037 }

Generated on Mon Jun 16 13:23:22 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002