Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
WIDTH Struct Reference

Auxiliary data structure for alignment of data. More...

#include <JManip.hh>

Inheritance diagram for WIDTH:
CENTER CENTER::JCenter FILL LEFT RIGHT SCIENTIFIC FIXED

Public Member Functions

 WIDTH (const int width)
 Constructor.
 

Public Attributes

int width
 

Friends

std::ostream & operator<< (std::ostream &out, const WIDTH &format)
 Format specifier.
 

Detailed Description

Auxiliary data structure for alignment of data.

Definition at line 231 of file JManip.hh.

Constructor & Destructor Documentation

◆ WIDTH()

WIDTH::WIDTH ( const int width)
inline

Constructor.

Parameters
widthwidth

Definition at line 237 of file JManip.hh.

238 {
239 this->width = width;
240 }
int width
Definition JManip.hh:257

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const WIDTH & format )
friend

Format specifier.

Parameters
outoutput stream
formatformat
Returns
output stream

Definition at line 250 of file JManip.hh.

251 {
252 using namespace std;
253
254 return out << setw(format.width);
255 }

Member Data Documentation

◆ width

int WIDTH::width

Definition at line 257 of file JManip.hh.


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