Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ColumnList Class Reference

List of all members.

Public Member Functions

 this (int[] columns)
void reset ()
int getWidth ()
int next ()

Private Attributes

int index
int[] columns
bool rightAlign

Detailed Description

A list of columns for the ColumnWriter to utilize.

Definition at line 216 of file ColumnWriter.d.


Member Function Documentation

this int[]  columns  )  [inline]
 

Construct a ColumnList via an array of integers.

Definition at line 229 of file ColumnWriter.d.

void reset  )  [inline]
 

Start returning columns from the beginning.

Definition at line 243 of file ColumnWriter.d.

Referenced by ColumnWriter::reset().

int getWidth  )  [inline]
 

Return width of the current column

Definition at line 254 of file ColumnWriter.d.

References rightAlign.

Referenced by ColumnWriter::getWidth().

int next  )  [inline]
 

Returns next column in the sequence. Assume that we'll be invoked (quasi-legally) when there's no more columns left.

Definition at line 276 of file ColumnWriter.d.

Referenced by ColumnWriter::pad().


Member Data Documentation

int index [private]
 

Definition at line 218 of file ColumnWriter.d.

int [] columns [private]
 

Definition at line 219 of file ColumnWriter.d.

bool rightAlign [private]
 

Definition at line 221 of file ColumnWriter.d.

Referenced by getWidth().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:00 2004 for Mango by doxygen 1.3.6