The OpenD Programming Language

serdeGetKeysIn

  1. template serdeGetKeysIn(alias symbol)
    template serdeGetKeysIn (
    alias symbol
    ) {
    static if(hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn))
    enum immutable(string)[] serdeGetKeysIn;
    static if(!(hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn)))
    static if(hasUDA!(symbol, serdeKeys))
    enum immutable(string)[] serdeGetKeysIn;
    static if(!(hasUDA!(symbol, serdeAnnotation) || hasUDA!(symbol, serdeIgnore) || hasUDA!(symbol, serdeIgnoreIn)))
    static if(!(hasUDA!(symbol, serdeKeys)))
    enum immutable(string)[] serdeGetKeysIn;
    }
  2. immutable(string)[] serdeGetKeysIn(T value)

Return Value

immutable array of the input keys for the symbol or enum value

Meta