# pygccxml.declarations.mdecl_wrapper module

defines class `mdecl_wrapper_t` that allows to work on set of declarations, as it was one declaration.

The `class` allows user to not write “for” loops within the code.

class `call_redirector_t`(name, decls)

  Bases: `object`

  Internal class used to call some function of objects

class `mdecl_wrapper_t`(decls)

  Bases: `object`

  multiple declarations class wrapper

  The main purpose of this class is to allow an user to work on many declarations, as they were only one single declaration.

  For example, instead of writing for loop like the following

      for c in global_namespace.classes():
          c.attribute = "xxxx"

  you can write:

      global_namespace.classes().attribute = "xxxx"

  The same functionality could be applied on “set” methods too.

  `to_list`()