Public Member Functions | Friends

ForIA::MessageBox Class Reference

#include <MessageBox.hh>

List of all members.

Public Member Functions

 MessageBox (const string &title)
 MessageBox ()
MessageBoxsetTitle (const string &title)
MessageBoxaddEntry (const string &leftCol, const vector< string > &rightCol)
MessageBoxaddEntry (const string &leftCol, const string &rightCol)
template<typename T >
MessageBoxaddEntry (const string &leftCol, const T &val)
int width () const
const string & title () const
MessageBoxsetWidth (unsigned int newWidth)

Friends

std::ostream & operator<< (std::ostream &out, const MessageBox &box)

Detailed Description

Definition at line 16 of file MessageBox.hh.


Constructor & Destructor Documentation

ForIA::MessageBox::MessageBox ( const string &  title )

Definition at line 11 of file MessageBox.cxx.

ForIA::MessageBox::MessageBox (  )

Definition at line 7 of file MessageBox.cxx.


Member Function Documentation

MessageBox & ForIA::MessageBox::addEntry ( const string &  leftCol,
const vector< string > &  rightCol 
)

Definition at line 38 of file MessageBox.cxx.

template<typename T >
MessageBox& ForIA::MessageBox::addEntry ( const string &  leftCol,
const T &  val 
) [inline]

Definition at line 28 of file MessageBox.hh.

MessageBox & ForIA::MessageBox::addEntry ( const string &  leftCol,
const string &  rightCol 
)

Definition at line 31 of file MessageBox.cxx.

MessageBox & ForIA::MessageBox::setTitle ( const string &  title )

Definition at line 15 of file MessageBox.cxx.

MessageBox & ForIA::MessageBox::setWidth ( unsigned int  newWidth )

Definition at line 23 of file MessageBox.cxx.

const string & ForIA::MessageBox::title (  ) const

Definition at line 90 of file MessageBox.cxx.

int ForIA::MessageBox::width (  ) const

Definition at line 86 of file MessageBox.cxx.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const MessageBox box 
) [friend]

Definition at line 94 of file MessageBox.cxx.


The documentation for this class was generated from the following files: