00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "DcpsInfo_pch.h" 00009 00010 #include "FederationId.h" 00011 00012 TAO_DDS_DCPSFederationId::TAO_DDS_DCPSFederationId(RepoKey initId) 00013 : id_(initId) 00014 , overridden_(false) 00015 { 00016 } 00017 00018 void 00019 TAO_DDS_DCPSFederationId::id(RepoKey fedId) 00020 { 00021 this->id_ = fedId; 00022 this->overridden_ = true; 00023 } 00024 00025 TAO_DDS_DCPSFederationId::RepoKey 00026 TAO_DDS_DCPSFederationId::id() const 00027 { 00028 return this->id_; 00029 } 00030 00031 /* 00032 void 00033 TAO_DDS_DCPSFederationId::overridden(bool overrideId) 00034 { 00035 this->overridden_ = overrideId; 00036 }*/ 00037 00038 bool 00039 TAO_DDS_DCPSFederationId::overridden() const 00040 { 00041 return this->overridden_; 00042 } 00043