https://mooseframework.inl.gov
Functions
Attributes.C File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, Interfaces &iface)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
Interfaces iface 
)

Definition at line 40 of file Attributes.C.

41 {
42  os << "Interfaces(";
43  if (static_cast<bool>(iface & Interfaces::UserObject))
44  os << "|UserObject";
45  if (static_cast<bool>(iface & Interfaces::ElementUserObject))
46  os << "|ElementUserObject";
47  if (static_cast<bool>(iface & Interfaces::SideUserObject))
48  os << "|SideUserObject";
49  if (static_cast<bool>(iface & Interfaces::InternalSideUserObject))
50  os << "|InternalSideUserObject";
51  if (static_cast<bool>(iface & Interfaces::NodalUserObject))
52  os << "|NodalUserObject";
53  if (static_cast<bool>(iface & Interfaces::GeneralUserObject))
54  os << "|GeneralUserObject";
55  if (static_cast<bool>(iface & Interfaces::ThreadedGeneralUserObject))
56  os << "|ThreadedGeneralUserObject";
57  if (static_cast<bool>(iface & Interfaces::ShapeElementUserObject))
58  os << "|ShapeElementUserObject";
59  if (static_cast<bool>(iface & Interfaces::ShapeSideUserObject))
60  os << "|ShapeSideUserObject";
61  if (static_cast<bool>(iface & Interfaces::Postprocessor))
62  os << "|Postprocessor";
63  if (static_cast<bool>(iface & Interfaces::VectorPostprocessor))
64  os << "|VectorPostprocessor";
65  if (static_cast<bool>(iface & Interfaces::InterfaceUserObject))
66  os << "|InterfaceUserObject";
67  if (static_cast<bool>(iface & Interfaces::Reporter))
68  os << "|Reporter";
69  if (static_cast<bool>(iface & Interfaces::DomainUserObject))
70  os << "|DomainUserObject";
71  if (static_cast<bool>(iface & Interfaces::MortarUserObject))
72  os << "|MortarUserObject";
73  if (static_cast<bool>(iface & Interfaces::FVInterpolationMethod))
74  os << "|FVInterpolationMethod";
75  os << ")";
76  return os;
77 }
std::basic_ostream< charT, traits > * os
Definition: InfixIterator.h:34