FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Runtime::Disposable Class Reference

Inherited by OSGeo::FDO::ClientServices::ConnectionManager, OSGeo::FDO::ClientServices::Provider, OSGeo::FDO::ClientServices::ProviderCollection, OSGeo::FDO::ClientServices::ProviderNameTokens, OSGeo::FDO::ClientServices::ProviderRegistry, OSGeo::FDO::Commands::BatchParameterValueCollection, OSGeo::FDO::Commands::DataStore::IDataStoreReaderImp, OSGeo::FDO::Commands::Feature::IReaderImp, OSGeo::FDO::Commands::ICommandImp, OSGeo::FDO::Commands::IdentifierCollection, OSGeo::FDO::Commands::Locking::ILockConflictReaderImp, OSGeo::FDO::Commands::Locking::ILockedObjectReaderImp, OSGeo::FDO::Commands::Locking::ILockOwnersReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionCheckpointReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionConflictDirectiveEnumeratorImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionSetReaderImp, OSGeo::FDO::Commands::ParameterValue, OSGeo::FDO::Commands::ParameterValueCollection, OSGeo::FDO::Commands::PropertyValue, OSGeo::FDO::Commands::PropertyValueCollection, OSGeo::FDO::Commands::Schema::PhysicalSchemaMappingCollection, OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp, OSGeo::FDO::Commands::SQL::ISQLDataReaderImp, OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp, OSGeo::FDO::Common::DictionaryElement, OSGeo::FDO::Common::DictionaryElementCollection, OSGeo::FDO::Common::Io::IoStream, OSGeo::FDO::Common::Io::IoTextReader, OSGeo::FDO::Common::Io::IoTextWriter, OSGeo::FDO::Common::IStreamReaderImp, OSGeo::FDO::Common::StringCollection, OSGeo::FDO::Common::StringElement, OSGeo::FDO::Common::Xml::XmlAttribute, OSGeo::FDO::Common::Xml::XmlAttributeCollection, OSGeo::FDO::Common::Xml::XmlReader, OSGeo::FDO::Common::Xml::XmlSaxContext, OSGeo::FDO::Common::Xml::XmlSaxHandler, OSGeo::FDO::Common::Xml::XmlWriter, OSGeo::FDO::Common::Xsl::XslTransformer, OSGeo::FDO::Connections::Capabilities::ArgumentDefinition, OSGeo::FDO::Connections::Capabilities::ArgumentDefinitionCollection, OSGeo::FDO::Connections::Capabilities::FunctionDefinition, OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection, OSGeo::FDO::Connections::Capabilities::ICommandCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IConnectionCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IExpressionCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IFilterCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IGeometryCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IRasterCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ISchemaCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ITopologyCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ReadOnlyArgumentDefinitionCollection, OSGeo::FDO::Connections::Capabilities::ReadOnlySignatureDefinitionCollection, OSGeo::FDO::Connections::Capabilities::SignatureDefinition, OSGeo::FDO::Connections::Capabilities::SignatureDefinitionCollection, OSGeo::FDO::Connections::IConnectionImp, OSGeo::FDO::Connections::IConnectionInfoImp, OSGeo::FDO::Connections::IConnectionPropertyDictionaryImp, OSGeo::FDO::Connections::ITransactionImp, OSGeo::FDO::Expression::DataValueCollection, OSGeo::FDO::Expression::Expression, OSGeo::FDO::Expression::ExpressionCollection, OSGeo::FDO::Expression::IExpressionProcessorImp, OSGeo::FDO::Filter::Filter, OSGeo::FDO::Filter::IFilterProcessorImp, OSGeo::FDO::Filter::ValueExpressionCollection, OSGeo::FDO::Geometry::CurvePolygonCollection, OSGeo::FDO::Geometry::CurveSegmentCollection, OSGeo::FDO::Geometry::CurveStringCollection, OSGeo::FDO::Geometry::DirectPositionCollection, OSGeo::FDO::Geometry::DirectPositionImpl, OSGeo::FDO::Geometry::EnvelopeImpl, OSGeo::FDO::Geometry::GeometryCollection, OSGeo::FDO::Geometry::GeometryFactoryAbstract, OSGeo::FDO::Geometry::ICurveSegmentAbstractImp, OSGeo::FDO::Geometry::IDirectPositionImp, OSGeo::FDO::Geometry::IEnvelopeImp, OSGeo::FDO::Geometry::IGeometryImp, OSGeo::FDO::Geometry::IRingAbstractImp, OSGeo::FDO::Geometry::LinearRingCollection, OSGeo::FDO::Geometry::LineStringCollection, OSGeo::FDO::Geometry::PointCollection, OSGeo::FDO::Geometry::PolygonCollection, OSGeo::FDO::Geometry::RingCollection, OSGeo::FDO::IConnectionManagerImp, OSGeo::FDO::IDisposableCollection, OSGeo::FDO::IProviderRegistryImp, OSGeo::FDO::Raster::DataValueCollection, OSGeo::FDO::Raster::IRasterImp, OSGeo::FDO::Raster::IRasterPropertyDictionaryImp, OSGeo::FDO::Raster::RasterDataModel, OSGeo::FDO::Schema::ClassCapabilities, OSGeo::FDO::Schema::ClassCollection, OSGeo::FDO::Schema::DataPropertyDefinitionCollection, OSGeo::FDO::Schema::FeatureClassCollection, OSGeo::FDO::Schema::FeatureSchemaCollection, OSGeo::FDO::Schema::PropertyDefinitionCollection, OSGeo::FDO::Schema::PropertyValueConstraint, OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection, OSGeo::FDO::Schema::ReadOnlyPropertyDefinitionCollection, OSGeo::FDO::Schema::UniqueConstraint, OSGeo::FDO::Schema::UniqueConstraintCollection, OSGeo::FDO::Spatial::SpatialGridTransform, OSGeo::FDO::Xml::XmlClassMappingCollection, OSGeo::FDO::Xml::XmlElementMappingCollection, OSGeo::FDO::Xml::XmlFeatureHandler, OSGeo::FDO::Xml::XmlFeaturePropertyWriter, OSGeo::FDO::Xml::XmlFeatureWriter, OSGeo::FDO::Xml::XmlFlags, OSGeo::FDO::Xml::XmlSerializable, and OSGeo::FDO::Xml::XmlSpatialContextWriter.

