SdlSingularName

An SDL Reflection Attribute. If singularName is not specified, then it will try to determine the singularName by removing the ending 's' from the member name. If the member name does not end in an 's' it will assert an error if noSingularTags is not true. The singularName is used to determine what a tag-name should be when someone wants to list elements of the array one at a time in the SDL. For example, if the member is an array of strings called "names", the default singular will be "name".

struct SdlSingularName {}

Members

Variables

name
string name;
Undocumented in source.

Meta