TerraHS-0.3ContentsIndex
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
toString :: Values a => 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
Constructors
Attr (String, Value)
show/hide Instances
The Attributes class
class Values v => Attributes a v | a -> v where
Methods
getName :: a -> String
getValue :: a -> v
show/hide Instances
The Values class
class Values a where
Methods
toString :: a -> String
show/hide Instances
Operations on Value
toString :: Values a => a -> String
The Values class
class Values a where
Methods
toString :: a -> String
show/hide Instances
The Value type
data Value
Constructors
StValue String
DbValue Double
InValue Int32
Undefined
show/hide Instances
getValuebyName :: [Attribute] -> String -> Value
Produced by Haddock version 0.7