Concordia
TextUtils Class Reference

#include <text_utils.hpp>

Public Member Functions

 TextUtils ()
 
std::string toLowerCase (const std::string &text)
 
std::string toUpperCase (const std::string &text)
 

Static Public Member Functions

static TextUtilsgetInstance ()
 

Detailed Description

Utility class for performing simple string operations.

Constructor & Destructor Documentation

TextUtils::TextUtils ( )

Constructor

Member Function Documentation

static TextUtils& TextUtils::getInstance ( )
inlinestatic

Method for ensuring singleton.

Here is the caller graph for this function:

std::string TextUtils::toLowerCase ( const std::string &  text)

A method for converting all string letters to lower case.

Parameters
textinput string
Returns
lower case version of the input string.

Here is the caller graph for this function:

std::string TextUtils::toUpperCase ( const std::string &  text)

A method for converting all string letters to upper case.

Parameters
textinput string
Returns
upper case version of the input string.

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