Liking cljdoc? Tell your friends :D

bacure.coerce


bacnet->clojurecljmultimethod

Recursively convert objects from the bacnet4j library into clojure datastructure.

Recursively convert objects from the bacnet4j library into clojure datastructure.
sourceraw docstring

bacnet-typesclj

(bacnet-types)

Return a list of the acceptable bacnet types (keywords) for the function `clojure->bacnet'.

Return a list of the acceptable bacnet types (keywords) for the function
`clojure->bacnet'.
sourceraw docstring

bean-mapclj

(bean-map java-object)

Create a clojure map using `bean' and remove unwanted info

Create a clojure map using `bean' and remove unwanted info
sourceraw docstring

class-to-keywordclj

(class-to-keyword bacnet-class)
source

clojure->bacnetcljmultimethod

Transform clojure data values into the given bacnet type.

Run the function `bacnet-types' to see the available types.

Transform clojure data values into the given bacnet type.

Run the function `bacnet-types' to see the available types.
sourceraw docstring

def-subclass-mapcljmacro

(def-subclass-map bacnet-class subclass-map)
source

enumerated-convertercljmacro

(enumerated-converter bacnet-class)

Generate the defmethods for bacnet->clojure' andclojure->bacnet' for bacnet enumerated types.

Also define a <class-name>-map which is a map of keywords and integer values.

Generate the defmethods for `bacnet->clojure' and `clojure->bacnet'
for bacnet enumerated types. 

Also define a <class-name>-map which is a map of keywords and
integer values.
sourceraw docstring

exampleclj

(example object-type-keyword)

Generate an example of the expected datastructure.

Generate an example of the expected
datastructure.
sourceraw docstring

from-camelclj

(from-camel string)
source

int-to-keywordclj

(int-to-keyword data-map integer)

Convert the integer to its associated keyword in the data-map. If no match is found, generate an `unknown-XX' keyword, where XX is the given integer.

Convert the integer to its associated keyword in the data-map. If
no match is found, generate an `unknown-XX' keyword, where XX is the
given integer.
sourceraw docstring

int-to-keyword*clj

(int-to-keyword* inverted-data-map integer)

Convert the integer to its associated keyword in the data-map. If no match is found, generate an `unknown-XX' keyword, where XX is the given integer.

TAKES THE INVERTED DATAMAP

Convert the integer to its associated keyword in the data-map. If
no match is found, generate an `unknown-XX' keyword, where XX is the
given integer.

TAKES THE INVERTED DATAMAP
sourceraw docstring

key-or-num-to-intclj

(key-or-num-to-int data-map key-or-num)

Will convert the key-or-num into the integer value associated in the data-map. If the keyword is not found in the data-map, check to see if it's an `unknown-XX' and extract the number.

Default to '0' if the provided value is not a keyword nor a number.

An error is thrown if the keyword doesn't match anything.

Will convert the key-or-num into the integer value associated in
the data-map. If the keyword is not found in the data-map, check to
see if it's an `unknown-XX' and extract the number.

Default to '0' if the provided value is not a keyword nor a number.

An error is thrown if the keyword doesn't match anything.
sourceraw docstring

object-to-keywordclj

(object-to-keyword bacnet-object)

Convert bacnet4j objects to clojure keywords

Convert bacnet4j objects to clojure keywords
sourceraw docstring

subclass-to-mapclj

(subclass-to-map class)

Make a map of the subclasses and associate them with their integer value.

Make a map of the subclasses and associate them with their integer
value.
sourceraw docstring

to-camelclj

(to-camel string)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close