Inheritance diagram for OSGeo::FDO::Runtime::Disposable:

[legend]
List of all members.

Detailed Description

This class should be used as a base class for the managed classes we define in this project since we need to manage the lifetime of unmanaged C++ FDO classes. For more information on why this is necessary see "Implementing Finalize and Dispose to Clean Up Unmanaged Resources" in the .Net Framework Reference Help


Public Member Functions

System::Void Attach (System::IntPtr unmanagedPointer, System::Boolean autoDelete)
System::Void Detach ()
System::Void Dispose ()
virtual System::Boolean Equals (System::Object *obj)
__property System::Boolean get_AutoDelete ()
__property System::Boolean get_Disposed ()
__property System::Int32 get_RefCount ()
__property System::IntPtr get_UnmanagedObject ()
System::Int32 GetHashCode ()
__property System::Void set_AutoDelete (System::Boolean value)

Static Public Member Functions

System::Boolean op_Equality (Disposable *leftObject, Disposable *rightObject)
System::Boolean op_Inequality (Disposable *leftObject, Disposable *rightObject)

Protected Member Functions

 Disposable (System::IntPtr unmanagedPointer, System::Boolean autoDelete)
 Disposable ()
virtual System::Void ReleaseUnmanagedObject ()
virtual ~Disposable ()

Constructor & Destructor Documentation

OSGeo::FDO::Runtime::Disposable::Disposable  )  [protected]
 

OSGeo::FDO::Runtime::Disposable::Disposable System::IntPtr  unmanagedPointer,
System::Boolean  autoDelete
[protected]
 

virtual OSGeo::FDO::Runtime::Disposable::~Disposable  )  [protected, virtual]
 


Member Function Documentation

System::Void OSGeo::FDO::Runtime::Disposable::Attach System::IntPtr  unmanagedPointer,
System::Boolean  autoDelete
 

System::Void OSGeo::FDO::Runtime::Disposable::Detach  ) 
 

System::Void OSGeo::FDO::Runtime::Disposable::Dispose  ) 
 

