FDO API Reference | Feature Data Objects |
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 /// \cond DOXYGEN-IGNORE 00040 protected: 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 00084 /// Public non-API functions for XML and Schema Merge support 00085 00086 /// Update this property from the given property. 00087 virtual void Set( FdoClassDefinition* pClass, FdoSchemaMergeContext* pContext ); 00088 00089 /// Initialize this property from its XML attributes 00090 virtual void InitFromXml(const FdoString* classTypeName, FdoSchemaXmlContext* pContext, FdoXmlAttributeCollection* attrs); 00091 00092 /// Serialize this property to XML. 00093 virtual void _writeXml( FdoSchemaXmlContext* pContext ); 00094 00095 00096 protected: 00097 virtual void _StartChanges(); 00098 virtual void _BeginChangeProcessing(); 00099 virtual void _AcceptChanges(); 00100 virtual void _RejectChanges(); 00101 virtual void _EndChangeProcessing(); 00102 /// \endcond 00103 }; 00104 00105 /// \ingroup (typedefs) 00106 /// \brief 00107 /// FdoNetworkLayerClassP is a FdoPtr on FdoNetworkLayerClass, provided for convenience. 00108 typedef FdoPtr<FdoNetworkLayerClass> FdoNetworkLayerClassP; 00109 00110 #endif 00111 00112
Comments or suggestions? Send us feedback. |