terrahs-0.5: Simple library for GIS Programs in Haskell.Source codeContentsIndex
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)
show/hide Instances
The Attributes class
class Values v => Attributes a v | a -> v whereSource
Methods
getName :: a -> StringSource
getValue :: a -> vSource
show/hide Instances
The Values class
class Values a whereSource
Methods
toString :: a -> StringSource
show/hide Instances
Operations on Value
The Values class
class Values a whereSource
Methods
toString :: a -> StringSource
show/hide Instances
The Value type
data Value Source
Constructors
StValue String
DbValue Double
InValue Int32
Undefined
show/hide Instances
getValuebyName :: [Attribute] -> String -> ValueSource
Produced by Haddock version 2.4.2