LCOV - code coverage report
Current view: top level - include/xo/unit - bpu_iostream.hpp (source / functions) Hit Total Coverage
Test: out3.info Lines: 7 7 100.0 %
Date: 1980-01-01 00:00:00 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /** @file native_bpu2_iostream.hpp
       2             :  *
       3             :  *  Author: Roland Conybeare
       4             :  **/
       5             : 
       6             : #pragma once
       7             : 
       8             : #include "xo/ratio/ratio_iostream.hpp"
       9             : #include "bpu.hpp"
      10             : #include <iostream>
      11             : 
      12             : namespace xo {
      13             :     namespace qty {
      14             :         template <typename Int>
      15             :         inline std::ostream &
      16          27 :         operator<<(std::ostream & os, const bpu<Int> & x) {
      17          27 :             os << "<bpu"
      18          27 :                << xtag("dim", x.native_dim())
      19          27 :                << xtag("mult", x.scalefactor())
      20          27 :                << xtag("pwr", x.power())
      21          27 :                << ">";
      22             : 
      23          27 :             return os;
      24             :         }
      25             :     } /*namespace qty*/
      26             : } /*namespace xo*/
      27             : 
      28             : 
      29             : /** end native_bpu2_iostream.hpp **/

Generated by: LCOV version 1.0