summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-05-04 11:11:46 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-05-04 11:11:46 +0000
commit29e5374959cedf0dcf546043220132573cd4e238 (patch)
tree49328d10b493e299e4bc061adb9a6122228cc037
parent32ef6a089b8dc9c51afd9e3a3dac85f193298fa2 (diff)
downloadATCD-29e5374959cedf0dcf546043220132573cd4e238.tar.gz
ChangeLogTag: Wed May 4 08:55:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/tao/PortableServer/AdapterActivatorA.cpp8
-rw-r--r--TAO/tao/PortableServer/ForwardRequestA.cpp16
-rw-r--r--TAO/tao/PortableServer/PortableServerA.cpp84
-rw-r--r--TAO/tao/PortableServer/RequestProcessingPolicyA.cpp14
-rw-r--r--TAO/tao/PortableServer/ServantActivatorA.cpp8
-rw-r--r--TAO/tao/PortableServer/ServantLocatorA.cpp8
-rw-r--r--TAO/tao/PortableServer/ServantManagerA.cpp8
-rw-r--r--TAO/tao/PortableServer/ServantRetentionPolicyA.cpp14
-rw-r--r--TAO/tao/PortableServer/ThreadPolicyA.cpp14
9 files changed, 107 insertions, 67 deletions
diff --git a/TAO/tao/PortableServer/AdapterActivatorA.cpp b/TAO/tao/PortableServer/AdapterActivatorA.cpp
index d6c87c84e9a..3c7730d22e6 100644
--- a/TAO/tao/PortableServer/AdapterActivatorA.cpp
+++ b/TAO/tao/PortableServer/AdapterActivatorA.cpp
@@ -35,6 +35,8 @@
#include "tao/Any.h"
#include "tao/Any_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/objref_typecode.cpp:76
@@ -44,7 +46,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/AdapterActivator:2.3",
"AdapterActivator");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_AdapterActivator =
@@ -77,7 +79,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::AdapterActivator>::demarshal_value (TAO_InputCDR &)
@@ -127,3 +129,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ForwardRequestA.cpp b/TAO/tao/PortableServer/ForwardRequestA.cpp
index 0618ed61911..8577de23a8f 100644
--- a/TAO/tao/PortableServer/ForwardRequestA.cpp
+++ b/TAO/tao/PortableServer/ForwardRequestA.cpp
@@ -35,13 +35,15 @@
#include "tao/Any.h"
#include "tao/Any_Dual_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/struct_typecode.cpp:74
static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const _tao_fields_PortableServer_ForwardRequest[] =
{
{ "forward_reference", &CORBA::_tc_Object }
-
+
};
static TAO::TypeCode::Struct<char const *,
CORBA::TypeCode_ptr const *,
@@ -54,7 +56,7 @@ static TAO::TypeCode::Struct<char const *,
"ForwardRequest",
_tao_fields_PortableServer_ForwardRequest,
1);
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ForwardRequest =
@@ -63,7 +65,7 @@ namespace PortableServer
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -75,12 +77,12 @@ namespace TAO
)
{
CORBA::String_var id;
-
+
if (!(cdr >> id.out ()))
{
return false;
}
-
+
ACE_TRY_NEW_ENV
{
this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
@@ -91,7 +93,7 @@ namespace TAO
return false;
}
ACE_ENDTRY;
-
+
return true;
}
}
@@ -150,3 +152,5 @@ CORBA::Boolean operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/PortableServerA.cpp b/TAO/tao/PortableServer/PortableServerA.cpp
index 0fa3af82622..c3f693bb8e3 100644
--- a/TAO/tao/PortableServer/PortableServerA.cpp
+++ b/TAO/tao/PortableServer/PortableServerA.cpp
@@ -65,10 +65,10 @@ namespace TAO
CORBA::tk_sequence,
&PortableServer::_tc_POA,
0U);
-
+
::CORBA::TypeCode_ptr const tc_PortableServer_POAList_0 =
&PortableServer_POAList_0;
-
+
}
}
@@ -82,7 +82,7 @@ static TAO::TypeCode::Alias<char const *,
"IDL:omg.org/PortableServer/POAList:1.0",
"POAList",
&TAO::TypeCode::tc_PortableServer_POAList_0);
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_POAList =
@@ -106,7 +106,7 @@ static TAO::TypeCode::Struct<char const *,
"AdapterAlreadyExists",
_tao_fields_PortableServer_POA_AdapterAlreadyExists,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_AdapterAlreadyExists =
&_tao_tc_PortableServer_POA_AdapterAlreadyExists;
@@ -125,7 +125,7 @@ static TAO::TypeCode::Struct<char const *,
"AdapterNonExistent",
_tao_fields_PortableServer_POA_AdapterNonExistent,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_AdapterNonExistent =
&_tao_tc_PortableServer_POA_AdapterNonExistent;
@@ -135,7 +135,7 @@ static TAO::TypeCode::Struct<char const *,
static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const _tao_fields_PortableServer_POA_InvalidPolicy[] =
{
{ "index", &CORBA::_tc_ushort }
-
+
};
static TAO::TypeCode::Struct<char const *,
CORBA::TypeCode_ptr const *,
@@ -148,10 +148,12 @@ static TAO::TypeCode::Struct<char const *,
"InvalidPolicy",
_tao_fields_PortableServer_POA_InvalidPolicy,
1);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_InvalidPolicy =
&_tao_tc_PortableServer_POA_InvalidPolicy;
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/struct_typecode.cpp:74
@@ -167,10 +169,12 @@ static TAO::TypeCode::Struct<char const *,
"NoServant",
_tao_fields_PortableServer_POA_NoServant,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_NoServant =
&_tao_tc_PortableServer_POA_NoServant;
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/struct_typecode.cpp:74
@@ -186,7 +190,7 @@ static TAO::TypeCode::Struct<char const *,
"ObjectAlreadyActive",
_tao_fields_PortableServer_POA_ObjectAlreadyActive,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ObjectAlreadyActive =
&_tao_tc_PortableServer_POA_ObjectAlreadyActive;
@@ -205,7 +209,7 @@ static TAO::TypeCode::Struct<char const *,
"ObjectNotActive",
_tao_fields_PortableServer_POA_ObjectNotActive,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ObjectNotActive =
&_tao_tc_PortableServer_POA_ObjectNotActive;
@@ -224,7 +228,7 @@ static TAO::TypeCode::Struct<char const *,
"ServantAlreadyActive",
_tao_fields_PortableServer_POA_ServantAlreadyActive,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ServantAlreadyActive =
&_tao_tc_PortableServer_POA_ServantAlreadyActive;
@@ -243,7 +247,7 @@ static TAO::TypeCode::Struct<char const *,
"ServantNotActive",
_tao_fields_PortableServer_POA_ServantNotActive,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_ServantNotActive =
&_tao_tc_PortableServer_POA_ServantNotActive;
@@ -262,7 +266,7 @@ static TAO::TypeCode::Struct<char const *,
"WrongAdapter",
_tao_fields_PortableServer_POA_WrongAdapter,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_WrongAdapter =
&_tao_tc_PortableServer_POA_WrongAdapter;
@@ -281,7 +285,7 @@ static TAO::TypeCode::Struct<char const *,
"WrongPolicy",
_tao_fields_PortableServer_POA_WrongPolicy,
0);
-
+
::CORBA::TypeCode_ptr const PortableServer::POA::_tc_WrongPolicy =
&_tao_tc_PortableServer_POA_WrongPolicy;
@@ -294,7 +298,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/POA:2.3",
"POA");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_POA =
@@ -303,7 +307,7 @@ namespace PortableServer
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_sequence/any_op_cs.cpp:54
namespace TAO
@@ -314,7 +318,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POAList>::demarshal_value (TAO_InputCDR &)
@@ -402,7 +406,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::POA>::demarshal_value (TAO_InputCDR &)
@@ -453,7 +457,7 @@ operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -464,7 +468,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::AdapterAlreadyExists>::demarshal_value (TAO_InputCDR &)
@@ -528,7 +532,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -539,7 +543,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::AdapterNonExistent>::demarshal_value (TAO_InputCDR &)
@@ -603,7 +607,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -614,7 +618,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::InvalidPolicy>::demarshal_value (TAO_InputCDR &)
@@ -678,9 +682,11 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
+#if (TAO_HAS_MINIMUM_POA == 0)
+
namespace TAO
{
template<>
@@ -689,7 +695,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::NoServant>::demarshal_value (TAO_InputCDR &)
@@ -753,7 +759,9 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -764,7 +772,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::ObjectAlreadyActive>::demarshal_value (TAO_InputCDR &)
@@ -828,7 +836,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -839,7 +847,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::ObjectNotActive>::demarshal_value (TAO_InputCDR &)
@@ -903,7 +911,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -914,7 +922,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::ServantAlreadyActive>::demarshal_value (TAO_InputCDR &)
@@ -978,7 +986,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -989,7 +997,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::ServantNotActive>::demarshal_value (TAO_InputCDR &)
@@ -1053,7 +1061,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -1064,7 +1072,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::WrongAdapter>::demarshal_value (TAO_InputCDR &)
@@ -1128,7 +1136,7 @@ CORBA::Boolean operator>>= (
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_exception/any_op_cs.cpp:50
namespace TAO
@@ -1139,7 +1147,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Dual_Impl_T<PortableServer::POA::WrongPolicy>::demarshal_value (TAO_InputCDR &)
diff --git a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp b/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp
index 468cfa0f662..49f3dc66cb4 100644
--- a/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp
+++ b/TAO/tao/PortableServer/RequestProcessingPolicyA.cpp
@@ -36,6 +36,8 @@
#include "tao/Any_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/enum_typecode.cpp:34
@@ -44,7 +46,7 @@ static char const * const _tao_enumerators_PortableServer_RequestProcessingPolic
"USE_ACTIVE_OBJECT_MAP_ONLY",
"USE_DEFAULT_SERVANT",
"USE_SERVANT_MANAGER"
-
+
};
static TAO::TypeCode::Enum<char const *,
@@ -55,7 +57,7 @@ static TAO::TypeCode::Enum<char const *,
"RequestProcessingPolicyValue",
_tao_enumerators_PortableServer_RequestProcessingPolicyValue,
3);
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicyValue =
@@ -73,7 +75,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/RequestProcessingPolicy:2.3",
"RequestProcessingPolicy");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_RequestProcessingPolicy =
@@ -106,7 +108,7 @@ CORBA::Boolean operator>>= (
TAO::Any_Basic_Impl_T<PortableServer::RequestProcessingPolicyValue>::extract (
_tao_any,
PortableServer::_tc_RequestProcessingPolicyValue,
- _tao_elem
+ _tao_elem
);
}
@@ -134,7 +136,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::RequestProcessingPolicy>::demarshal_value (TAO_InputCDR &)
@@ -184,3 +186,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ServantActivatorA.cpp b/TAO/tao/PortableServer/ServantActivatorA.cpp
index 05b6de05a7c..11e8c3c4438 100644
--- a/TAO/tao/PortableServer/ServantActivatorA.cpp
+++ b/TAO/tao/PortableServer/ServantActivatorA.cpp
@@ -34,6 +34,8 @@
#include "tao/Any.h"
#include "tao/Any_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/objref_typecode.cpp:76
@@ -43,7 +45,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/ServantActivator:2.3",
"ServantActivator");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ServantActivator =
@@ -76,7 +78,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::ServantActivator>::demarshal_value (TAO_InputCDR &)
@@ -126,3 +128,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ServantLocatorA.cpp b/TAO/tao/PortableServer/ServantLocatorA.cpp
index d617ded4948..7b75855118d 100644
--- a/TAO/tao/PortableServer/ServantLocatorA.cpp
+++ b/TAO/tao/PortableServer/ServantLocatorA.cpp
@@ -35,6 +35,8 @@
#include "tao/Any.h"
#include "tao/Any_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/objref_typecode.cpp:76
@@ -44,7 +46,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/ServantLocator:2.3",
"ServantLocator");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ServantLocator =
@@ -77,7 +79,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::ServantLocator>::demarshal_value (TAO_InputCDR &)
@@ -127,3 +129,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ServantManagerA.cpp b/TAO/tao/PortableServer/ServantManagerA.cpp
index 666ad5d72ea..fab81c39676 100644
--- a/TAO/tao/PortableServer/ServantManagerA.cpp
+++ b/TAO/tao/PortableServer/ServantManagerA.cpp
@@ -34,6 +34,8 @@
#include "tao/Any.h"
#include "tao/Any_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/objref_typecode.cpp:76
@@ -43,7 +45,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/ServantManager:2.3",
"ServantManager");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ServantManager =
@@ -76,7 +78,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::ServantManager>::demarshal_value (TAO_InputCDR &)
@@ -126,3 +128,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp b/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp
index 7553dfeb7ac..d40c6251426 100644
--- a/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp
+++ b/TAO/tao/PortableServer/ServantRetentionPolicyA.cpp
@@ -36,6 +36,8 @@
#include "tao/Any_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"
+#if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/enum_typecode.cpp:34
@@ -43,7 +45,7 @@ static char const * const _tao_enumerators_PortableServer_ServantRetentionPolicy
{
"RETAIN",
"NON_RETAIN"
-
+
};
static TAO::TypeCode::Enum<char const *,
@@ -54,7 +56,7 @@ static TAO::TypeCode::Enum<char const *,
"ServantRetentionPolicyValue",
_tao_enumerators_PortableServer_ServantRetentionPolicyValue,
2);
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicyValue =
@@ -72,7 +74,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/ServantRetentionPolicy:2.3",
"ServantRetentionPolicy");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ServantRetentionPolicy =
@@ -105,7 +107,7 @@ CORBA::Boolean operator>>= (
TAO::Any_Basic_Impl_T<PortableServer::ServantRetentionPolicyValue>::extract (
_tao_any,
PortableServer::_tc_ServantRetentionPolicyValue,
- _tao_elem
+ _tao_elem
);
}
@@ -133,7 +135,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::ServantRetentionPolicy>::demarshal_value (TAO_InputCDR &)
@@ -183,3 +185,5 @@ operator>>= (
_tao_elem
);
}
+
+#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/ThreadPolicyA.cpp b/TAO/tao/PortableServer/ThreadPolicyA.cpp
index f1a497074fd..ac6e78c84d8 100644
--- a/TAO/tao/PortableServer/ThreadPolicyA.cpp
+++ b/TAO/tao/PortableServer/ThreadPolicyA.cpp
@@ -36,6 +36,8 @@
#include "tao/Any_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"
+ #if (TAO_HAS_MINIMUM_POA == 0)
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/enum_typecode.cpp:34
@@ -43,7 +45,7 @@ static char const * const _tao_enumerators_PortableServer_ThreadPolicyValue[] =
{
"ORB_CTRL_MODEL",
"SINGLE_THREAD_MODEL"
-
+
};
static TAO::TypeCode::Enum<char const *,
@@ -54,7 +56,7 @@ static TAO::TypeCode::Enum<char const *,
"ThreadPolicyValue",
_tao_enumerators_PortableServer_ThreadPolicyValue,
2);
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ThreadPolicyValue =
@@ -72,7 +74,7 @@ static TAO::TypeCode::Objref<char const *,
CORBA::tk_local_interface,
"IDL:omg.org/PortableServer/ThreadPolicy:2.3",
"ThreadPolicy");
-
+
namespace PortableServer
{
::CORBA::TypeCode_ptr const _tc_ThreadPolicy =
@@ -105,7 +107,7 @@ CORBA::Boolean operator>>= (
TAO::Any_Basic_Impl_T<PortableServer::ThreadPolicyValue>::extract (
_tao_any,
PortableServer::_tc_ThreadPolicyValue,
- _tao_elem
+ _tao_elem
);
}
@@ -133,7 +135,7 @@ namespace TAO
{
return false;
}
-
+
template<>
CORBA::Boolean
Any_Impl_T<PortableServer::ThreadPolicy>::demarshal_value (TAO_InputCDR &)
@@ -183,3 +185,5 @@ operator>>= (
_tao_elem
);
}
+
+ #endif /* TAO_HAS_MINIMUM_POA == 0 */