Skip to content

Commit

Permalink
refs #7200 fixing mac build --
Browse files Browse the repository at this point in the history
formatting MDEventFactory.h according to MAC requests.
  • Loading branch information
abuts committed May 30, 2013
1 parent cab2a97 commit 9540a8f
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 99 deletions.
187 changes: 94 additions & 93 deletions Code/Mantid/Framework/MDEvents/inc/MantidMDEvents/MDEventFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,153 +95,153 @@ namespace Mantid

//### BEGIN AUTO-GENERATED CODE #################################################################
/* Code below Auto-generated by 'generate_mdevent_declarations.py'
* on 2013-05-30 11:56:13.355000
* on 2013-05-30 12:17:00.216000
*
* DO NOT EDIT!
*/

/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/
#define CALL_MDEVENT_FUNCTION(funcname, workspace) \
{ \

/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/

#define CALL_MDEVENT_FUNCTION(funcname, workspace) \
{ \
MDEventWorkspace<MDEvent<1>, 1>::sptr MDEW_MDEVENT_1 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<1>, 1> >(workspace); \
if (MDEW_MDEVENT_1) funcname<MDEvent<1>, 1>(MDEW_MDEVENT_1); \
if (MDEW_MDEVENT_1) funcname<MDEvent<1>, 1>(MDEW_MDEVENT_1); \
MDEventWorkspace<MDEvent<2>, 2>::sptr MDEW_MDEVENT_2 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<2>, 2> >(workspace); \
if (MDEW_MDEVENT_2) funcname<MDEvent<2>, 2>(MDEW_MDEVENT_2); \
if (MDEW_MDEVENT_2) funcname<MDEvent<2>, 2>(MDEW_MDEVENT_2); \
MDEventWorkspace<MDEvent<3>, 3>::sptr MDEW_MDEVENT_3 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<3>, 3> >(workspace); \
if (MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(MDEW_MDEVENT_3); \
if (MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(MDEW_MDEVENT_3); \
MDEventWorkspace<MDEvent<4>, 4>::sptr MDEW_MDEVENT_4 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<4>, 4> >(workspace); \
if (MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(MDEW_MDEVENT_4); \
if (MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(MDEW_MDEVENT_4); \
MDEventWorkspace<MDEvent<5>, 5>::sptr MDEW_MDEVENT_5 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<5>, 5> >(workspace); \
if (MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(MDEW_MDEVENT_5); \
if (MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(MDEW_MDEVENT_5); \
MDEventWorkspace<MDEvent<6>, 6>::sptr MDEW_MDEVENT_6 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<6>, 6> >(workspace); \
if (MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(MDEW_MDEVENT_6); \
if (MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(MDEW_MDEVENT_6); \
MDEventWorkspace<MDEvent<7>, 7>::sptr MDEW_MDEVENT_7 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<7>, 7> >(workspace); \
if (MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(MDEW_MDEVENT_7); \
if (MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(MDEW_MDEVENT_7); \
MDEventWorkspace<MDEvent<8>, 8>::sptr MDEW_MDEVENT_8 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<8>, 8> >(workspace); \
if (MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(MDEW_MDEVENT_8); \
if (MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(MDEW_MDEVENT_8); \
MDEventWorkspace<MDEvent<9>, 9>::sptr MDEW_MDEVENT_9 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<9>, 9> >(workspace); \
if (MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(MDEW_MDEVENT_9); \
if (MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(MDEW_MDEVENT_9); \
MDEventWorkspace<MDLeanEvent<1>, 1>::sptr MDEW_MDLEANEVENT_1 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<1>, 1> >(workspace); \
if (MDEW_MDLEANEVENT_1) funcname<MDLeanEvent<1>, 1>(MDEW_MDLEANEVENT_1); \
if (MDEW_MDLEANEVENT_1) funcname<MDLeanEvent<1>, 1>(MDEW_MDLEANEVENT_1); \
MDEventWorkspace<MDLeanEvent<2>, 2>::sptr MDEW_MDLEANEVENT_2 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<2>, 2> >(workspace); \
if (MDEW_MDLEANEVENT_2) funcname<MDLeanEvent<2>, 2>(MDEW_MDLEANEVENT_2); \
if (MDEW_MDLEANEVENT_2) funcname<MDLeanEvent<2>, 2>(MDEW_MDLEANEVENT_2); \
MDEventWorkspace<MDLeanEvent<3>, 3>::sptr MDEW_MDLEANEVENT_3 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<3>, 3> >(workspace); \
if (MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(MDEW_MDLEANEVENT_3); \
if (MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(MDEW_MDLEANEVENT_3); \
MDEventWorkspace<MDLeanEvent<4>, 4>::sptr MDEW_MDLEANEVENT_4 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<4>, 4> >(workspace); \
if (MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(MDEW_MDLEANEVENT_4); \
if (MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(MDEW_MDLEANEVENT_4); \
MDEventWorkspace<MDLeanEvent<5>, 5>::sptr MDEW_MDLEANEVENT_5 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<5>, 5> >(workspace); \
if (MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(MDEW_MDLEANEVENT_5); \
if (MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(MDEW_MDLEANEVENT_5); \
MDEventWorkspace<MDLeanEvent<6>, 6>::sptr MDEW_MDLEANEVENT_6 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<6>, 6> >(workspace); \
if (MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(MDEW_MDLEANEVENT_6); \
if (MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(MDEW_MDLEANEVENT_6); \
MDEventWorkspace<MDLeanEvent<7>, 7>::sptr MDEW_MDLEANEVENT_7 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<7>, 7> >(workspace); \
if (MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(MDEW_MDLEANEVENT_7); \
if (MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(MDEW_MDLEANEVENT_7); \
MDEventWorkspace<MDLeanEvent<8>, 8>::sptr MDEW_MDLEANEVENT_8 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<8>, 8> >(workspace); \
if (MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(MDEW_MDLEANEVENT_8); \
if (MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(MDEW_MDLEANEVENT_8); \
MDEventWorkspace<MDLeanEvent<9>, 9>::sptr MDEW_MDLEANEVENT_9 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<9>, 9> >(workspace); \
if (MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(MDEW_MDLEANEVENT_9); \
}
/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/
#define CALL_MDEVENT_FUNCTION3(funcname, workspace) \
{ \
if (MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(MDEW_MDLEANEVENT_9); \
}




/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/

#define CALL_MDEVENT_FUNCTION3(funcname, workspace) \
{ \
MDEventWorkspace<MDEvent<3>, 3>::sptr MDEW_MDEVENT_3 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<3>, 3> >(workspace); \
if (MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(MDEW_MDEVENT_3); \
if (MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(MDEW_MDEVENT_3); \
MDEventWorkspace<MDEvent<4>, 4>::sptr MDEW_MDEVENT_4 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<4>, 4> >(workspace); \
if (MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(MDEW_MDEVENT_4); \
if (MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(MDEW_MDEVENT_4); \
MDEventWorkspace<MDEvent<5>, 5>::sptr MDEW_MDEVENT_5 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<5>, 5> >(workspace); \
if (MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(MDEW_MDEVENT_5); \
if (MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(MDEW_MDEVENT_5); \
MDEventWorkspace<MDEvent<6>, 6>::sptr MDEW_MDEVENT_6 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<6>, 6> >(workspace); \
if (MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(MDEW_MDEVENT_6); \
if (MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(MDEW_MDEVENT_6); \
MDEventWorkspace<MDEvent<7>, 7>::sptr MDEW_MDEVENT_7 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<7>, 7> >(workspace); \
if (MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(MDEW_MDEVENT_7); \
if (MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(MDEW_MDEVENT_7); \
MDEventWorkspace<MDEvent<8>, 8>::sptr MDEW_MDEVENT_8 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<8>, 8> >(workspace); \
if (MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(MDEW_MDEVENT_8); \
if (MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(MDEW_MDEVENT_8); \
MDEventWorkspace<MDEvent<9>, 9>::sptr MDEW_MDEVENT_9 = boost::dynamic_pointer_cast<MDEventWorkspace<MDEvent<9>, 9> >(workspace); \
if (MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(MDEW_MDEVENT_9); \
if (MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(MDEW_MDEVENT_9); \
MDEventWorkspace<MDLeanEvent<3>, 3>::sptr MDEW_MDLEANEVENT_3 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<3>, 3> >(workspace); \
if (MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(MDEW_MDLEANEVENT_3); \
if (MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(MDEW_MDLEANEVENT_3); \
MDEventWorkspace<MDLeanEvent<4>, 4>::sptr MDEW_MDLEANEVENT_4 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<4>, 4> >(workspace); \
if (MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(MDEW_MDLEANEVENT_4); \
if (MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(MDEW_MDLEANEVENT_4); \
MDEventWorkspace<MDLeanEvent<5>, 5>::sptr MDEW_MDLEANEVENT_5 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<5>, 5> >(workspace); \
if (MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(MDEW_MDLEANEVENT_5); \
if (MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(MDEW_MDLEANEVENT_5); \
MDEventWorkspace<MDLeanEvent<6>, 6>::sptr MDEW_MDLEANEVENT_6 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<6>, 6> >(workspace); \
if (MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(MDEW_MDLEANEVENT_6); \
if (MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(MDEW_MDLEANEVENT_6); \
MDEventWorkspace<MDLeanEvent<7>, 7>::sptr MDEW_MDLEANEVENT_7 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<7>, 7> >(workspace); \
if (MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(MDEW_MDLEANEVENT_7); \
if (MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(MDEW_MDLEANEVENT_7); \
MDEventWorkspace<MDLeanEvent<8>, 8>::sptr MDEW_MDLEANEVENT_8 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<8>, 8> >(workspace); \
if (MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(MDEW_MDLEANEVENT_8); \
if (MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(MDEW_MDLEANEVENT_8); \
MDEventWorkspace<MDLeanEvent<9>, 9>::sptr MDEW_MDLEANEVENT_9 = boost::dynamic_pointer_cast<MDEventWorkspace<MDLeanEvent<9>, 9> >(workspace); \
if (MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(MDEW_MDLEANEVENT_9); \
}
/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/
#define CONST_CALL_MDEVENT_FUNCTION(funcname, workspace) \
{ \
if (MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(MDEW_MDLEANEVENT_9); \
}




/** Macro that makes it possible to call a templated method for
* a MDEventWorkspace using a IMDEventWorkspace_sptr as the input.
*
* @param funcname :: name of the function that will be called.
* @param workspace :: IMDEventWorkspace_sptr input workspace.
*/

#define CONST_CALL_MDEVENT_FUNCTION(funcname, workspace) \
{ \
const MDEventWorkspace<MDEvent<1>, 1>::sptr CONST_MDEW_MDEVENT_1 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<1>, 1> >(workspace); \
if (CONST_MDEW_MDEVENT_1) funcname<MDEvent<1>, 1>(CONST_MDEW_MDEVENT_1); \
if (CONST_MDEW_MDEVENT_1) funcname<MDEvent<1>, 1>(CONST_MDEW_MDEVENT_1); \
const MDEventWorkspace<MDEvent<2>, 2>::sptr CONST_MDEW_MDEVENT_2 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<2>, 2> >(workspace); \
if (CONST_MDEW_MDEVENT_2) funcname<MDEvent<2>, 2>(CONST_MDEW_MDEVENT_2); \
if (CONST_MDEW_MDEVENT_2) funcname<MDEvent<2>, 2>(CONST_MDEW_MDEVENT_2); \
const MDEventWorkspace<MDEvent<3>, 3>::sptr CONST_MDEW_MDEVENT_3 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<3>, 3> >(workspace); \
if (CONST_MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(CONST_MDEW_MDEVENT_3); \
if (CONST_MDEW_MDEVENT_3) funcname<MDEvent<3>, 3>(CONST_MDEW_MDEVENT_3); \
const MDEventWorkspace<MDEvent<4>, 4>::sptr CONST_MDEW_MDEVENT_4 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<4>, 4> >(workspace); \
if (CONST_MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(CONST_MDEW_MDEVENT_4); \
if (CONST_MDEW_MDEVENT_4) funcname<MDEvent<4>, 4>(CONST_MDEW_MDEVENT_4); \
const MDEventWorkspace<MDEvent<5>, 5>::sptr CONST_MDEW_MDEVENT_5 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<5>, 5> >(workspace); \
if (CONST_MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(CONST_MDEW_MDEVENT_5); \
if (CONST_MDEW_MDEVENT_5) funcname<MDEvent<5>, 5>(CONST_MDEW_MDEVENT_5); \
const MDEventWorkspace<MDEvent<6>, 6>::sptr CONST_MDEW_MDEVENT_6 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<6>, 6> >(workspace); \
if (CONST_MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(CONST_MDEW_MDEVENT_6); \
if (CONST_MDEW_MDEVENT_6) funcname<MDEvent<6>, 6>(CONST_MDEW_MDEVENT_6); \
const MDEventWorkspace<MDEvent<7>, 7>::sptr CONST_MDEW_MDEVENT_7 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<7>, 7> >(workspace); \
if (CONST_MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(CONST_MDEW_MDEVENT_7); \
if (CONST_MDEW_MDEVENT_7) funcname<MDEvent<7>, 7>(CONST_MDEW_MDEVENT_7); \
const MDEventWorkspace<MDEvent<8>, 8>::sptr CONST_MDEW_MDEVENT_8 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<8>, 8> >(workspace); \
if (CONST_MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(CONST_MDEW_MDEVENT_8); \
if (CONST_MDEW_MDEVENT_8) funcname<MDEvent<8>, 8>(CONST_MDEW_MDEVENT_8); \
const MDEventWorkspace<MDEvent<9>, 9>::sptr CONST_MDEW_MDEVENT_9 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDEvent<9>, 9> >(workspace); \
if (CONST_MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(CONST_MDEW_MDEVENT_9); \
if (CONST_MDEW_MDEVENT_9) funcname<MDEvent<9>, 9>(CONST_MDEW_MDEVENT_9); \
const MDEventWorkspace<MDLeanEvent<1>, 1>::sptr CONST_MDEW_MDLEANEVENT_1 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<1>, 1> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_1) funcname<MDLeanEvent<1>, 1>(CONST_MDEW_MDLEANEVENT_1); \
if (CONST_MDEW_MDLEANEVENT_1) funcname<MDLeanEvent<1>, 1>(CONST_MDEW_MDLEANEVENT_1); \
const MDEventWorkspace<MDLeanEvent<2>, 2>::sptr CONST_MDEW_MDLEANEVENT_2 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<2>, 2> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_2) funcname<MDLeanEvent<2>, 2>(CONST_MDEW_MDLEANEVENT_2); \
if (CONST_MDEW_MDLEANEVENT_2) funcname<MDLeanEvent<2>, 2>(CONST_MDEW_MDLEANEVENT_2); \
const MDEventWorkspace<MDLeanEvent<3>, 3>::sptr CONST_MDEW_MDLEANEVENT_3 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<3>, 3> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(CONST_MDEW_MDLEANEVENT_3); \
if (CONST_MDEW_MDLEANEVENT_3) funcname<MDLeanEvent<3>, 3>(CONST_MDEW_MDLEANEVENT_3); \
const MDEventWorkspace<MDLeanEvent<4>, 4>::sptr CONST_MDEW_MDLEANEVENT_4 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<4>, 4> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(CONST_MDEW_MDLEANEVENT_4); \
if (CONST_MDEW_MDLEANEVENT_4) funcname<MDLeanEvent<4>, 4>(CONST_MDEW_MDLEANEVENT_4); \
const MDEventWorkspace<MDLeanEvent<5>, 5>::sptr CONST_MDEW_MDLEANEVENT_5 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<5>, 5> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(CONST_MDEW_MDLEANEVENT_5); \
if (CONST_MDEW_MDLEANEVENT_5) funcname<MDLeanEvent<5>, 5>(CONST_MDEW_MDLEANEVENT_5); \
const MDEventWorkspace<MDLeanEvent<6>, 6>::sptr CONST_MDEW_MDLEANEVENT_6 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<6>, 6> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(CONST_MDEW_MDLEANEVENT_6); \
if (CONST_MDEW_MDLEANEVENT_6) funcname<MDLeanEvent<6>, 6>(CONST_MDEW_MDLEANEVENT_6); \
const MDEventWorkspace<MDLeanEvent<7>, 7>::sptr CONST_MDEW_MDLEANEVENT_7 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<7>, 7> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(CONST_MDEW_MDLEANEVENT_7); \
if (CONST_MDEW_MDLEANEVENT_7) funcname<MDLeanEvent<7>, 7>(CONST_MDEW_MDLEANEVENT_7); \
const MDEventWorkspace<MDLeanEvent<8>, 8>::sptr CONST_MDEW_MDLEANEVENT_8 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<8>, 8> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(CONST_MDEW_MDLEANEVENT_8); \
if (CONST_MDEW_MDLEANEVENT_8) funcname<MDLeanEvent<8>, 8>(CONST_MDEW_MDLEANEVENT_8); \
const MDEventWorkspace<MDLeanEvent<9>, 9>::sptr CONST_MDEW_MDLEANEVENT_9 = boost::dynamic_pointer_cast<const MDEventWorkspace<MDLeanEvent<9>, 9> >(workspace); \
if (CONST_MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(CONST_MDEW_MDLEANEVENT_9); \
}
if (CONST_MDEW_MDLEANEVENT_9) funcname<MDLeanEvent<9>, 9>(CONST_MDEW_MDLEANEVENT_9); \
}






Expand Down Expand Up @@ -458,3 +458,4 @@ namespace Mantid
} // namespace MDEvents

#endif /* MANTID_MDEVENTS_MDEVENTFACTORY_H_ */

3 changes: 2 additions & 1 deletion Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace Mantid
{
//### BEGIN AUTO-GENERATED CODE #################################################################
/* Code below Auto-generated by 'generate_mdevent_declarations.py'
* on 2013-05-30 11:56:13.355000
* on 2013-05-30 12:17:00.216000
*
* DO NOT EDIT!
*/
Expand Down Expand Up @@ -351,3 +351,4 @@ namespace Mantid

} // namespace Mantid
} // namespace MDEvents

0 comments on commit 9540a8f

Please sign in to comment.