.. index:: pair: class; gpr::capi::Atoms .. _doxid-classgpr_1_1capi_1_1_atoms: class gpr::capi::Atoms ====================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Atoms { public: // construction :target:`Atoms`(); :target:`Atoms`(:ref:`gpr_atoms_t` h, :ref:`adopt_t`); :target:`Atoms`(:ref:`gpr_atoms_t` h, :ref:`borrow_t`); :target:`Atoms`(const Atoms&); :target:`Atoms`(Atoms&& other); :target:`~Atoms`(); // methods :ref:`Atoms`& :target:`operator=`(const :ref:`Atoms`&); :ref:`Atoms`& :target:`operator=`(:ref:`Atoms`&& other); void :target:`reset`(); :ref:`gpr_atoms_t` :target:`release`(); bool :target:`owns`() const; :ref:`gpr_atoms_t` :target:`handle`() const; :target:`operator bool`() const; int :target:`n_moving`() const; int :target:`n_pairtypes`() const; static :ref:`Atoms` :target:`simple`(int n_atoms); static :ref:`Atoms` :target:`create`(const :ref:`AtomsConfig`& config); };