dtUtil::IsSpace Class Reference

A functor which tests if a character is whitespace. More...

#include <stringutils.h>

List of all members.

Public Member Functions

 IsSpace (const std::locale &loc=std::locale("en_US.UTF-8"))
const std::locale & GetLocale () const
bool operator() (char c) const


Detailed Description

A functor which tests if a character is whitespace.

This "predicate" needed to have 'state', the locale member.


Constructor & Destructor Documentation

dtUtil::IsSpace::IsSpace ( const std::locale &  loc = std::locale("en_US.UTF-8")  )  [inline]


Member Function Documentation

const std::locale& dtUtil::IsSpace::GetLocale (  )  const [inline]

bool dtUtil::IsSpace::operator() ( char  c  )  const [inline]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008