To get access to the record definitions for the structures use:
-include_lib("cosProperty/include/CosPropertyService.hrl").
create_propertysetdef(Factory) ->
Factory = PropertySetDef = #objref This operation creates a new PropertySetDef with no predefined
settings.
create_constrained_propertysetdef(Factory, PropertyTypes, PropertyDefs) -> Reply
Factory = PropertySetDef = #objrefPropertyTypes = [CORBA::TypeCode]PropertyDefs = [#'CosPropertyService_PropertyDef'{property_name = Name,
property_value = Value,
property_mode = Mode}]Name = string()Value = #anyMode = normal | read_only | fixed_normal | fixed_readonly | undefinedReply = {'EXCEPTION', #CosPropertyService_ConstraintNotSupported{}} |
PropertySetDefPropertySetDef = #objref This operation creates a new PropertySetDef with specific
constraints. PropertyTypes states allowed TypeCode's and PropertyDefs valid
CosPropertyService::PropertyDef data.
create_initial_propertysetdef(Factory, PropertyDefs) -> Reply
Factory = PropertySetDef = #objrefPropertyDefs = [#'CosPropertyService_PropertyDef'{property_name = Name,
property_value = Value,
property_mode = Mode}]Name = string()Value = #anyMode = normal | read_only | fixed_normal | fixed_readonly | undefinedReply = {'EXCEPTION', #CosPropertyService_MultipleExceptions{exceptions = Excs}} |
PropertySetDefExcs = [#'CosPropertyService_PropertyException{reason = Reason,
failing_property_name = Name}]Reason = invalid_property_name | conflicting_property | property_not_found
| unsupported_type_code | unsupported_property | unsupported_mode
| fixed_property | read_only_propertyPropertySetDef = #objref This operation creates a new PropertySetDef with specific
initial properties.