- Main Page
- Related Pages
- Modules
- Classes
- Files

# ClassMappingCollection.h

Go to the documentation of this file.

    00001 #ifndef FDO_XMLCLASSMAPPINGCOLLECTION
    00002 #define FDO_XMLCLASSMAPPINGCOLLECTION
    00003
    00004 //
    00005 // Copyright (C) 2004-2006  Autodesk, Inc.
    00006 //
    00007 // This library is free software; you can redistribute it and/or
    00008 // modify it under the terms of version 2.1 of the GNU Lesser
    00009 // General Public License as published by the Free Software Foundation.
    00010 //
    00011 // This library is distributed in the hope that it will be useful,
    00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014 // Lesser General Public License for more details.
    00015 //
    00016 // You should have received a copy of the GNU Lesser General Public
    00017 // License along with this library; if not, write to the Free Software
    00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    00019 //
    00020
    00021 #ifdef _WIN32
    00022 #pragma once
    00023 #endif
    00024
    00025 #include <FdoStd.h>
    00026 #include <Fdo/Xml/ClassMapping.h>
    00027
    00028 /// \brief
    00029 /// FdoXmlClassMappingCollection is a collection of Fdo-GML Class Mapping objects.
    00030 class FdoXmlClassMappingCollection : public FdoPhysicalElementMappingCollection<FdoXmlClassMapping>
    00031 {
    00032 public:
    00033     /// \brief
    00034     /// Constructs an empty Class mapping collection.
    00035     ///
    00036     /// \param parent
    00037     /// Input the parent FdoXmlSchemaMapping.
    00038     ///
    00039     /// \return
    00040     /// Returns FdoXmlClassMappingCollection
    00041     ///
    00042     FDO_API static FdoXmlClassMappingCollection* Create(FdoPhysicalElementMapping* parent);
    00043
    00044 protected:
    00045 /// \cond DOXYGEN-IGNORE
    00046     FdoXmlClassMappingCollection() : FdoPhysicalElementMappingCollection<FdoXmlClassMapping>()
    00047     {
    00048     }
    00049
    00050     FdoXmlClassMappingCollection(FdoPhysicalElementMapping* parent) : FdoPhysicalElementMappingCollection<FdoXmlClassMapping>(parent)
    00051     {
    00052     }
    00053
    00054     virtual void Dispose();
    00055 /// \endcond
    00056 };
    00057
    00058 /// \ingroup (typedefs)
    00059 /// \brief
    00060 /// FdoXmlClassMappingsP is a FdoPtr on FdoXmlClassMappingCollection, provided for convenience.
    00061 typedef FdoPtr<FdoXmlClassMappingCollection> FdoXmlClassMappingsP;
    00062
    00063 #endif
    00064
    00065

Please send us your comment about this page