-
String representation of the
DatatypethingDeclaration
Swift
public override var kind: String { get } -
C typedef name
Declaration
Swift
public let type: String -
Memberwise initialiser
Declaration
Swift
public init(name: String, type: String, comment: String, introspectable: Bool = false, deprecated: String? = nil)Parameters
nameThe name of the
Datatypeto initialisetypeC typedef name of the data type
commentDocumentation text for the data type
introspectableSet to
trueif introspectabledeprecatedDocumentation on deprecation status if non-
nilversionThe version this data type is first available in
-
XML Element initialser
Declaration
Swift
public init(node: XMLElement, atIndex i: Int, nameAttr: String = "name", typeAttr: String = "type")Parameters
nodeXMLElementto construct this data type fromiIndex within the siblings of the
nodenameAttrKey for the attribute to extract the
nameproperty fromtypeAttrKey for the attribute to extract the
typeproperty from -
XML Element initialser
Declaration
Swift
public init(node: XMLElement, atIndex i: Int, withType t: String, nameAttr: String = "name")Parameters
nodeXMLElementto construct this data type fromiIndex within the siblings of the
nodetType string of the data type
nameAttrKey for the attribute to extract the
nameproperty from -
Returns
trueif the data type isvoidDeclaration
Swift
public var isVoid: Bool { get }
View on GitHub
Install in Dash
Datatype Class Reference