terrahs-0.5: Simple library for GIS Programs in Haskell.
Source code
Contents
Index
Algebras.Base.Attribute
Contents
The
Attribute
type
The
Attributes
class
The
Values
class
Operations on
Value
The
Values
class
The
Value
type
Description
Module for handling the Attributes
Synopsis
data
Attribute
=
Attr
(
String
,
Value
)
class
Values
v =>
Attributes
a v | a -> v
where
getName
:: a ->
String
getValue
:: a -> v
class
Values
a
where
toString
:: a ->
String
class
Values
a
where
toString
:: a ->
String
data
Value
=
StValue
String
|
DbValue
Double
|
InValue
Int32
|
Undefined
getValuebyName
:: [
Attribute
] ->
String
->
Value
The
Attribute
type
data
Attribute
Source
Constructors
Attr
(
String
,
Value
)
Instances
Show
Attribute
Attributes
Attribute
Value
GeoObjects
TeGeoObject
ObjectId
Attribute
Value
TeGeometry
TePolygon
TeLine2D
TePoint
Double
The
Attributes
class
class
Values
v =>
Attributes
a v | a -> v
where
Source
Methods
getName
:: a ->
String
Source
getValue
:: a -> v
Source
Instances
Attributes
Attribute
Value
Attributes
Attribute
Value
The
Values
class
class
Values
a
where
Source
Methods
toString
:: a ->
String
Source
Instances
Values
Value
Operations on
Value
The
Values
class
class
Values
a
where
Source
Methods
toString
:: a ->
String
Source
Instances
Values
Value
The
Value
type
data
Value
Source
Constructors
StValue
String
DbValue
Double
InValue
Int32
Undefined
Instances
Eq
Value
Num
Value
Show
Value
Values
Value
Attributes
Attribute
Value
GeoObjects
TeGeoObject
ObjectId
Attribute
Value
TeGeometry
TePolygon
TeLine2D
TePoint
Double
getValuebyName
:: [
Attribute
] ->
String
->
Value
Source
Produced by
Haddock
version 2.4.2