/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/framework/config/iipDomainContainer.inl $ */ /* */ /* IBM CONFIDENTIAL */ /* */ /* COPYRIGHT International Business Machines Corp. 1996,2013 */ /* */ /* p1 */ /* */ /* Object Code Only (OCO) source materials */ /* Licensed Internal Code Source Materials */ /* IBM HostBoot Licensed Internal Code */ /* */ /* The source code for this program is not published or otherwise */ /* divested of its trade secrets, irrespective of what has been */ /* deposited with the U.S. Copyright Office. */ /* */ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ #ifndef iipDomainContainer_inl #define iipDomainContainer_inl namespace PRDF { template inline void DomainContainer::AddChip(T * chipPtr) { chips.push_back((T *) chipPtr); } template inline const T * DomainContainer::LookUp(unsigned int i_chipIndex) const { return((T *) ((i_chipIndex < chips.size()) ? chips[i_chipIndex] : NULL)); } template inline T * DomainContainer::LookUp(unsigned int i_chipIndex) { return((T *) ((i_chipIndex < chips.size()) ? chips[i_chipIndex] : NULL)); } template inline uint32_t DomainContainer::GetSize(void) const { return(chips.size()); } } // end namespace PRDF #endif