/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #include #include "it_ce.hxx" // NOT FULLY DEFINED SERVICES #include #include #include #include #include namespace ary { namespace idl { Ce_Type::Ce_Type( Ce_id i_relatedCe, const std::vector * i_templateParameters ) : nRelatedCe(i_relatedCe), pTemplateParameters(0) { if (i_templateParameters != 0) pTemplateParameters = new std::vector(*i_templateParameters); } Ce_Type::~Ce_Type() { } ClassId Ce_Type::get_AryClass() const { return class_id; } void Ce_Type::do_Accept( csv::ProcessorIfc & io_processor ) const { csv::CheckedCall(io_processor, *this); } void Ce_Type::inq_Get_Text( StringVector & o_module, String & o_name, Ce_id & o_nRelatedCe, int & , // o_nSequenceCount const Gate & i_rGate ) const { String sDummyMember; const CodeEntity & rCe = i_rGate.Ces().Find_Ce(nRelatedCe); i_rGate.Ces().Get_Text( o_module, o_name, sDummyMember, rCe ); o_nRelatedCe = nRelatedCe; } const std::vector * Ce_Type::inq_TemplateParameters() const { return pTemplateParameters.Ptr(); } } // namespace idl } // namespace ary