From 66544fa1152857f37315269703bb353f8c66fd5a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 16 Jun 2011 23:42:29 +0100 Subject: remove unused AnEmptyElement --- udm/inc/udm/xml/xmlitem.hxx | 21 --------------------- udm/source/xml/xmlitem.cxx | 33 --------------------------------- 2 files changed, 54 deletions(-) diff --git a/udm/inc/udm/xml/xmlitem.hxx b/udm/inc/udm/xml/xmlitem.hxx index fbb76189..85394d9d 100644 --- a/udm/inc/udm/xml/xmlitem.hxx +++ b/udm/inc/udm/xml/xmlitem.hxx @@ -227,27 +227,6 @@ class AnElement : public Element AttrList aAttrs; }; - -class AnEmptyElement : public EmptyElement -{ - public: - AnEmptyElement( - const ::csv::String & i_sTagName ); - AnEmptyElement( - const char * i_sTagName ); - ~AnEmptyElement(); - private: - // Interface Element: - virtual const ::csv::String & - inq_TagName() const; - // Interface EmptyElement: - virtual AttrList & inq_RefAttrs(); - - // DATA - ::csv::String sTagName; - AttrList aAttrs; -}; - class APureElement : public PureElement { public: diff --git a/udm/source/xml/xmlitem.cxx b/udm/source/xml/xmlitem.cxx index 78143a79..33e0042e 100644 --- a/udm/source/xml/xmlitem.cxx +++ b/udm/source/xml/xmlitem.cxx @@ -363,39 +363,6 @@ AnElement::inq_Attrs() const return &aAttrs; } - -//*************************** AnEmptyElement **************************// - -AnEmptyElement::AnEmptyElement( const String & i_sTagName ) - : sTagName( i_sTagName ) - // aAttrs -{ -} - -AnEmptyElement::AnEmptyElement( const char * i_sTagName ) - : sTagName( i_sTagName ) - // aAttrs -{ -} - -AnEmptyElement::~AnEmptyElement() -{ - -} - -const String & -AnEmptyElement::inq_TagName() const -{ - return sTagName; -} - -AttrList & -AnEmptyElement::inq_RefAttrs() -{ - return aAttrs; -} - - //*************************** APureElement **************************// APureElement::APureElement( const String & i_sTagName ) -- cgit v1.2.3