activemq-cpp-3.6.0
decaf::internal::util::StringUtils Class Reference

#include <src/main/decaf/internal/util/StringUtils.h>

Public Member Functions

virtual ~StringUtils ()

Static Public Member Functions

static int compareIgnoreCase (const char *left, const char *right)
 Perform a comparison between two strings using natural ordering and ignoring case.
static int compare (const char *left, const char *right)
 Perform a comparison between two strings using natural ordering case is not ignored here, so two otherwise equal string will not match if case differes.

Constructor & Destructor Documentation

virtual decaf::internal::util::StringUtils::~StringUtils ( )
inlinevirtual

Member Function Documentation

static int decaf::internal::util::StringUtils::compare ( const char *  left,
const char *  right 
)
static

Perform a comparison between two strings using natural ordering case is not ignored here, so two otherwise equal string will not match if case differes.

Parameters
leftThe left-hand string of the comparison.
rightThe right-hand string of the comparison.
Returns
a negative integer, zero, or a positive integer as the specified string is greater than, equal to, or less than this String, ignoring case considerations.
static int decaf::internal::util::StringUtils::compareIgnoreCase ( const char *  left,
const char *  right 
)
static

Perform a comparison between two strings using natural ordering and ignoring case.

Parameters
leftThe left-hand string of the comparison.
rightThe right-hand string of the comparison.
Returns
a negative integer, zero, or a positive integer as the specified string is greater than, equal to, or less than this String, ignoring case considerations.

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