HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ExtractBitratesMain.cpp File Reference
#include <iostream>
#include <cassert>
#include "ExtractBitrates.h"
Include dependency graph for ExtractBitratesMain.cpp:

Go to the source code of this file.

Functions

void replaceWithE (std::string &out, const std::string &toFind)
 
void outputDouble (std::ostream &left, double right)
 Formatted output for a double with appropriate formatting applied (correct number of digits, etc.) More...
 
int main (int, char **)
 

Function Documentation

int main ( int  ,
char **   
)

Definition at line 66 of file ExtractBitratesMain.cpp.

void outputDouble ( std::ostream &  left,
double  right 
)

Formatted output for a double with appropriate formatting applied (correct number of digits, etc.)

Definition at line 53 of file ExtractBitratesMain.cpp.

void replaceWithE ( std::string &  out,
const std::string &  toFind 
)

In out, finds the first occurence of toFind and replaces it with "e"

Precondition
toFind must have a size of 2
The first character in toFind muts be 'e'
out must contain toFind

Definition at line 42 of file ExtractBitratesMain.cpp.