module OroGen::TypekitMarshallers::Corba::CompoundType

Public Instance Methods

from_corba(typekit, result, indent) click to toggle source
# File lib/orogen/marshallers/corba.rb, line 374
def from_corba(typekit, result, indent)
    code_copy(typekit, result, indent, "value", "corba", "fromCORBA", true) do |field_name, field_type|
        if field_type.inlines_code?
            field_type.inline_fromCorba("value.#{field_name}", "corba.#{field_name}", indent)
        end
    end
end
to_corba(typekit, result, indent) click to toggle source
# File lib/orogen/marshallers/corba.rb, line 367
def to_corba(typekit, result, indent)
    code_copy(typekit, result, indent, "corba", "value", "toCORBA", true) do |field_name, field_type|
        if field_type.inlines_code?
            field_type.inline_toCorba("corba.#{field_name}", "value.#{field_name}", indent)
        end
    end
end