Public Member Functions | Private Attributes | List of all members
cet::HorizontalRule Class Reference

#include <HorizontalRule.h>

Public Member Functions

constexpr HorizontalRule (std::size_t const w)
 
auto operator() (char const fill) const
 

Private Attributes

std::size_t const w_
 

Detailed Description

Definition at line 18 of file HorizontalRule.h.

Constructor & Destructor Documentation

constexpr cet::HorizontalRule::HorizontalRule ( std::size_t const  w)
inlineexplicit

Definition at line 20 of file HorizontalRule.h.

20 : w_{w} {}
std::size_t const w_

Member Function Documentation

auto cet::HorizontalRule::operator() ( char const  fill) const
inline

Definition at line 22 of file HorizontalRule.h.

23  {
24  return std::string(w_, fill);
25  }
std::string string
Definition: nybbler.cc:12
std::size_t const w_
def fill(s)
Definition: translator.py:93

Member Data Documentation

std::size_t const cet::HorizontalRule::w_
private

Definition at line 28 of file HorizontalRule.h.


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