FDO API Reference | Feature Data Objects |
00001 #ifndef FDO_XML_ATTRIBUTECOLLECTION 00002 #define FDO_XML_ATTRIBUTECOLLECTION 00003 // 00004 00005 // 00006 // Copyright (C) 2004-2006 Autodesk, Inc. 00007 // 00008 // This library is free software; you can redistribute it and/or 00009 // modify it under the terms of version 2.1 of the GNU Lesser 00010 // General Public License as published by the Free Software Foundation. 00011 // 00012 // This library is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with this library; if not, write to the Free Software 00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 // 00021 00022 #include <FdoCommon.h> 00023 00024 /// \brief 00025 /// FdoXmlAttributeCollection is a collection of XML Attribute objects. 00026 class FdoXmlAttributeCollection : public FdoNamedCollection<FdoXmlAttribute, FdoXmlException> 00027 { 00028 public: 00029 /// \brief 00030 /// Constructs an empty XML attribute collection. 00031 /// 00032 /// \return 00033 /// Returns FdoXmlAttributeCollection 00034 /// 00035 FDO_API_COMMON static FdoXmlAttributeCollection* Create(void) 00036 { 00037 return new FdoXmlAttributeCollection(); 00038 } 00039 00040 protected: 00041 /// \cond DOXYGEN-IGNORE 00042 FdoXmlAttributeCollection() : FdoNamedCollection<FdoXmlAttribute, FdoXmlException>() 00043 { 00044 } 00045 /// \endcond 00046 00047 FDO_API_COMMON virtual void Dispose() 00048 { 00049 delete this; 00050 } 00051 }; 00052 00053 /// \ingroup (typedefs) 00054 /// \brief 00055 /// FdoXmlAttributeCollectionP is a FdoPtr on FdoXmlAttributeCollection, provided for convenience. 00056 typedef FdoPtr<FdoXmlAttributeCollection> FdoXmlAttributesP; 00057 00058 #endif 00059 00060
Comments or suggestions? Send us feedback. |