Flutter Engine
std Namespace Reference

Classes

struct  hash< fml::RefPtr< T > >
 
struct  hash< impeller::DepthAttachmentDescriptor >
 
struct  hash< impeller::Font::Metrics >
 
struct  hash< impeller::Glyph >
 
struct  hash< impeller::StencilAttachmentDescriptor >
 
struct  hash< impeller::UniqueID >
 
struct  less< impeller::Glyph >
 
struct  less< impeller::UniqueID >
 

Functions

std::ostream & operator<< (std::ostream &out, const impeller::Color &c)
 
std::ostream & operator<< (std::ostream &out, const impeller::Matrix &m)
 
template<class T >
std::ostream & operator<< (std::ostream &out, const impeller::TPoint< T > &p)
 
std::ostream & operator<< (std::ostream &out, const impeller::Quaternion &q)
 
template<class T >
std::ostream & operator<< (std::ostream &out, const impeller::TRect< T > &r)
 
template<class T >
std::ostream & operator<< (std::ostream &out, const impeller::TSize< T > &s)
 
std::ostream & operator<< (std::ostream &out, const impeller::HandleGLES &handle)
 

Function Documentation

◆ operator<<() [1/7]

std::ostream& std::operator<< ( std::ostream &  out,
const impeller::HandleGLES handle 
)
inline

Definition at line 75 of file handle_gles.h.

References impeller::HandleTypeToString(), impeller::HandleGLES::IsDead(), impeller::HandleGLES::name, and impeller::HandleGLES::type.

76  {
77  out << HandleTypeToString(handle.type) << "(";
78  if (handle.IsDead()) {
79  out << "DEAD";
80  } else {
81  out << handle.name.value().id;
82  }
83  out << ")";
84  return out;
85 }
std::string HandleTypeToString(HandleType type)
Definition: handle_gles.cc:11
constexpr bool IsDead() const
Definition: handle_gles.h:42
std::optional< UniqueID > name
Definition: handle_gles.h:36

◆ operator<<() [2/7]

std::ostream& std::operator<< ( std::ostream &  out,
const impeller::Quaternion q 
)
inline

Definition at line 84 of file quaternion.h.

References impeller::Quaternion::w, impeller::Quaternion::x, impeller::Quaternion::y, and impeller::Quaternion::z.

85  {
86  out << "(" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")";
87  return out;
88 }

◆ operator<<() [3/7]

template<class T >
std::ostream& std::operator<< ( std::ostream &  out,
const impeller::TSize< T > &  s 
)
inline

Definition at line 119 of file size.h.

References impeller::TSize< T >::height, and impeller::TSize< T >::width.

120  {
121  out << "(" << s.width << ", " << s.height << ")";
122  return out;
123 }
Type width
Definition: size.h:21
Type height
Definition: size.h:22

◆ operator<<() [4/7]

template<class T >
std::ostream& std::operator<< ( std::ostream &  out,
const impeller::TRect< T > &  r 
)
inline

Definition at line 201 of file rect.h.

References impeller::TRect< T >::origin, and impeller::TRect< T >::size.

202  {
203  out << "(" << r.origin << ", " << r.size << ")";
204  return out;
205 }
TPoint< Type > origin
Definition: rect.h:23
TSize< Type > size
Definition: rect.h:24

◆ operator<<() [5/7]

template<class T >
std::ostream& std::operator<< ( std::ostream &  out,
const impeller::TPoint< T > &  p 
)
inline

Definition at line 295 of file point.h.

References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.

296  {
297  out << "(" << p.x << ", " << p.y << ")";
298  return out;
299 }

◆ operator<<() [6/7]

std::ostream& std::operator<< ( std::ostream &  out,
const impeller::Matrix m 
)
inline

Definition at line 340 of file matrix.h.

References impeller::Matrix::e.

340  {
341  out << "(";
342  for (size_t i = 0; i < 4u; i++) {
343  for (size_t j = 0; j < 4u; j++) {
344  out << m.e[i][j] << ",";
345  }
346  out << std::endl;
347  }
348  out << ")";
349  return out;
350 }
Scalar e[4][4]
Definition: matrix.h:37

◆ operator<<() [7/7]

std::ostream& std::operator<< ( std::ostream &  out,
const impeller::Color c 
)
inline

Definition at line 701 of file color.h.

References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.

701  {
702  out << "(" << c.red << ", " << c.green << ", " << c.blue << ", " << c.alpha
703  << ")";
704  return out;
705 }
Scalar red
Definition: color.h:23
Scalar blue
Definition: color.h:33
Scalar green
Definition: color.h:28
Scalar alpha
Definition: color.h:38