Music Hub  ..
A session-wide music playback service
dimensions.h File Reference
#include <cstdint>
#include <tuple>
+ Include dependency graph for dimensions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  core::ubuntu::media::video::detail::IntWrapper< Tag, IntegerType >
 IntWrapper is a type-safe integer that allows for encoding/enforcing semantics by means of tags. More...
 

Namespaces

 core
 
 core::ubuntu
 
 core::ubuntu::media
 
 core::ubuntu::media::video
 
 core::ubuntu::media::video::detail
 

Typedefs

typedef detail::IntWrapper< detail::DimensionTag::height, std::uint32_t > core::ubuntu::media::video::Height
 The integer Height of a video. More...
 
typedef detail::IntWrapper< detail::DimensionTag::width, std::uint32_t > core::ubuntu::media::video::Width
 The integer Width of a video. More...
 
typedef std::tuple< Height, Width > core::ubuntu::media::video::Dimensions
 Height and Width of a video. More...
 

Enumerations

enum  core::ubuntu::media::video::detail::DimensionTag {
  core::ubuntu::media::video::detail::DimensionTag::width,
  core::ubuntu::media::video::detail::DimensionTag::height
}
 

Functions

template<DimensionTag Tag, typename IntegerType >
std::ostream & core::ubuntu::media::video::detail::operator<< (std::ostream &out, IntWrapper< Tag, IntegerType > const &value)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator== (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator!= (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator<= (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator>= (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator< (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)
 
template<DimensionTag Tag, typename IntegerType >
bool core::ubuntu::media::video::detail::operator> (IntWrapper< Tag, IntegerType > const &lhs, IntWrapper< Tag, IntegerType > const &rhs)