FDO API Reference Feature Data Objects

NetworkLayerClass.h

Go to the documentation of this file.
00001 #ifndef _NETWORKLAYERCLASS_H_
00002 #define _NETWORKLAYERCLASS_H_
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/Schema/ClassDefinition.h>
00027 #include <Fdo/Schema/ClassType.h>
00028 
00029 /// \brief
00030 /// FdoNetworkLayerClass derives from FdoClassDefinition and can be used to represent a 
00031 /// network layer.
00032 /// \note
00033 /// This Help topic is provided for informational use only. There is
00034 /// no interface or support provided. Autodesk reserves the right to change
00035 /// the software related to the content herein.
00036 class FdoNetworkLayerClass : public FdoClassDefinition
00037 {
00038 
00039 protected:
00040 /// \cond DOXYGEN-IGNORE
00041     /// Constructs a default instance of an FdoNetworkLayerClass.
00042     FdoNetworkLayerClass();
00043 
00044     /// Constructs an instance of an FdoNetworkLayerClass using the specified arguments.
00045     FdoNetworkLayerClass(FdoString* name, FdoString* description);
00046 
00047     virtual ~FdoNetworkLayerClass();
00048 
00049     virtual void Dispose();
00050 /// \endcond
00051 
00052 public:
00053     /// \brief
00054     /// Constructs a default instance of an FdoNetworkLayerClass.
00055     /// 
00056     /// \return
00057     /// Returns FdoNetworkLayerClass
00058     /// 
00059     FDO_API static FdoNetworkLayerClass* Create();
00060 
00061     /// \brief
00062     /// Constructs an instance of an FdoNetworkLayerClass using the specified arguments.
00063     /// 
00064     /// \param name 
00065     /// Input name
00066     /// \param description 
00067     /// Input description
00068     /// 
00069     /// \return
00070     /// Returns FdoNetworkLayerClass
00071     /// 
00072     FDO_API static FdoNetworkLayerClass* Create(FdoString* name, FdoString* description);
00073 
00074     /// \brief
00075     /// Gets the concrete class type.
00076     /// 
00077     /// \return
00078     /// Returns class type
00079     /// 
00080     FDO_API virtual FdoClassType GetClassType();
00081 
00082 /// \cond DOXYGEN-IGNORE
00083     /// Public non-API functions for XML support
00084 
00085     /// Update this property from the given property.
00086     virtual void Set( FdoClassDefinition* pClass, FdoSchemaXmlContext* pContext );
00087 
00088     /// Initialize this property from its XML attributes
00089     virtual void InitFromXml(const FdoString* classTypeName, FdoSchemaXmlContext* pContext, FdoXmlAttributeCollection* attrs);
00090 
00091     /// Serialize this property to XML.
00092     virtual void _writeXml( FdoSchemaXmlContext* pContext );
00093 
00094 
00095 protected:
00096     virtual void    _StartChanges();
00097     virtual void    _BeginChangeProcessing();
00098     virtual void    _AcceptChanges();
00099     virtual void    _RejectChanges();
00100     virtual void    _EndChangeProcessing();
00101 /// \endcond
00102 };
00103 
00104 /// \brief
00105 /// FdoNetworkLayerClassP is a FdoPtr on FdoNetworkLayerClass, provided for convenience.
00106 typedef FdoPtr<FdoNetworkLayerClass> FdoNetworkLayerClassP;
00107 
00108 #endif
00109 
00110 

Comments or suggestions? Send us feedback.