📄 ifr_extendeds.cpp
字号:
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 0, 5, 19, 19, 19, 19, 0, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19,
#else
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 0, 5, 19, 19, 19,
19, 0, 19, 19, 19, 19, 19, 19,
#endif /* ACE_MVS */
};
return len + asso_values[(int) str[len - 1]] + asso_values[(int) str[0]];
}
const class TAO_operation_db_entry *
TAO_CORBA_FixedDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
{
enum
{
TOTAL_KEYWORDS = 11,
MIN_WORD_LENGTH = 5,
MAX_WORD_LENGTH = 13,
MIN_HASH_VALUE = 5,
MAX_HASH_VALUE = 18,
HASH_VALUE_RANGE = 14,
DUPLICATES = 4,
WORDLIST_SIZE = 16
};
static const class TAO_operation_db_entry wordlist[] =
{
{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},{"",0,0,0},
{"_is_a", &POA_CORBA::FixedDef::_is_a_skel, 0, 0},
{"destroy", &POA_CORBA::FixedDef::destroy_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::destroy, 0},
{"_get_type", &POA_CORBA::FixedDef::_get_type_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_get_type, 0},
{"_get_scale", &POA_CORBA::FixedDef::_get_scale_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_get_scale, 0},
{"_interface", &POA_CORBA::FixedDef::_interface_skel, 0, 0},
{"_set_scale", &POA_CORBA::FixedDef::_set_scale_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_set_scale, 0},
{"_get_digits", &POA_CORBA::FixedDef::_get_digits_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_get_digits, 0},
{"_set_digits", &POA_CORBA::FixedDef::_set_digits_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_set_digits, 0},
{"_get_def_kind", &POA_CORBA::FixedDef::_get_def_kind_skel, &POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_get_def_kind, 0},
{"_component", &POA_CORBA::FixedDef::_component_skel, 0, 0},
{"_non_existent", &POA_CORBA::FixedDef::_non_existent_skel, 0, 0},
};
static const signed char lookup[] =
{
-1, -8, -3, -11, -2, 5, -1, 6, -1, 7, -27, -26, -1, 13,
-1, 14, -1, -1, 15,
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
unsigned int key = hash (str, len);
if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
{
int slot = lookup[key];
if (slot >= 0 && slot < WORDLIST_SIZE)
{
const char *s = wordlist[slot].opname_;
if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
return &wordlist[slot];
}
else if (slot < 0 && slot >= -MAX_HASH_VALUE)
return 0;
else
{
unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
while (--ptr >= base)
if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
return ptr;
}
}
}
return 0;
}
static TAO_CORBA_FixedDef_Perfect_Hash_OpTable tao_CORBA_FixedDef_optable;
// TAO_IDL - Generated from
// be/be_visitor_interface/interceptors_ss.cpp:53
#if (TAO_HAS_INTERCEPTORS == 1)
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:74
class TAO_ServerRequestInfo_CORBA_FixedDef_digits_get : public TAO_ServerRequestInfo
{
public:
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,
POA_CORBA::FixedDef *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
void result (CORBA::UShort result);
private:
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (
const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &
);
void operator= (
const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &
);
private:
POA_CORBA::FixedDef *_tao_impl;
CORBA::UShort _result;
};
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:438
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall,
POA_CORBA::FixedDef *tao_impl
ACE_ENV_ARG_DECL_NOT_USED
)
: TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
_tao_impl (tao_impl)
{}
Dynamic::ParameterList *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::arguments (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the argument list on demand.
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
return parameter_list;
}
Dynamic::ExceptionList *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::exceptions (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the exception list on demand.
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
return exception_list;
}
CORBA::Any *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::result (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the result on demand.
CORBA::Boolean tk_void_any = 0;
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
CORBA::Any_var safe_result_any = result_any;
(*result_any) <<= this->_result;
return safe_result_any._retn ();
}
char *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_NOT_USED
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return
CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
}
CORBA::Boolean
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::target_is_a (
const char * id
ACE_ENV_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
void
TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::result (CORBA::UShort result)
{
// Update the result.
this->_result = result;
}
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:74
class TAO_ServerRequestInfo_CORBA_FixedDef_digits_set : public TAO_ServerRequestInfo
{
public:
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,
POA_CORBA::FixedDef *tao_impl,
const CORBA::UShort & digits
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (
const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &
);
void operator= (
const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &
);
private:
POA_CORBA::FixedDef *_tao_impl;
const CORBA::UShort & digits_;
};
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:438
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall,
POA_CORBA::FixedDef *tao_impl,
const CORBA::UShort & digits
ACE_ENV_ARG_DECL_NOT_USED
)
: TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
_tao_impl (tao_impl),
digits_ (digits)
{}
Dynamic::ParameterList *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::arguments (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the argument list on demand.
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
(*parameter_list)[len].argument <<= digits_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
return safe_parameter_list._retn ();
}
Dynamic::ExceptionList *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::exceptions (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the exception list on demand.
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
return exception_list;
}
CORBA::Any *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::result (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the result on demand.
CORBA::Boolean tk_void_any = 1;
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
return result_any;
}
char *
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_NOT_USED
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return
CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
}
CORBA::Boolean
TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::target_is_a (
const char * id
ACE_ENV_ARG_DECL
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:74
class TAO_ServerRequestInfo_CORBA_FixedDef_scale_get : public TAO_ServerRequestInfo
{
public:
TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,
POA_CORBA::FixedDef *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
void result (CORBA::Short result);
private:
TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (
const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &
);
void operator= (
const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &
);
private:
POA_CORBA::FixedDef *_tao_impl;
CORBA::Short _result;
};
// TAO_IDL - Generated from
// be/be_visitor_operation/interceptors_ss.cpp:438
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -