DQueryElement

Members

Aliases

isField
alias isField = Alias!(is(typeof(GetMember!(QueryType, Name))) && !isFunction)

Returns true if the element refers to a field.

type
alias type = QueryType

Returns the type being queried.

value
alias value = Alias!(GetMember!(QueryType, Name))

Returns the value of the element.

value
alias value = Alias!(void)

Returns void for inaccessible elements.

Manifest constants

isAccessible
enum isAccessible;

Returns true if the element is accessible.

isAccessible
enum isAccessible;

Returns true if the element is accessible.

isAggregate
enum isAggregate;

Returns true if the element refers to an aggregate type.

isClass
enum isClass;

Returns true if the element refers to a class.

isConstructor
enum isConstructor;

Returns true if the element refers to a constructor.

isDestructor
enum isDestructor;

Returns true if the element refers to a destructor.

isEnum
enum isEnum;

Returns true if the element refers to an enum.

isFunction
enum isFunction;

Returns true if the element refers to a function.

isStruct
enum isStruct;

Returns true if the element refers to a struct.

name
enum name;

Returns the name of the element.

protection
enum protection;

Returns the element's access protection.

Properties

attributes
auto attributes [@property getter]

Returns the element's attributes.

attributes
auto attributes [@property getter]

Returns the element's allowed attributes.

opCall
auto opCall [@property getter]

Returns an uninitialized value of the element's type.

parent
auto parent [@property getter]

Returns a query for the parent type of the element.

query
auto query [@property getter]

Returns a query for the type the element refers to.

Static functions

toString
string toString()

Returns the name of element.

Meta