.. index:: pair: class; QPanda::QWhileFactory .. _doxid-class_q_panda_1_1_q_while_factory: class QPanda::QWhileFactory =========================== .. toctree:: :hidden: QWhile factory. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class QWhileFactory { public: // methods void :target:`registClass`( std::string name, :ref:`CreateQWhile_cb` method ); :ref:`AbstractControlFlowNode`* :target:`getQWhile`( std::string&, :ref:`ClassicalCondition`&, :ref:`QProg` ); static QWhileFactory& :target:`getInstance`(); };