AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AttachementProperties.cpp
Go to the documentation of this file.
2 
4 
5 namespace avtranscoder
6 {
7 
8 std::ostream& operator<<(std::ostream& flux, const AttachementProperties& attachementProperties)
9 {
10  flux << detail::separator << " Attachement stream " << detail::separator << std::endl;
11 
12  PropertyVector properties = attachementProperties.asVector();
13  for(PropertyVector::iterator it = properties.begin(); it != properties.end(); ++it)
14  {
15  flux << std::setw(detail::keyWidth) << it->first << ": " << it->second << std::endl;
16  }
17 
18  return flux;
19 }
20 }
std::vector< std::pair< std::string, std::string > > PropertyVector
PropertyVector is a vector of pair, because the order of properties matters to us.
Definition: util.hpp:23
const size_t keyWidth
Definition: util.hpp:32
const std::string separator
Definition: util.hpp:33
std::ostream & operator<<(std::ostream &flux, const InputFile &input)
Definition: InputFile.cpp:171
PropertyVector asVector() const
Same data with a specific order.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy