コード例 #1
0
ファイル: print.hpp プロジェクト: amoylel/avTranscoder
std::ostream& operator<<( std::ostream& flux, const UnknownProperties& unknownProperties )
{
	flux << separator << " Unknown stream " << separator << std::endl;

	PropertyVector properties = unknownProperties.getPropertiesAsVector();
	for( PropertyVector::iterator it = properties.begin(); it != properties.end(); ++it )
	{
		flux << std::setw( keyWidth ) << it->first << ": " << it->second << std::endl;
	}

	return flux;
}
コード例 #2
0
std::ostream& operator<<(std::ostream& flux, const SubtitleProperties& subtitleProperties)
{
    flux << detail::separator << " Subtitle stream " << detail::separator << std::endl;

    PropertyVector properties = subtitleProperties.asVector();
    for(PropertyVector::iterator it = properties.begin(); it != properties.end(); ++it)
    {
        flux << std::setw(detail::keyWidth) << it->first << ": " << it->second << std::endl;
    }

    return flux;
}
コード例 #3
0
ファイル: print.hpp プロジェクト: amoylel/avTranscoder
std::ostream& operator<<( std::ostream& flux, const FileProperties& fileProperties )
{
	flux << std::left;
	flux << separator << " Wrapper " << separator << std::endl;

	PropertyVector properties = fileProperties.getPropertiesAsVector();
	for( PropertyVector::iterator it = properties.begin(); it != properties.end(); ++it )
	{
		flux << std::setw( keyWidth ) << it->first << ": " << it->second << std::endl;
	}

	return flux;
}