www.mooseframework.org
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 39 of file Attributes.C.

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