/src/wrappers/gobject/library/g_object_expanded_factory.e

http://github.com/tybor/Liberty · Specman e · 32 lines · 23 code · 7 blank · 2 comment · 2 complexity · 34cef4fe4e9ff99f852727df30595a1e MD5 · raw file

  1. indexing
  2. description: "An expanded G_OBJECT factory, useful as a local feature in classes that generates many kind of wrapper objects."
  3. copyright: "[
  4. Copyright (C) 2007 Paolo Redaelli
  5. This library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU Lesser General Public License
  7. as published by the Free Software Foundation; either version 2.1 of
  8. the License, or (at your option) any later version.
  9. This library is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. Lesser General Public License for more details.
  13. You should have received a copy of the GNU Lesser General Public
  14. License along with this library; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. 02110-1301 USA
  17. ]"
  18. expanded class G_OBJECT_EXPANDED_FACTORY[ITEM -> G_OBJECT]
  19. -- An expanded G_OBJECT factory, useful as a local feature in classes
  20. -- that generates many kind of wrapper objects.
  21. insert
  22. G_OBJECT_FACTORY[ITEM]
  23. ANY
  24. creation default_create
  25. end -- class G_OBJECT_EXPANDED_FACTORY