APSMedium *APSResource::getMediumForCode(const string &code) { APSSymbol *symbol = this->m_parentSymbol; if (symbol) { return symbol->getResourceManager()->getMediumForCode(code); } return NULL; }
APSResource *APSResource::getResource(APSIndex index) const { APSSymbol *symbol = this->m_parentSymbol; if (symbol) { return symbol->getResourceAtIndex(index); } return NULL; }
APSResource* APSResource::getResource ( APSIndex uIndex ) const { APSSymbol* pSymbol = this->m_pParentSymbol; if ( pSymbol ) { return pSymbol->getResourceAtIndex ( uIndex ); } return NULL; }
APSMedium* APSResource::getMediumForCode ( const std::string& sCode ) { APSSymbol* pSymbol = this->m_pParentSymbol; if ( pSymbol ) { return pSymbol->getResourceManager ( )->getMediumForCode ( sCode ); } return KD_NULL; }