aermicioi.util.traits.traits

This module is a container for a set of templates that are used across library and aren't bound to some specific module.

Members

Aliases

isFalse
alias isFalse = templateNot!isTrue
Undocumented in source.

Templates

StringOf
template StringOf(alias Symbol)
Undocumented in source.
allMembers
template allMembers(alias Type)
Undocumented in source.
compiles
template compiles(alias pred, args...)
Undocumented in source.
concat
template concat(args...)
Undocumented in source.
emptyIf
template emptyIf(alias pred)
Undocumented in source.
equals
template equals(alias first, alias second)
Undocumented in source.
execute
template execute(alias pred, Args...)
Undocumented in source.
getAttributes
template getAttributes(alias symbol)
Undocumented in source.
getMember
template getMember(alias T, string member)
Undocumented in source.
getMembersWithProtection
template getMembersWithProtection(T, string member, string protection = "public")
Undocumented in source.
getOverloads
template getOverloads(alias T, string member)
Undocumented in source.
getOverloadsOrMember
template getOverloadsOrMember(alias T, string member)
Undocumented in source.
getProperty
template getProperty(alias T, string member)
Undocumented in source.
getProtection
template getProtection(alias T, string member)
Undocumented in source.
getProtection
template getProtection(alias symbol)
Undocumented in source.
hasMembers
template hasMembers(alias Symbol)
Undocumented in source.
hasMembers
template hasMembers(Symbol)
Undocumented in source.
identifier
template identifier(alias T)
Undocumented in source.
isClassOrStructMagicMethods
template isClassOrStructMagicMethods(string member)
Undocumented in source.
isEmpty
template isEmpty(T...)
Undocumented in source.
isField
template isField(T, string field)
Undocumented in source.
isProtection
template isProtection(alias T, string member, string protection = "public")
Undocumented in source.
isProtection
template isProtection(T, string member, string protection = "public")
Undocumented in source.
isProtection
template isProtection(alias symbol, string protection)
Undocumented in source.
isReferenceType
template isReferenceType(Type)
Undocumented in source.
isTemplate
template isTemplate(alias T)
Undocumented in source.
isType
template isType(Type, alias symbol)
Undocumented in source.
isType
template isType(Type, Second)
Undocumented in source.
notEmptyIf
template notEmptyIf(alias pred)
Undocumented in source.
pragmaMsg
template pragmaMsg(args...)
Undocumented in source.
requiredArity
template requiredArity(alias symbol)
Undocumented in source.
staticMapWith
template staticMapWith(alias pred, alias Type, T...)
Undocumented in source.
templateSpecs
template templateSpecs(alias T : Base!Args, alias Base, Args...)
Undocumented in source.
templateSpecs
template templateSpecs(T : Base!Args, alias Base, Args...)
Undocumented in source.
templateStringof
template templateStringof(alias T)
Undocumented in source.
templateTryGetOverloads
template templateTryGetOverloads(alias symbol)
Undocumented in source.
typeCompare
template typeCompare(alias first, alias second)
Undocumented in source.
typeCompare
template typeCompare(first, second)
Undocumented in source.
typeOf
template typeOf(alias T)
Undocumented in source.

Variables

evaluateMember
enum bool evaluateMember(alias pred, T, string member);
Undocumented in source.
isConstructor
enum bool isConstructor(alias T);
Undocumented in source.
isConstructor
enum bool isConstructor(string T);
Undocumented in source.
isDerived
enum bool isDerived(alias T, alias Z);
Undocumented in source.
isDestructor
enum bool isDestructor(alias T);
Undocumented in source.
isDestructor
enum bool isDestructor(string T);
Undocumented in source.
isEq
enum bool isEq(alias T, alias Z);
Undocumented in source.
isHashable
enum bool isHashable(T);
Undocumented in source.
isMethod
enum bool isMethod(alias T, string member);
Undocumented in source.
isProperty
enum bool isProperty(alias T);
Undocumented in source.
isProperty
enum bool isProperty(alias T, string member);
Undocumented in source.
isPropertyGetter
enum bool isPropertyGetter(alias func);
Undocumented in source.
isPropertySetter
enum bool isPropertySetter(alias func);
Undocumented in source.
isPublic
enum bool isPublic(alias T);
Undocumented in source.
isPublic
enum bool isPublic(T, string member);
Undocumented in source.
isStaticFunction
enum bool isStaticFunction(alias method);
Undocumented in source.
isTrue
enum bool isTrue(bool state);
Undocumented in source.
isType
enum bool isType(alias T);
Undocumented in source.
isTypeOrValue
enum bool isTypeOrValue(alias T);
Undocumented in source.
isValue
enum bool isValue(alias T);
Undocumented in source.
isValue
enum bool isValue(T);
Undocumented in source.

Meta

License

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:

The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

Alexandru Ermicioi