← Back to team overview

yade-users team mailing list archive

Re: [Question #680159]: About Yade Documentation, Release 2018-12-05


Question #680159 on Yade changed:

    Status: Open => Answered

Jérôme Duriez proposed the following answer:

unitialized means there is no default value defined by the constructor.
See eg [*] together with the explanations at [**] for eg

As for "updateAttrs((dict)arg2) None", updateAttrs is a Python exposed C++ function (like most of YADE stuff) defined at [3] for almost any YADE class (including "Body"). 
It takes as argument a Python dictionary whose name is (for some reason I am not aware of) arg2, hence "(dict)arg2".
And it returns nothing, hence the "None"

[*] https://gitlab.com/yade-dev/trunk/blob/master/core/Body.hpp#L87
[**] https://yade-dev.gitlab.io/trunk/prog.html#yade-class-base-doc-macro-family
[3] https://gitlab.com/yade-dev/trunk/blob/master/lib/serialization/Serializable.cpp#L20

You received this question notification because your team yade-users is
an answer contact for Yade.