FDO API Reference Feature Data Objects

FdoRasterPropertyDefinition Class Reference

#include <RasterPropertyDefinition.h>

Inherits FdoPropertyDefinition.

Inheritance diagram for FdoRasterPropertyDefinition:

Inheritance graph
[legend]
List of all members.

Detailed Description

The FdoRasterPropertyDefinition has the information needed to create or completely describe a raster property. This class encapsulates the information necessary to insert a 'new' raster, in the absence of any other information, for the properties defined using this schema element.

Definition at line 36 of file RasterPropertyDefinition.h.


Public Member Functions

virtual void _writeXml (FdoSchemaXmlContext *pContext)
 Serialize this property to XML.
virtual FDO_API FdoRasterDataModelGetDefaultDataModel ()
 Gets the default data model used by this raster property.
virtual FDO_API FdoInt32 GetDefaultImageXSize ()
 Gets the default size of image file in the horizontal direction in pixels (number of columns).
virtual FDO_API FdoInt32 GetDefaultImageYSize ()
 Gets the default size of an image file in the vertical direction in pixels (number of rows).
virtual FDO_API bool GetNullable ()
 Returns a Boolean value that indicates if this property's value can be null.
virtual FDO_API FdoPropertyType GetPropertyType ()
 FdoPropertyDefinition interface Gets the concrete property type.
virtual FDO_API bool GetReadOnly ()
 Attributes. Returns a Boolean value that indicates if this property is read-only.
FDO_API FdoStringGetSpatialContextAssociation ()
 Gets the Spatial Context name associated to this raster property.
virtual void InitFromXml (const FdoString *propertyTypeName, FdoSchemaXmlContext *pContext, FdoXmlAttributeCollection *attrs)
 Initialize this property from its XML attributes.
virtual void Set (FdoPropertyDefinition *pProperty, FdoSchemaXmlContext *pContext)
 Update this property from the given property.
virtual FDO_API void SetDefaultDataModel (FdoRasterDataModel *datamodel)
 Sets the default data model used by this raster property. Allowed values are only those data models that are acceptable to the SupportsDataModel capability.
virtual FDO_API void SetDefaultImageXSize (FdoInt32 size)
 Sets the default size of an image file in the horizontal direction in pixels (number of columns).
virtual FDO_API void SetDefaultImageYSize (FdoInt32 size)
 Sets the default size of an image file in the vertical direction in pixels (number of rows).
virtual FDO_API void SetNullable (bool value)
 Sets a Boolean value that indicates if this property's value can be null.
virtual FDO_API void SetReadOnly (bool value)
 Sets a Boolean value that indicates if this property is read-only.
FDO_API void SetSpatialContextAssociation (FdoString *spatialContextName)
 Spatial Context Support. Sets a Spatial Context association for this raster property.

Static Public Member Functions

static FDO_API FdoRasterPropertyDefinitionCreate (FdoString *name, FdoString *description, bool system=false)
 Constructs an instance of an FdoRasterPropertyDefinition using the specified arguments.
static FDO_API FdoRasterPropertyDefinitionCreate ()
 Constructs a default instance of an FdoRasterPropertyDefinition.

Protected Member Functions

virtual void _AcceptChanges ()
virtual void _RejectChanges ()
virtual void _StartChanges ()
 FdoSchemaElement interface.
virtual void Dispose ()
 FdoIDisposable interface Dispose this object.
 FdoRasterPropertyDefinition (FdoString *name, FdoString *description, bool system=false)
 FdoRasterPropertyDefinition ()
 Constructs a default instance of an FdoRasterPropertyDefinition.
virtual ~FdoRasterPropertyDefinition ()
 Destructor.

Protected Attributes

FdoRasterDataModelm_modelCHANGED
bool m_nullableCHANGED
bool m_readOnlyCHANGED
FdoStringP m_scAssociationCHANGED
FdoInt32 m_sizeXCHANGED
FdoInt32 m_sizeYCHANGED

Friends

class FdoFeatureClass

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.