You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
3.9 KiB

  1. /* /////////////////////////////////////////////////////////////////////////
  2. * File: pantheios/inserters/i.hpp
  3. *
  4. * Purpose: Defines shorthand name for pantheios::integer inserter
  5. * class.
  6. *
  7. * Created: 12th March 2010
  8. * Updated: 9th November 2010
  9. *
  10. * Home: http://www.pantheios.org/
  11. *
  12. * Copyright (c) 2010, Matthew Wilson and Synesis Software
  13. * All rights reserved.
  14. *
  15. * Redistribution and use in source and binary forms, with or without
  16. * modification, are permitted provided that the following conditions are
  17. * met:
  18. *
  19. * - Redistributions of source code must retain the above copyright notice,
  20. * this list of conditions and the following disclaimer.
  21. * - Redistributions in binary form must reproduce the above copyright
  22. * notice, this list of conditions and the following disclaimer in the
  23. * documentation and/or other materials provided with the distribution.
  24. * - Neither the name(s) of Matthew Wilson and Synesis Software nor the
  25. * names of any contributors may be used to endorse or promote products
  26. * derived from this software without specific prior written permission.
  27. *
  28. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  29. * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  30. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  31. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  32. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  33. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  34. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  35. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  36. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  37. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  38. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  39. *
  40. * ////////////////////////////////////////////////////////////////////// */
  41. /** \file pantheios/inserters/i.hpp
  42. *
  43. * [C++ only] Defines shorthand name for pantheios::integer inserter class.
  44. */
  45. #ifndef PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_I
  46. #define PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_I
  47. /* /////////////////////////////////////////////////////////////////////////
  48. * Version information
  49. */
  50. #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
  51. # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_I_MAJOR 1
  52. # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_I_MINOR 0
  53. # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_I_REVISION 1
  54. # define PANTHEIOS_VER_PANTHEIOS_INSERTERS_HPP_I_EDIT 3
  55. #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */
  56. /* /////////////////////////////////////////////////////////////////////////
  57. * Includes
  58. */
  59. #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS
  60. # include <pantheios/pantheios.h>
  61. #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS */
  62. #ifndef PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_INTEGER
  63. # include <pantheios/inserters/integer.hpp>
  64. #endif /* !PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_INTEGER */
  65. /* /////////////////////////////////////////////////////////////////////////
  66. * Namespace
  67. */
  68. #if !defined(PANTHEIOS_NO_NAMESPACE)
  69. namespace pantheios
  70. {
  71. #endif /* !PANTHEIOS_NO_NAMESPACE */
  72. /* /////////////////////////////////////////////////////////////////////////
  73. * Typedefs
  74. */
  75. /** Typedef for pantheios::integer inserter class. */
  76. typedef integer i;
  77. /* /////////////////////////////////////////////////////////////////////////
  78. * Namespace
  79. */
  80. #if !defined(PANTHEIOS_NO_NAMESPACE)
  81. } /* namespace pantheios */
  82. #endif /* !PANTHEIOS_NO_NAMESPACE */
  83. /* /////////////////////////////////////////////////////////////////////////
  84. * Inclusion
  85. */
  86. #ifdef STLSOFT_PPF_pragma_once_SUPPORT
  87. # pragma once
  88. #endif /* STLSOFT_PPF_pragma_once_SUPPORT */
  89. /* ////////////////////////////////////////////////////////////////////// */
  90. #endif /* !PANTHEIOS_INCL_PANTHEIOS_INSERTERS_HPP_I */
  91. /* ///////////////////////////// end of file //////////////////////////// */