.. index:: pair: class; EE::System::FunctionString .. _doxid-class_e_e_1_1_system_1_1_function_string: class EE::System::FunctionString ================================ .. toctree:: :hidden: class_EE_System_FunctionString_View.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class FunctionString { public: // typedefs typedef :ref:`SmallVector` :target:`Parameters`; typedef :ref:`SmallVector` :target:`TypeStringVector`; // classes class :ref:`View`; // construction :target:`FunctionString`(); :target:`FunctionString`(const std::string& name, const :ref:`Parameters`& parameters, const :ref:`TypeStringVector`& typeStringData); :target:`FunctionString`(const std::string& name, :ref:`Parameters`&& parameters, :ref:`TypeStringVector`&& typeStringData); // methods static :ref:`View` :target:`parseView`(std::string_view function); template static bool :ref:`forEachParameter`(std::string_view parameters, Callback&& callback); static FunctionString :target:`parse`(const std::string& function); static FunctionString :target:`parse`(std::string_view function); static FunctionString :target:`parse`(:ref:`String::View` function); const std::string& :target:`getName`() const; const :ref:`Parameters`& :target:`getParameters`() const; bool :target:`parameterWasString`(:ref:`Uint32` index) const; bool :target:`isEmpty`() const; }; .. _details-class_e_e_1_1_system_1_1_function_string: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; forEachParameter .. _doxid-class_e_e_1_1_system_1_1_function_string_1a6f4f7408757c4d24ccaa0c1bacc7b3f6: .. ref-code-block:: cpp :class: doxyrest-title-code-block template static bool forEachParameter(std::string_view parameters, Callback&& callback) Iterates a comma-separated parameter list without allocating. Nested parentheses and quoted strings protect commas. Quoted parameters are reported without their outer quotes; escaped quotes remain escaped because the returned views reference the original input. The callback receives (parameter, parameterWasString) and returns whether to continue.