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

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

#include <JManip.hh>

Inheritance diagram for RIGHT:
WIDTH

Public Member Functions

 RIGHT (const int width)
 Constructor.
 

Public Attributes

int width
 

Friends

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

Detailed Description

Auxiliary data structure for alignment of data.

Definition at line 296 of file JManip.hh.

Constructor & Destructor Documentation

◆ RIGHT()

RIGHT::RIGHT ( const int width)
inline

Constructor.

Parameters
widthwidth

Definition at line 304 of file JManip.hh.

304 :
305 WIDTH(width)
306 {}
static const int WIDTH
int width
Definition JManip.hh:257

Friends And Related Symbol Documentation

◆ operator<<

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

Format specifier.

Parameters
outoutput stream
formatformat
Returns
output stream

Definition at line 316 of file JManip.hh.

317 {
318 using namespace std;
319
320 return out << setw(format.width) << right;
321 }

Member Data Documentation

◆ width

int WIDTH::width
inherited

Definition at line 257 of file JManip.hh.


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