virtual System::Boolean OSGeo::FDO::Runtime::Disposable::Equals System::Object *  obj  )  [virtual]
 

Reimplemented in OSGeo::FDO::Geometry::DirectPositionImpl, and OSGeo::FDO::Geometry::EnvelopeImpl.

__property System::Boolean OSGeo::FDO::Runtime::Disposable::get_AutoDelete  ) 
 

__property System::Boolean OSGeo::FDO::Runtime::Disposable::get_Disposed  ) 
 

__property System::Int32 OSGeo::FDO::Runtime::Disposable::get_RefCount  ) 
 

__property System::IntPtr OSGeo::FDO::Runtime::Disposable::get_UnmanagedObject  ) 
 

System::Int32 OSGeo::FDO::Runtime::Disposable::GetHashCode  ) 
 

Reimplemented in OSGeo::FDO::Geometry::DirectPositionImpl, and OSGeo::FDO::Geometry::EnvelopeImpl.

System::Boolean OSGeo::FDO::Runtime::Disposable::op_Equality Disposable leftObject,
Disposable rightObject
[static]
 

System::Boolean OSGeo::FDO::Runtime::Disposable::op_Inequality Disposable leftObject,
Disposable rightObject
[static]
 

virtual System::Void OSGeo::FDO::Runtime::Disposable::ReleaseUnmanagedObject  )  [protected, virtual]
 

