boilerplate.autostring

Undocumented in source.

Members

Aliases

hasOwnStringToString
alias hasOwnStringToString(T...) = hasOwn!(T, "toString", string)
Undocumented in source.
hasOwnToJson
alias hasOwnToJson(T...) = hasOwn!(T, "toJson", JSONValue)
Undocumented in source.
hasOwnVoidToString
alias hasOwnVoidToString(T...) = hasOwn!(T, "toString", void)
Undocumented in source.

Enums

ToStringEnum
enum ToStringEnum
Undocumented in source.

Functions

isMemberUnlabeledByDefault
bool isMemberUnlabeledByDefault(string field, bool attribNonEmpty)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

GenerateToStringTemplate
mixintemplate GenerateToStringTemplate()
Undocumented in source.

Structs

ToString
struct ToString
Undocumented in source.
ToStringHandler
struct ToStringHandler(alias Handler_)
Undocumented in source.

Templates

checkAttributeConsistency
template checkAttributeConsistency(Attributes...)
Undocumented in source.
hasOwnFunction
template hasOwnFunction(Aggregate, Super, string name, Ret)
Undocumented in source.
hasOwnFunction
template hasOwnFunction(Aggregate, Super, string name, Ret)
Undocumented in source.
isFromAliasThis
template isFromAliasThis(T, string member, Type)
Undocumented in source.
typeName
template typeName(T)

Find qualified name of T including any containing types; not including containing functions or modules.

Variables

GenerateToString
enum string GenerateToString;

GenerateToString is a mixin string that automatically generates toString functions, both sink-based and classic, customizable with UDA annotations on classes, members and functions.

Meta