Lines Matching refs:name
59 a name and an ID the module will be left in an errored state.
70 name = NULL;
85 char const * chname = child_repr->name();
95 if (!strcmp(chname, "name")) {
96 name = g_strdup (child_repr->firstChild()->content());
97 } /* name */
100 } /* name */
126 // printf("%s\n", name);
143 // printf("Extension Destructor: %s\n", name);
148 g_free(name);
198 // std::cout << "Unloading: " << name << std::endl;
247 This function chekcs to make sure that there is an id, a name, a
265 // std::cout << "Checking module[" << i++ << "]: " << name << std::endl;
285 if (name == NULL) {
286 printFailure(Glib::ustring(_("there was no name defined for it.")) + inx_failure);
321 error_file << _("Extension \"") << name << _("\" failed to load because ");
358 \return The textual name of this extension
359 \brief Get the name of this extension - not a copy don't delete!
364 return name;
405 Parameter *Extension::get_param(gchar const *name)
407 if (name == NULL) {
418 if (!strcmp(param->name(), name)) {
421 Parameter * subparam = param->get_param(name);
428 // if execution reaches here, no parameter matching 'name' was found
432 Parameter const *Extension::get_param(const gchar * name) const
434 return const_cast<Extension *>(this)->get_param(name);
437 gchar const *Extension::get_param_string(gchar const *name, SPDocument const *doc, Inkscape::XML::Node const *node) const
439 Parameter const *param = get_param(name);
444 Extension::get_param_enum (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node) const
446 Parameter const *param = get_param(name);
453 * @param name The name of the enum parameter to get.
459 Extension::get_param_enum_contains(gchar const * name, gchar const * value, SPDocument * doc, Inkscape::XML::Node * node) const
461 Parameter const *param = get_param(name);
466 Extension::get_param_optiongroup( gchar const * name, SPDocument const * doc, Inkscape::XML::Node const * node) const
468 Parameter const*param = get_param(name);
474 \return The value of the parameter identified by the name
475 \brief Gets a parameter identified by name with the bool placed
477 \param name The name of the parameter to get
485 Extension::get_param_bool (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node)
488 param = get_param(name);
494 \brief Gets a parameter identified by name with the integer placed
496 \param name The name of the parameter to get
504 Extension::get_param_int (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node)
507 param = get_param(name);
513 \brief Gets a parameter identified by name with the float placed
515 \param name The name of the parameter to get
523 Extension::get_param_float (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node)
526 param = get_param(name);
532 \brief Gets a parameter identified by name with the float placed
534 \param name The name of the parameter to get
542 Extension::get_param_color (const gchar * name, const SPDocument * doc, const Inkscape::XML::Node * node) const
544 Parameter const *param = get_param(name);
550 \brief Sets a parameter identified by name with the boolean
552 \param name The name of the parameter to set
561 Extension::set_param_bool (const gchar * name, bool value, SPDocument * doc, Inkscape::XML::Node * node)
564 param = get_param(name);
570 \brief Sets a parameter identified by name with the integer
572 \param name The name of the parameter to set
581 Extension::set_param_int (const gchar * name, int value, SPDocument * doc, Inkscape::XML::Node * node)
584 param = get_param(name);
590 \brief Sets a parameter identified by name with the integer
592 \param name The name of the parameter to set
601 Extension::set_param_float (const gchar * name, float value, SPDocument * doc, Inkscape::XML::Node * node)
604 param = get_param(name);
610 \brief Sets a parameter identified by name with the string
612 \param name The name of the parameter to set
621 Extension::set_param_string (const gchar * name, const gchar * value, SPDocument * doc, Inkscape::XML::Node * node)
624 param = get_param(name);
629 Extension::set_param_optiongroup(gchar const * name, gchar const * value, SPDocument * doc, Inkscape::XML::Node * node)
631 Parameter * param = get_param(name);
636 Extension::set_param_enum(gchar const * name, gchar const * value, SPDocument * doc, Inkscape::XML::Node * node)
638 Parameter * param = get_param(name);
645 \brief Sets a parameter identified by name with the string
647 \param name The name of the parameter to set
656 Extension::set_param_color (const gchar * name, guint32 color, SPDocument * doc, Inkscape::XML::Node * node)
658 Parameter* param = get_param(name);
778 add_val(_("Name:"), _(name), table, &row);