Reimplemented in OSGeo::FDO::Common::Io::IoStream, OSGeo::FDO::Common::Io::IoTextReader, OSGeo::FDO::Common::Io::IoTextWriter, OSGeo::FDO::Common::DictionaryElementCollection, OSGeo::FDO::Common::DictionaryElement, OSGeo::FDO::Common::IStreamReaderImp, OSGeo::FDO::Common::StringCollection, OSGeo::FDO::Common::StringElement, OSGeo::FDO::Common::Xml::XmlAttribute, OSGeo::FDO::Common::Xml::XmlAttributeCollection, OSGeo::FDO::Common::Xml::XmlReader, OSGeo::FDO::Common::Xml::XmlSaxContext, OSGeo::FDO::Common::Xml::XmlSaxHandler, OSGeo::FDO::Common::Xml::XmlWriter, OSGeo::FDO::Common::Xsl::XslTransformer, OSGeo::FDO::ClientServices::ConnectionManager, OSGeo::FDO::ClientServices::Provider, OSGeo::FDO::ClientServices::ProviderCollection, OSGeo::FDO::ClientServices::ProviderNameTokens, OSGeo::FDO::ClientServices::ProviderRegistry, OSGeo::FDO::Commands::DataStore::IDataStoreReaderImp, OSGeo::FDO::Commands::Feature::IReaderImp, OSGeo::FDO::Commands::Locking::ILockConflictReaderImp, OSGeo::FDO::Commands::Locking::ILockedObjectReaderImp, OSGeo::FDO::Commands::Locking::ILockOwnersReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionSetReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionCheckpointReaderImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionConflictDirectiveEnumeratorImp, OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp, OSGeo::FDO::Commands::BatchParameterValueCollection, OSGeo::FDO::Commands::ICommandImp, OSGeo::FDO::Commands::IdentifierCollection, OSGeo::FDO::Commands::ParameterValue, OSGeo::FDO::Commands::ParameterValueCollection, OSGeo::FDO::Commands::PropertyValue, OSGeo::FDO::Commands::PropertyValueCollection, OSGeo::FDO::Commands::Schema::PhysicalElementMapping, OSGeo::FDO::Commands::Schema::PhysicalSchemaMappingCollection, OSGeo::FDO::Commands::SpatialContext::ISpatialContextReaderImp, OSGeo::FDO::Commands::SQL::ISQLDataReaderImp, OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp, OSGeo::FDO::Connections::Capabilities::ArgumentDefinition, OSGeo::FDO::Connections::Capabilities::ArgumentDefinitionCollection, OSGeo::FDO::Connections::Capabilities::FunctionDefinition, OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection, OSGeo::FDO::Connections::Capabilities::ICommandCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IConnectionCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IExpressionCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IFilterCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IGeometryCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::IRasterCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ISchemaCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ITopologyCapabilitiesImp, OSGeo::FDO::Connections::Capabilities::ReadOnlyArgumentDefinitionCollection, OSGeo::FDO::Connections::Capabilities::SignatureDefinition, OSGeo::FDO::Connections::Capabilities::SignatureDefinitionCollection, OSGeo::FDO::Connections::Capabilities::ReadOnlySignatureDefinitionCollection, OSGeo::FDO::Connections::IConnectionImp, OSGeo::FDO::Connections::IConnectionInfoImp, OSGeo::FDO::Connections::IConnectionPropertyDictionaryImp, OSGeo::FDO::Connections::ITransactionImp, OSGeo::FDO::Expression::DataValueCollection, OSGeo::FDO::Expression::Expression, OSGeo::FDO::Expression::ExpressionCollection, OSGeo::FDO::Expression::IExpressionProcessorImp, OSGeo::FDO::Filter::Filter, OSGeo::FDO::Filter::IFilterProcessorImp, OSGeo::FDO::Filter::ValueExpressionCollection, OSGeo::FDO::IConnectionManagerImp, OSGeo::FDO::IDisposableCollection, OSGeo::FDO::IProviderRegistryImp, OSGeo::FDO::Raster::DataValueCollection, OSGeo::FDO::Raster::IRasterImp, OSGeo::FDO::Raster::IRasterPropertyDictionaryImp, OSGeo::FDO::Raster::RasterDataModel, OSGeo::FDO::Schema::ClassCapabilities, OSGeo::FDO::Schema::ClassCollection, OSGeo::FDO::Schema::DataPropertyDefinitionCollection, OSGeo::FDO::Schema::FeatureClassCollection, OSGeo::FDO::Schema::FeatureSchemaCollection, OSGeo::FDO::Schema::PropertyDefinitionCollection, OSGeo::FDO::Schema::PropertyValueConstraint, OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection, OSGeo::FDO::Schema::ReadOnlyPropertyDefinitionCollection, OSGeo::FDO::Schema::SchemaAttributeDictionary, OSGeo::FDO::Schema::SchemaElement, OSGeo::FDO::Schema::UniqueConstraint, OSGeo::FDO::Schema::UniqueConstraintCollection, OSGeo::FDO::Xml::XmlClassMappingCollection, OSGeo::FDO::Xml::XmlElementMappingCollection, OSGeo::FDO::Xml::XmlFeatureFlags, OSGeo::FDO::Xml::XmlFeatureHandler, OSGeo::FDO::Xml::XmlFeaturePropertyReader, OSGeo::FDO::Xml::XmlFeaturePropertyWriter, OSGeo::FDO::Xml::XmlFeatureWriter, OSGeo::FDO::Xml::XmlFlags, OSGeo::FDO::Xml::XmlNameCollectionHandler, OSGeo::FDO::Xml::XmlSerializable, OSGeo::FDO::Xml::XmlSpatialContextReader, OSGeo::FDO::Xml::XmlSpatialContextWriter, OSGeo::FDO::Geometry::DirectPositionImpl, OSGeo::FDO::Geometry::EnvelopeImpl, OSGeo::FDO::Geometry::GeometryFactoryAbstract, OSGeo::FDO::Geometry::CurvePolygonCollection, OSGeo::FDO::Geometry::CurveSegmentCollection, OSGeo::FDO::Geometry::ICurveSegmentAbstractImp, OSGeo::FDO::Geometry::CurveStringCollection, OSGeo::FDO::Geometry::DirectPositionCollection, OSGeo::FDO::Geometry::IDirectPositionImp, OSGeo::FDO::Geometry::IEnvelopeImp, OSGeo::FDO::Geometry::GeometryCollection, OSGeo::FDO::Geometry::IGeometryImp, OSGeo::FDO::Geometry::LinearRingCollection, OSGeo::FDO::Geometry::LineStringCollection, OSGeo::FDO::Geometry::PointCollection, OSGeo::FDO::Geometry::PolygonCollection, OSGeo::FDO::Geometry::RingCollection, OSGeo::FDO::Geometry::IRingAbstractImp, and OSGeo::FDO::Spatial::SpatialGridTransform.

__property System::Void OSGeo::FDO::Runtime::Disposable::set_AutoDelete System::Boolean  value  ) 
 


Comments or suggestions? Send us feedback.