Function Tag.add

Adds a Value, Attribute, Tag (or array of such) as a member/child of this Tag.

Returns this for chaining.

Throws ValidationException if trying to add an Attribute or Tag

that already has a parent.

Prototypes

Tag add(
  std.variant.VariantN!(32L,bool,string,dchar,int,long,float,double,real,std.datetime.Date,sdlang.token.DateTimeFrac,std.datetime.SysTime,sdlang.token.DateTimeFracUnknownZone,core.time.Duration,ubyte[],) val
);

Tag add(
  std.variant.VariantN!(32L,bool,string,dchar,int,long,float,double,real,std.datetime.Date,sdlang.token.DateTimeFrac,std.datetime.SysTime,sdlang.token.DateTimeFracUnknownZone,core.time.Duration,ubyte[],)[] vals
);

Tag add(
  Attribute attr
);

Tag add(
  Attribute[] attrs
);

Tag add(
  Tag tag
);

Tag add(
  Tag[] tags
);

Authors

Copyright

License