diff --git a/Param/Node/INode.h b/Param/Node/INode.h index d1807272c22de75241c3df650050155b9b458520..91d9315176b8e334f4218082622211ea758d0b45 100644 --- a/Param/Node/INode.h +++ b/Param/Node/INode.h @@ -59,6 +59,7 @@ public: //! Returns a vector of children virtual std::vector<const INode*> getChildren() const; + //! Returns a vector of all descendants std::vector<const INode*> progeny() const; @@ -91,6 +92,8 @@ protected: // vector concatenation, for use in getChildren functions // ************************************************************************************************ +#ifndef SWIG + template <class T> std::vector<const INode*>& operator<<(std::vector<const INode*>& v_node, const std::unique_ptr<T>& node) @@ -135,5 +138,7 @@ inline std::vector<const INode*>& operator<<(std::vector<const INode*>&& v_node, return v_node; } +#endif // SWIG + #endif // BORNAGAIN_PARAM_NODE_INODE_H #endif // USER_API diff --git a/auto/Wrap/doxygenParam.i b/auto/Wrap/doxygenParam.i index 0d5045f3105d1c82a8a050e6a50b12454f0b43e2..3e3994e7655056646106e1ab60a894a0dafc5f7f 100644 --- a/auto/Wrap/doxygenParam.i +++ b/auto/Wrap/doxygenParam.i @@ -434,7 +434,12 @@ Prints distribution with constructor parameters in given units. ba.DistributionG // File: classINamed.xml -%feature("docstring") INamed ""; +%feature("docstring") INamed " + +Holds a name. Used to hold the class name (and not a distinctive object name). + +C++ includes: INamed.h +"; %feature("docstring") INamed::INamed "INamed::INamed(const std::string &name=\"\") "; diff --git a/auto/Wrap/libBornAgainParam.py b/auto/Wrap/libBornAgainParam.py index 438b488e010d3b09d599d197802576bf7108d0e3..254977111d2b1a613facf94c71f9dfc621dd8c41 100644 --- a/auto/Wrap/libBornAgainParam.py +++ b/auto/Wrap/libBornAgainParam.py @@ -2014,7 +2014,14 @@ class swig_dummy_type_const_inode_vector(object): _libBornAgainParam.swig_dummy_type_const_inode_vector_swigregister(swig_dummy_type_const_inode_vector) class INamed(object): - r"""Proxy of C++ INamed class.""" + r""" + + + Holds a name. Used to hold the class name (and not a distinctive object name). + + C++ includes: INamed.h + + """ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr