caLib_abstract.util

This module is contains utility templates and functions used by the other modules in $(CALIB_ABSTRACT). * Take a look the various modules in $(CALIB_ABSTRACT) for usage examples.

Members

Templates

formatBehaviour
template formatBehaviour(string behaviour)
hasCellStateType
template hasCellStateType(T)

return true if T has an alias named CellStateType. False if not

hasDimension
template hasDimension(T)

return true if T has an enum uint named Dimension. False if not

hasDisplayValueType
template hasDisplayValueType(T)

return true if T has an alias named DisplayValueType. False if not

hasNeighbourhoodType
template hasNeighbourhoodType(T)

return true if T has an alias named NeighbourhoodType. False if not * return true if T has an alias named NeighbourhoodType. False if not. Note that NeighbourhoodType need not actually be a neighbourhood. It can be any type

isCellStateTypesCompatible
template isCellStateTypesCompatible(T...)

Return true all of the given arguments are types that can be impliciltly converted to one-another * It is unclear if it behaves the way it should in all cases and should not be used .

isDimensionsCompatible
template isDimensionsCompatible(T...)

Return true all of the given arguments are types that can be impliciltly converted to one-another * It is unclear if it behaves the way it should in all cases and should not be used .

isDisplayValueTypesCompatible
template isDisplayValueTypesCompatible(T...)

Return true all of the given arguments are types that can be impliciltly converted to one-another * It is unclear if it behaves the way it should in all cases and should not be used .

Meta