Celeritas  0.5.0-86+4a8eea4
Classes | Functions
Label.hh File Reference
#include <cstddef>
#include <functional>
#include <iosfwd>
#include <string>
#include <utility>
#include "corecel/Config.hh"
#include "corecel/math/HashUtils.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::Label
 Helper class for managing volume and material labels. More...
 

Functions

bool celeritas::operator== (Label const &lhs, Label const &rhs)
 Test equality.
 
bool celeritas::operator!= (Label const &lhs, Label const &rhs)
 Test inequality.
 
bool celeritas::operator< (Label const &lhs, Label const &rhs)
 Less-than comparison for sorting.
 
std::ostream & celeritas::operator<< (std::ostream &os, Label const &lab)
 Write a label to a stream. More...
 
std::string celeritas::to_string (Label const &lab)
 Get the label as a string.
 

Function Documentation

◆ operator<<()

std::ostream & celeritas::operator<< ( std::ostream &  os,
Label const &  lab 
)

Write a label to a stream.

Todo:
account for os.width .