Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::NeighborItemPrinter Class Reference
Collaboration diagram for Arcane::NeighborItemPrinter:

Public Member Functions

 NeighborItemPrinter (Item item, const Integer levelmax=1)
void print (std::ostream &o) const
 Write to stream of the current Item and its sub-items.

Static Private Member Functions

static std::ostream & indent (std::ostream &o, Integer n)
static void print (std::ostream &o, Item item, Integer level, Integer levelmax)
static void _printSubItems (std::ostream &ostr, Integer level, Integer levelmax, ItemVectorView sub_items, const char *name)

Private Attributes

impl::ItemBase m_item
Integer m_level_max

Detailed Description

Definition at line 122 of file ItemPrinter.h.

Constructor & Destructor Documentation

◆ NeighborItemPrinter()

Arcane::NeighborItemPrinter::NeighborItemPrinter ( Item item,
const Integer levelmax = 1 )
inlineexplicit

Definition at line 126 of file ItemPrinter.h.

Member Function Documentation

◆ _printSubItems()

void Arcane::NeighborItemPrinter::_printSubItems ( std::ostream & ostr,
Integer level,
Integer levelmax,
ItemVectorView sub_items,
const char * name )
staticprivate

Definition at line 117 of file ItemPrinter.cc.

◆ indent()

std::ostream & Arcane::NeighborItemPrinter::indent ( std::ostream & o,
Integer n )
staticprivate

Definition at line 163 of file ItemPrinter.cc.

◆ print() [1/2]

void Arcane::NeighborItemPrinter::print ( std::ostream & o) const
inline

Write to stream of the current Item and its sub-items.

Definition at line 132 of file ItemPrinter.h.

References print().

Referenced by print().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print() [2/2]

void Arcane::NeighborItemPrinter::print ( std::ostream & o,
Item item,
Integer level,
Integer levelmax )
staticprivate

Definition at line 132 of file ItemPrinter.cc.

Member Data Documentation

◆ m_item

impl::ItemBase Arcane::NeighborItemPrinter::m_item
private

Definition at line 136 of file ItemPrinter.h.

◆ m_level_max

Integer Arcane::NeighborItemPrinter::m_level_max
private

Definition at line 137 of file ItemPrinter.h.


The documentation for this class was generated from the following files: