# OSGeo::FDO::Commands::SpatialContext::IGetSpatialContextsImp Class Reference
[OSGeo::FDO::Commands::SpatialContext]

Inheritance diagram for OSGeo::FDO::Commands::SpatialContext::IGetSpatialContextsImp:

[legend]

List of all members.

## Detailed Description

The IGetSpatialContextsImp class is a concrete implementation of IGetSpatialContexts. The IGetSpatialContexts interface defines the GetSpatialContexts command, which enumerates the existing spatial contexts.

()

## Public Member Functions
OSGeo::FDO::Commands::SpatialContext::ISpatialContextReader * | Execute ()
| Executes the GetSpatialContexts command returning an ISpatialContextReader.
__property System::Boolean | get_ActiveOnly ()
| Gets a Boolean flag that indicates if the GetSpatialContexts command will return only the active spatial context or all spatial contexts. The default value of this flag is false, return all spatial contexts.
__property System::Void | set_ActiveOnly (System::Boolean value)
| Sets a Boolean flag that indicates if the GetSpatialContexts command will return only the active spatial context or all spatial contexts. The default value of this flag is false, return all spatial contexts.