Jpp  19.1.0-rc.1
the software that should make you happy
Public Member Functions | Public Attributes | Friends | List of all members
LEFT Struct Reference

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

#include <JManip.hh>

Inheritance diagram for LEFT:
WIDTH

Public Member Functions

 LEFT (const int width)
 Constructor. More...
 

Public Attributes

int width
 

Friends

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

Detailed Description

Auxiliary data structure for alignment of data.

Definition at line 264 of file JManip.hh.

Constructor & Destructor Documentation

◆ LEFT()

LEFT::LEFT ( const int  width)
inline

Constructor.

Parameters
widthwidth

Definition at line 272 of file JManip.hh.

272  :
273  WIDTH(width)
274  {}
int width
Definition: JManip.hh:257
WIDTH(const int width)
Constructor.
Definition: JManip.hh:237

Friends And Related Function Documentation

◆ operator<<

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

Format specifier.

Parameters
outoutput stream
formatformat
Returns
output stream

Definition at line 284 of file JManip.hh.

285  {
286  using namespace std;
287 
288  return out << setw(format.width) << left;
289  }
Definition: JSTDTypes.hh:14

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: