Index_def.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Index_def.h
  2. *
  3. * Copyright (C) 2005-2018 David Weenink
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /*
  19. djmw 20050724
  20. djmw 20060529 Added object version numbers.
  21. */
  22. #define ooSTRUCT Index
  23. oo_DEFINE_CLASS (Index, Daata)
  24. oo_OBJECT (Ordered, 0, classes)
  25. oo_INTEGER (numberOfItems)
  26. oo_INTVEC (classIndex, numberOfItems)
  27. #if oo_DECLARING
  28. void v_info ()
  29. override;
  30. #endif
  31. oo_END_CLASS(Index)
  32. #undef ooSTRUCT
  33. #define ooSTRUCT StringsIndex
  34. oo_DEFINE_CLASS (StringsIndex, Index)
  35. oo_END_CLASS(StringsIndex)
  36. #undef ooSTRUCT
  37. /* End of file Index_def.h */