clid.core.util

Undocumented in source.

Members

Aliases

hasNamedParameters
alias hasNamedParameters(C) = hasNamedParameters!(C, __traits(allMembers, C))

Checks if the struct has a named parameter.

hasUnnamedParameters
alias hasUnnamedParameters(C) = hasUnnamedParameters!(C, __traits(allMembers, C))

Checks if the struct has an unamed parameter.

Functions

hasLongParameter
bool hasLongParameter(string parameter)

Checks if the given struct has a long parameter.

hasShortParameter
bool hasShortParameter(dchar parameter)

Checks if the given struct has a short parameter.

validateStruct
void validateStruct()

Checks if a given struct is a valid configuration struct.

Templates

getDescription
template getDescription(alias E)

Gets the description attribute of an element.

getParameter
template getParameter(alias E)

Gets the parameter attribute connected to an element.

getParameter
template getParameter(C, alias e)

Gets the parameter attribute connected to an element.

hasDescription
template hasDescription(alias E)

Checks if the element has a description attribute.

hasParameter
template hasParameter(alias E)

Checks if given template has a parameter attribute.

hasParameter
template hasParameter(C, alias E)

Checks if given template has a parameter attribute.

hasUDAV
template hasUDAV(C, alias m, T)

Wrapper around hasUDA!(...)

hasUDAV
template hasUDAV(C, alias m, alias t)

Wrapper around hasUDA!(...)

hasUDAV
template hasUDAV(alias c, alias m, alias t)

Wrapper around hasUDA!(...)

isNamedParameter
template isNamedParameter(alias e)

Checks if a given parameter is a named parameter.

isNamedParameter
template isNamedParameter(alias C, alias e)

Checks if a given parameter is a named parameter.

isRequired
template isRequired(alias E)

Checks if a given parameter is required.

isRequired
template isRequired(C, alias e)

Checks if a given parameter is required.

isUnnamedParameter
template isUnnamedParameter(alias C, alias e)

Checks if a given parameter is an unnamed parameter.

value
template value(C, alias m)

Wrapper around __traits(getMember, ...)

value
template value(alias c, alias m)

Wrapper around __traits(getMember, ...)

Meta