MBOOL INormalStream::queryCapability(IMetadata& rCapability) { FUNCTION_LOG_START; rCapability = constructPortCapability(); FUNCTION_LOG_END; return !rCapability.isEmpty(); }
void WAVE_MetaHandler::updateLegacyChunk( IChunkData **chunk, XMP_Uns32 chunkID, XMP_Uns32 chunkType, IMetadata &legacyData ) { // If there is a legacy value, update/create the appropriate chunk if( ! legacyData.isEmpty() ) { XMP_Uns8* buffer = NULL; XMP_Uns64 size = legacyData.serialize( &buffer ); if( *chunk != NULL ) { (*chunk)->setData( buffer, size, false ); } else { *chunk = mChunkController->createChunk( chunkID, chunkType ); (*chunk)->setData( buffer, size, false ); mChunkController->insertChunk( *chunk ); } delete[] buffer; } else //delete chunk if existing { mChunkController->removeChunk ( *chunk ); } }//updateLegacyChunk
MBOOL IFeatureStream::queryCapability(IMetadata& rCapability) { FUNCTION_LOG_START; LOG_INF("No support query capability in feature stream"); FUNCTION_LOG_END; return !rCapability.isEmpty(); }