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::Xml::XmlSpatialContextFlags Class Reference

Inherits OSGeo::FDO::Xml::XmlFlags.

Inheritance diagram for OSGeo::FDO::Xml::XmlSpatialContextFlags:

[legend]
List of all members.

Detailed Description

FdoXmlSpatialContextFlags extends FdoXmlFlags to specify flags specific to Spatial Contexts.


Public Types

enum  ConflictOption {
  ConflictOption_Add = FdoXmlSpatialContextFlags::ConflictOption_Add,
  ConflictOption_Update = FdoXmlSpatialContextFlags::ConflictOption_Update,
  ConflictOption_Skip = FdoXmlSpatialContextFlags::ConflictOption_Skip
}
 XmlSpatialContextFlags::ConflictOption specifies how to handle Spatial Contexts that are already in the DataStore, when Deserializing:. More...

Public Member Functions

__property System::Boolean get_IncludeDefault ()
 Gets the default Spatial Context inclusion flag.
OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption GetConflictOption ()
 Get the current option for handling Spatial Contexts already in the connection.
FdoXmlSpatialContextFlags * GetImpObj ()
 DOXYGEN-IGNORE
__property System::Void set_IncludeDefault (System::Boolean includeDefault)
 Sets the default Spatial Context inclusion flag.
System::Void SetConflictOption (OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption conflictOption)
 Sets the current option for handling Spatial Contexts already in the connection.
 XmlSpatialContextFlags (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a XmlSpatialContextFlags object based on an unmanaged instance of the object.
 XmlSpatialContextFlags (System::String *location, OSGeo::FDO::Xml::XmlFlags::ErrorLevel errorLevel, System::Boolean nameAdjust, OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption conflictOption, System::Boolean includeDefault)
 Constructs an XmlSpatialContextFlags object.
 XmlSpatialContextFlags (System::String *location, OSGeo::FDO::Xml::XmlFlags::ErrorLevel errorLevel, System::Boolean nameAdjust, OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption conflictOption)
 Constructs an XmlSpatialContextFlags object.
 XmlSpatialContextFlags (System::String *location, OSGeo::FDO::Xml::XmlFlags::ErrorLevel errorLevel, System::Boolean nameAdjust)
 Constructs an XmlSpatialContextFlags object.
 XmlSpatialContextFlags (System::String *location, OSGeo::FDO::Xml::XmlFlags::ErrorLevel errorLevel)
 Constructs an XmlSpatialContextFlags object.
 XmlSpatialContextFlags (System::String *location)
 Constructs an XmlSpatialContextFlags object.
 XmlSpatialContextFlags ()
 Constructs an XmlSpatialContextFlags object.

Member Enumeration Documentation

enum OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption
 

XmlSpatialContextFlags::ConflictOption specifies how to handle Spatial Contexts that are already in the DataStore, when Deserializing:.

Parameters:
ConflictOption_Add just add new spatial contexts to the FDO DataStore. If the Spatial Context already exists, an exception is thrown.
ConflictOption_Update Update the spatial context if it already exists, add it if it doesn't exist.
ConflictOption_Skip Just add new spatial contexts. Silently skip spatial contexts already in the DataStore.
Enumeration values:
ConflictOption_Add 
ConflictOption_Update 
ConflictOption_Skip 

Constructor & Destructor Documentation

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags  ) 
 

Constructs an XmlSpatialContextFlags object.

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::String *  location  ) 
 

Constructs an XmlSpatialContextFlags object.

Parameters:
location Base URL for generating well-known references to GML coordinate systems and transformations

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::String *  location,
OSGeo::FDO::Xml::XmlFlags::ErrorLevel  errorLevel
 

Constructs an XmlSpatialContextFlags object.

Parameters:
location Base URL for generating well-known references to GML coordinate systems and transformations
errorLevel Input The error level for reading spatial contexts. Controls how strict the error reporting is.

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::String *  location,
OSGeo::FDO::Xml::XmlFlags::ErrorLevel  errorLevel,
System::Boolean  nameAdjust
 

Constructs an XmlSpatialContextFlags object.

Parameters:
location Base URL for generating well-known references to GML coordinate systems and transformations
errorLevel Input The error level for reading spatial contexts. Controls how strict the error reporting is.
nameAdjust Input true: apply name adjustment to all elements. false: apply name adjustment only to elements with fdo:nameAdjust="true"

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::String *  location,
OSGeo::FDO::Xml::XmlFlags::ErrorLevel  errorLevel,
System::Boolean  nameAdjust,
OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption  conflictOption
 

Constructs an XmlSpatialContextFlags object.

Parameters:
location Base URL for generating well-known references to GML coordinate systems and transformations
errorLevel Input The error level for reading spatial contexts. Controls how strict the error reporting is.
nameAdjust Input true: apply name adjustment to all elements. false: apply name adjustment only to elements with fdo:nameAdjust="true"
conflictOption Input option for Deserializing Spatial Contexts. Specified how Spatial Contexts, already in connection, are handled.

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::String *  location,
OSGeo::FDO::Xml::XmlFlags::ErrorLevel  errorLevel,
System::Boolean  nameAdjust,
OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption  conflictOption,
System::Boolean  includeDefault
 

Constructs an XmlSpatialContextFlags object.

Parameters:
location Base URL for generating well-known references to GML coordinate systems and transformations
errorLevel Input The error level for reading spatial contexts. Controls how strict the error reporting is.
nameAdjust Input true: apply name adjustment to all elements. false: apply name adjustment only to elements with fdo:nameAdjust="true"
conflictOption Input option for Deserializing Spatial Contexts. Specified how Spatial Contexts, already in connection, are handled.
includeDefault Input true: When Serializing Spatial Contexts, serialize all contexts including the default. false: skip the default Spatial Context.

OSGeo::FDO::Xml::XmlSpatialContextFlags::XmlSpatialContextFlags System::IntPtr  unmanaged,
System::Boolean  autoDelete
[inline]
 

Constructs a XmlSpatialContextFlags object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property System::Boolean OSGeo::FDO::Xml::XmlSpatialContextFlags::get_IncludeDefault  ) 
 

Gets the default Spatial Context inclusion flag.

Returns:
Returns the default Spatial Context inclusion flag.

OSGeo ::FDO ::Xml ::XmlSpatialContextFlags::ConflictOption OSGeo::FDO::Xml::XmlSpatialContextFlags::GetConflictOption  ) 
 

Get the current option for handling Spatial Contexts already in the connection.

Returns:
Returns the current conflict option.

FdoXmlSpatialContextFlags* OSGeo::FDO::Xml::XmlSpatialContextFlags::GetImpObj  )  [inline]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Xml::XmlFlags.

__property System::Void OSGeo::FDO::Xml::XmlSpatialContextFlags::set_IncludeDefault System::Boolean  includeDefault  ) 
 

Sets the default Spatial Context inclusion flag.

Parameters:
includeDefault Input true: When Serializing Spatial Contexts, serialize all contexts including the default. false: skip the default Spatial Context.

System::Void OSGeo::FDO::Xml::XmlSpatialContextFlags::SetConflictOption OSGeo::FDO::Xml::XmlSpatialContextFlags::ConflictOption  conflictOption  ) 
 

Sets the current option for handling Spatial Contexts already in the connection.

Parameters:
conflictOption Input option for Deserializing Spatial Contexts. Specified how Spatial Contexts, already in the FDO connection, are handled.

Comments or suggestions? Send us feedback.