# FdoXmlSpatialContextFlags Class Reference

`#include <SpatialContextFlags.h>`

Inheritance diagram for FdoXmlSpatialContextFlags:

[legend]

List of all members.

## Detailed Description

FdoXmlSpatialContextFlags extends FdoXmlFlags to specify flags specific to Spatial Contexts.

Definition at line 31 of file SpatialContextFlags.h.

## Public Types
enum | ConflictOption { ConflictOption_Add, ConflictOption_Update, ConflictOption_Skip }
| The FdoXmlSpatialContextFlags::ConflictOption specifies how to handle Spatial Contexts that are already in the DataStore, when Deserializing:. More...
## Public Member Functions
FDO_API ConflictOption | GetConflictOption () const
| Get the current option for handling Spatial Contexts already in the connection.
FDO_API FdoBoolean | GetIncludeDefault () const
| Gets the default Spatial Context inclusion flag.
FDO_API void | SetConflictOption (ConflictOption conflictOption)
| Sets the current option for handling Spatial Contexts already in the connection.
FDO_API void | SetIncludeDefault (FdoBoolean includeDefault)
| Sets the default Spatial Context inclusion flag.
## Static Public Member Functions
static FDO_API FdoXmlSpatialContextFlags * | Create (FdoString *url=L"fdo.osgeo.org/schemas/feature", ErrorLevel errorLevel=ErrorLevel_Normal, FdoBoolean nameAdjust=true, ConflictOption conflictOption=ConflictOption_Add, FdoBoolean includeDefault=false)
| Constructs an FdoXmlSpatialContextFlags object.
## Protected Member Functions
FDO_API | FdoXmlSpatialContextFlags (FdoString *url, ErrorLevel errorLevel, FdoBoolean nameAdjust, ConflictOption conflictOption, FdoBoolean includeDefault)
| FdoXmlSpatialContextFlags ()
| default constructor to keep linux from complaining
virtual FDO_API | ~FdoXmlSpatialContextFlags ()

The documentation for this class was generated from the following file:

- SpatialContextFlags.h