jasterialise ~master (2019-01-09T19:57:43Z)
Dub
Repo
ArchiveObject.setAttributeAs
jaster
serialise
archive
ArchiveObject
Helper function to set an attribute without having to create an
ArchiveValue
.
class
ArchiveObject
final
void
setAttributeAs
(
T
)
(
string
name
,
T
attrib
)
if
(
ArchiveValue.allowed
!
T
&&
!
is
(
T
==
ArchiveValue
)
)
Meta
Source
See Implementation
jaster
serialise
archive
ArchiveObject
constructors
this
functions
addChild
addValue
addValueAs
addValues
expectAttribute
expectAttributeAs
expectChild
expectValue
expectValueAs
getAttribute
getAttributeAs
getChild
getValue
getValueAs
opIndex
setAttribute
setAttributeAs
structs
Attribute
variables
attributes
children
name
values
Helper function to set an attribute without having to create an ArchiveValue.