FDO API Reference Feature Data Objects

FdoGeometricPropertyDefinition Class Reference

#include <GeometricPropertyDefinition.h>

Inherits FdoPropertyDefinition.

Inherited by FdoTopoGeometryPropertyDefinition.

Inheritance diagram for FdoGeometricPropertyDefinition:

Inheritance graph
[legend]
List of all members.

Detailed Description

FdoGeometricPropertyDefinition derives from FdoPropertyDefinition and represents a geometric value. Geometric properties can take on any of the geometric types listed in the FdoGeometricType enumeration.

Note:
Geometric properties do not actually store the coordinate system or measure units, this is to enable the use of the same schema in different geometric locals. FdoGeometricType informs the client application what types of geometric primitives it can expect when reading a particular geometric property (and what types they can store in the property on insert/update). The client application can interpret the actual geometry values as it wants, e.g., displaying and manipulating the vertices of a Polyline as a group of independent points.

Definition at line 43 of file GeometricPropertyDefinition.h.


Public Member Functions

virtual void _writeXml (FdoSchemaXmlContext *pContext)
 Serialize this property to XML.
bool GetAllDefaults ()
 Returns true if none of this property's setters have been called.
FDO_API FdoInt32 GetGeometryTypes ()
 Gets the FdoGeometricTypes that can be stored in this geometric property. The returned value may be any combination of the values from the FdoGeometricType enumeration combined via a bit-wise or operation.
FDO_API bool GetHasElevation ()
 Gets a Boolean value that indicates if the geometry of this property include elevation values.
FDO_API bool GetHasMeasure ()
 Gets a Boolean value that indicates if the geometry of this property includes measurement values that can be used for dynamic segmentation.
virtual FDO_API FdoPropertyType GetPropertyType ()
 Gets the concrete property type.
FDO_API bool GetReadOnly ()
 Returns a Boolean value that indicates if this geometric property is read-only.
FDO_API FdoStringGetSpatialContextAssociation ()
 Gets the Spatial Context name associated to this geometric 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.
FDO_API void SetGeometryTypes (FdoInt32 value)
 Sets the FdoGeometricTypes that can be stored in this geometric property. The value may be any combination of the values from the FdoGeometricType enumeration combined via a bit-wise or operation.
FDO_API void SetHasElevation (bool value)
 Sets a Boolean value that determines if the geometry of this property includes elevation values.
FDO_API void SetHasMeasure (bool value)
 Sets a Boolean value that determines if the geometry of this property includes measurement values that can be used for dynamic segmentation.
FDO_API void SetReadOnly (bool value)
 Sets a Boolean value that specifies whether this geometric property is read-only.
FDO_API void SetSpatialContextAssociation (FdoString *value)
 Sets/add a Spatial Context association to this geometric property.
virtual FdoBoolean XmlEndElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname)
 Element end.
virtual FdoXmlSaxHandlerXmlStartElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname, FdoXmlAttributeCollection *atts)

Static Public Member Functions

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

Protected Member Functions

virtual void _AcceptChanges ()
virtual void _RejectChanges ()
virtual void _StartChanges ()
 FdoFeatureSchema::RejectChanges() support.
virtual void Dispose ()
 Dispose this object.
 FdoGeometricPropertyDefinition (FdoString *name, FdoString *description, bool system=false)
 FdoGeometricPropertyDefinition ()
 Constructs a default instance of an FdoGeometricPropertyDefinition.
virtual ~FdoGeometricPropertyDefinition ()

Protected Attributes

FdoStringP m_associatedSCNameCHANGED
FdoInt32 m_geometricTypesCHANGED
bool m_hasElevationCHANGED
bool m_hasMeasureCHANGED
bool m_readOnlyCHANGED

Friends

class FdoFeatureClass

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