Jpp  15.0.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
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. More...
 

Public Attributes

int width
 

Friends

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

Detailed Description

Auxiliary data structure for alignment of data.

Definition at line 296 of file JManip.hh.

Constructor & Destructor Documentation

RIGHT::RIGHT ( const int  width)
inline

Constructor.

Parameters
widthwidth

Definition at line 304 of file JManip.hh.

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

Friends And Related Function Documentation

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

int WIDTH::width
inherited

Definition at line 257 of file JManip.hh.


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