Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 213 of file ColumnWriter.d.


Member Function Documentation

this int[]  columns  )  [inline]
 

Construct a ColumnList via an array of integers.

Definition at line 226 of file ColumnWriter.d.

References assert(), and columns.

void reset  )  [inline]
 

Start returning columns from the beginning.

Definition at line 240 of file ColumnWriter.d.

References index.

Referenced by ColumnWriter::reset().

int getWidth  )  [inline]
 

Return width of the current column

Definition at line 251 of file ColumnWriter.d.

References columns, index, and 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 273 of file ColumnWriter.d.

References columns, and index.

Referenced by ColumnWriter::pad().


Member Data Documentation

int index [private]
 

Definition at line 215 of file ColumnWriter.d.

Referenced by getWidth(), next(), and reset().

int [] columns [private]
 

Definition at line 216 of file ColumnWriter.d.

Referenced by getWidth(), next(), and this().

bool rightAlign [private]
 

Definition at line 218 of file ColumnWriter.d.

Referenced by getWidth().


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 10:59:50 2005 for Mango by  doxygen 1.4.0