FormatOutput Class Reference

Format output in a similar way to the phaser Output class, but just return as a string. More...

#include <string_util.hh>

List of all members.

Static Public Member Functions

static std::string logTab (const int &tab, const std::string &text)
 just add leading tabs to string and newline if not there already
static std::string logTabPrintf (const int &tab, const char *formattext,...)
 format using sstringf
static std::string logWarning (const std::string &text)
 just add newline if not there already

Detailed Description

Format output in a similar way to the phaser Output class, but just return as a string.


Member Function Documentation

std::string FormatOutput::logTab ( const int &  tab,
const std::string &  text 
) [static]

just add leading tabs to string and newline if not there already

usually redundant

std::string FormatOutput::logTabPrintf ( const int &  tab,
const char *  formattext,
  ... 
) [static]

format using sstringf

format using vsstringf


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends
Generated on Tue Mar 1 11:22:28 2011 for Pointless by  doxygen 1.6.3