/* -*- C++ -*- */ // $Id$ #include "Repository_i.h" #include "ValueDef_i.h" ACE_RCSID(IFR_Service, ValueDef_i, "$Id$") TAO_ValueDef_i::TAO_ValueDef_i (TAO_Repository_i *repo, ACE_Configuration_Section_Key section_key) : TAO_IRObject_i (repo, section_key), TAO_Container_i (repo, section_key), TAO_Contained_i (repo, section_key), TAO_IDLType_i (repo, section_key) { } TAO_ValueDef_i::~TAO_ValueDef_i (void) { } CORBA::DefinitionKind TAO_ValueDef_i::def_kind (CORBA::Environment &) ACE_THROW_SPEC ((CORBA::SystemException)) { return CORBA::dk_Value; } void TAO_ValueDef_i::destroy (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->destroy_i (ACE_TRY_ENV); } void TAO_ValueDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA_Contained::Description * TAO_ValueDef_i::describe (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->describe_i (ACE_TRY_ENV); } CORBA_Contained::Description * TAO_ValueDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } CORBA::TypeCode_ptr TAO_ValueDef_i::type (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (CORBA::TypeCode::_nil ()); return this->type_i (ACE_TRY_ENV); } CORBA::TypeCode_ptr TAO_ValueDef_i::type_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } CORBA_InterfaceDefSeq * TAO_ValueDef_i::supported_interfaces (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->supported_interfaces_i (ACE_TRY_ENV); } CORBA_InterfaceDefSeq * TAO_ValueDef_i::supported_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::supported_interfaces ( const CORBA_InterfaceDefSeq &supported_interfaces, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->supported_interfaces_i (supported_interfaces, ACE_TRY_ENV); } void TAO_ValueDef_i::supported_interfaces_i ( const CORBA_InterfaceDefSeq & /* supported_interfaces */, CORBA::Environment & /* ACE_TRY_ENV */ ) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA_InitializerSeq * TAO_ValueDef_i::initializers (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->initializers_i (ACE_TRY_ENV); } CORBA_InitializerSeq * TAO_ValueDef_i::initializers_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::initializers (const CORBA_InitializerSeq &initializers, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->initializers_i (initializers, ACE_TRY_ENV); } void TAO_ValueDef_i::initializers_i (const CORBA_InitializerSeq & /* initializers */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA_ValueDef_ptr TAO_ValueDef_i::base_value (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (CORBA_ValueDef::_nil ()); return this->base_value_i (ACE_TRY_ENV); } CORBA_ValueDef_ptr TAO_ValueDef_i::base_value_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::base_value (CORBA_ValueDef_ptr base_value, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->base_value_i (base_value, ACE_TRY_ENV); } void TAO_ValueDef_i::base_value_i (CORBA_ValueDef_ptr /* base_value */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA_ValueDefSeq * TAO_ValueDef_i::abstract_base_values (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->abstract_base_values_i (ACE_TRY_ENV); } CORBA_ValueDefSeq * TAO_ValueDef_i::abstract_base_values_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::abstract_base_values ( const CORBA_ValueDefSeq &abstract_base_values, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->abstract_base_values_i (abstract_base_values, ACE_TRY_ENV); } void TAO_ValueDef_i::abstract_base_values_i ( const CORBA_ValueDefSeq & /* abstract_base_values */, CORBA::Environment & /* ACE_TRY_ENV */ ) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA::Boolean TAO_ValueDef_i::is_abstract (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->is_abstract_i (ACE_TRY_ENV); } CORBA::Boolean TAO_ValueDef_i::is_abstract_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::is_abstract (CORBA::Boolean is_abstract, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->is_abstract (is_abstract, ACE_TRY_ENV); } void TAO_ValueDef_i::is_abstract_i (CORBA::Boolean /* is_abstract */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA::Boolean TAO_ValueDef_i::is_custom (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->is_custom_i (ACE_TRY_ENV); } CORBA::Boolean TAO_ValueDef_i::is_custom_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::is_custom (CORBA::Boolean is_custom, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->is_custom_i (is_custom, ACE_TRY_ENV); } void TAO_ValueDef_i::is_custom_i (CORBA::Boolean /* is_custom */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA::Boolean TAO_ValueDef_i::is_truncatable (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->is_truncatable_i (ACE_TRY_ENV); } CORBA::Boolean TAO_ValueDef_i::is_truncatable_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } void TAO_ValueDef_i::is_truncatable (CORBA::Boolean is_truncatable, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD; this->is_truncatable_i (is_truncatable, ACE_TRY_ENV); } void TAO_ValueDef_i::is_truncatable_i (CORBA::Boolean /* is_truncatable */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO } CORBA::Boolean TAO_ValueDef_i::is_a (const char *id, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->is_a_i (id, ACE_TRY_ENV); } CORBA::Boolean TAO_ValueDef_i::is_a_i (const char *id, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { if (ACE_OS::strcmp (id, "IDL:omg.org/CORBA/ValueBase:1.0") == 0) { return 1; } // TODO return 0; } CORBA_ValueDef::FullValueDescription * TAO_ValueDef_i::describe_value (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_READ_GUARD_RETURN (0); return this->describe_value_i (ACE_TRY_ENV); } CORBA_ValueDef::FullValueDescription * TAO_ValueDef_i::describe_value_i (CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } CORBA_ValueMemberDef_ptr TAO_ValueDef_i::create_value_member (const char *id, const char *name, const char *version, CORBA_IDLType_ptr type, CORBA::Visibility access, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD_RETURN (CORBA_ValueMemberDef::_nil ()); return this->create_value_member_i (id, name, version, type, access, ACE_TRY_ENV); } CORBA_ValueMemberDef_ptr TAO_ValueDef_i::create_value_member_i (const char * /* id */, const char * /* name */, const char * /* version */, CORBA_IDLType_ptr /* type */, CORBA::Visibility /* access */, CORBA::Environment & /* ACE_TRY_ENV */) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } CORBA_AttributeDef_ptr TAO_ValueDef_i::create_attribute ( const char *id, const char *name, const char *version, CORBA_IDLType_ptr type, CORBA::AttributeMode mode, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD_RETURN (CORBA_AttributeDef::_nil ()); return this->create_attribute_i (id, name, version, type, mode, ACE_TRY_ENV); } CORBA_AttributeDef_ptr TAO_ValueDef_i::create_attribute_i ( const char * /* id */, const char * /* name */, const char * /* version */, CORBA_IDLType_ptr /* type */, CORBA::AttributeMode /* mode */, CORBA::Environment & /* ACE_TRY_ENV */ ) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; } CORBA_OperationDef_ptr TAO_ValueDef_i::create_operation ( const char *id, const char *name, const char *version, CORBA_IDLType_ptr result, CORBA::OperationMode mode, const CORBA_ParDescriptionSeq ¶ms, const CORBA_ExceptionDefSeq &exceptions, const CORBA_ContextIdSeq &contexts, CORBA::Environment &ACE_TRY_ENV ) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_IFR_WRITE_GUARD_RETURN (CORBA_OperationDef::_nil ()); return this->create_operation_i (id, name, version, result, mode, params, exceptions, contexts, ACE_TRY_ENV); } CORBA_OperationDef_ptr TAO_ValueDef_i::create_operation_i ( const char * /* id */, const char * /* name */, const char * /* version */, CORBA_IDLType_ptr /* result */, CORBA::OperationMode /* mode */, const CORBA_ParDescriptionSeq & /* params */, const CORBA_ExceptionDefSeq & /* exceptions */, const CORBA_ContextIdSeq & /* contexts */, CORBA::Environment & /* ACE_TRY_ENV */ ) ACE_THROW_SPEC ((CORBA::SystemException)) { // TODO return 0; }