OW_NAMESPACE::String Class Reference

This String class is an abstract data type that represents as NULL terminated string of characters. More...

#include <OW_String.hpp>

Collaboration diagram for OW_NAMESPACE::String:

Collaboration graph
[legend]
List of all members.

Public Types

typedef COWIntrusiveReference<
ByteBuf
buf_t
enum  ETakeOwnershipFlag { E_TAKE_OWNERSHIP }
enum  EReturnDelimitersFlag { E_DISCARD_TOKENS, E_RETURN_TOKENS, E_DISCARD_DELIMITERS, E_RETURN_DELIMITERS }
enum  EEmptyTokenReturnFlag { E_SKIP_EMPTY_TOKENS, E_RETURN_EMPTY_TOKENS }
enum  EIgnoreCaseFlag { E_CASE_SENSITIVE, E_CASE_INSENSITIVE }

Public Member Functions

 String ()
 Create a new String object with a length of 0.
 String (Int32 val)
 Create a new String object that will hold the string representation of the given Int32 value.
 String (UInt32 val)
 Create a new String object that will hold the string representation of the given UInt32 value.
 String (long val)
 Create a new String object that will hold the string representation of the given long value.
 String (unsigned long val)
 Create a new String object that will hold the string representation of the given unsigned long value.
 String (Int64 val)
 Create a new String object that will hold the string representation of the given Int64 value.
 String (UInt64 val)
 Create a new String object that will hold the string representation of the given UInt64 value.
 String (Real32 val)
 Create a new String object that will hold the string representation of the given Real32 value.
 String (Real64 val)
 Create a new String object that will hold the string representation of the given Real64 value.
 String (const char *str)
 Create a new String object that will contain a copy of the given character string.
 String (const Char16Array &ra)
 DEPRECATED in 3.1.0.
 String (Bool parm)
 DEPRECATED in favor of Bool::toString() in 3.1.0.
 String (const Char16 &parm)
 DEPRECATED in favor of Char16::toString() in 3.1.0.
 String (const CIMDateTime &parm)
 DEPRECATED in favor of CIMDateTime::toString() in 3.1.0.
 String (const CIMObjectPath &parm)
 DEPRECATED in favor of CIMObjectPath::toString() in 3.1.0.
 String (ETakeOwnershipFlag, char *allocatedMemory, size_t len)
 Create a new string object from a dynamically allocated buffer.
 String (const char *str, size_t len)
 Create s new String object that will contain a copy of the given character string for the given length.
 String (const String &arg)
 Create a new String object that is a copy of another String object.
 String (char c)
 Create a new String object that contains a single character.
 ~String ()
 Destroy this String object.
void swap (String &x)
 Swap this instance with another.
char * allocateCString () const
 Create a null terminated string that contains the contents of this String.
size_t length () const
size_t UTF8Length () const
 If the string is not valid UTF-8, then the result of this function is undefined.
bool empty () const
int format (const char *fmt,...)
 Format this string according to the given format and variable argument list (printf style).
StringArray tokenize (const char *delims=" \n\r\t\v", EReturnDelimitersFlag returnDelimitersAsTokens=E_DISCARD_DELIMITERS, EEmptyTokenReturnFlag returnEmptyTokens=E_SKIP_EMPTY_TOKENS) const
 Tokenize this String object using the given delimeters.
const char * c_str () const
const char * getBytes () const
 DEPRECATED in favor of c_str() in 3.1.0.
char charAt (size_t ndx) const
 Get the character at a specified index.
int compareTo (const String &arg) const
 Compare another String object with this one.
int compareTo (const char *arg) const
 Compare another string with this one.
int compareToIgnoreCase (const String &arg) const
 Compare another string with this one ignoring case.
int compareToIgnoreCase (const char *arg) const
 Compare another string with this one ignoring case.
Stringconcat (const char *arg)
 Append a C string to this String object.
Stringconcat (const String &arg)
 Append another String object to this String object.
Stringconcat (char arg)
 Append a char to this String object.
bool endsWith (const char *arg, EIgnoreCaseFlag ignoreCase=E_CASE_SENSITIVE) const
 Determine if this String object ends with given C string.
bool endsWith (const String &arg, EIgnoreCaseFlag ignoreCase=E_CASE_SENSITIVE) const
 Determine if this String object ends with the same string represented by another String object.
bool endsWith (char arg) const
 Determine if this String object ends with a given character.
bool equals (const String &arg) const
 Determine if another String object is equal to this String object.
bool equals (const char *arg) const
 Determine if another string is equal to this String object.
bool equalsIgnoreCase (const String &arg) const
 Determine if another String object is equal to this String object, ignoring case in the comparision.
bool equalsIgnoreCase (const char *arg) const
 Determine if another string is equal to this String object, ignoring case in the comparision.
UInt32 hashCode () const
size_t indexOf (char ch, size_t fromIndex=0) const
 Find the first occurence of a given character in this String object.
size_t indexOf (const char *arg, size_t fromIndex=0) const
 Find the first occurence of a C string in this String object.
size_t indexOf (const String &arg, size_t fromIndex=0) const
 Find the first occurence of a string in this String object.
size_t lastIndexOf (char ch, size_t fromIndex=npos) const
 Find the last occurence of a character in this String object.
size_t lastIndexOf (const char *arg, size_t fromIndex=npos) const
 Find the last occurence of a C string in this String object.
size_t lastIndexOf (const String &arg, size_t fromIndex=npos) const
 Find the last occurence of a string in this String object.
bool startsWith (const char *arg, EIgnoreCaseFlag ignoreCase=E_CASE_SENSITIVE) const
 Determine if this String object starts with a given substring.
bool startsWith (const String &arg, EIgnoreCaseFlag ignoreCase=E_CASE_SENSITIVE) const
 Determine if this String object starts with a given substring.
bool startsWith (char arg) const
 Determine if this String object starts with a given character.
String substring (size_t beginIndex, size_t length=npos) const
 Create another String object that is comprised of a substring of this String object.
bool isSpaces () const
StringtoLowerCase ()
 Convert this String object to lower case characters.
StringtoUpperCase ()
 Convert this String object to upper case characters.
Stringltrim ()
 Strip all leading space characters from this String object.
Stringrtrim ()
 Strip all trailing space characters from this String object.
Stringtrim ()
 Strip all leading and trailing space characters from this String object.
Stringerase ()
 Delete all the characters of the string.
Stringerase (size_t idx, size_t len=npos)
 Erases, at most, len characters of *this, starting at index idx.
Stringoperator= (const String &arg)
 Assignment operator.
const char & operator[] (size_t ndx) const
 Operator [].
char & operator[] (size_t ndx)
Stringoperator+= (const String &arg)
 Concatination operator.
Stringoperator+= (const char *arg)
 Concatination operator.
Stringoperator+= (char arg)
 Character concatination operator.
void readObject (std::istream &istrm)
 Read this String object from the given istream.
void writeObject (std::ostream &ostrm) const
 Write this String object to the given ostream.
String toString () const
Char16 toChar16 () const
 DEPRECATED in favor of Char16::Char16(const String&) in 3.1.0.
Real32 toReal32 () const
Real64 toReal64 () const
bool toBool () const
UInt8 toUInt8 (int base=10) const
Int8 toInt8 (int base=10) const
UInt16 toUInt16 (int base=10) const
Int16 toInt16 (int base=10) const
UInt32 toUInt32 (int base=10) const
Int32 toInt32 (int base=10) const
UInt64 toUInt64 (int base=10) const
Int64 toInt64 (int base=10) const
unsigned int toUnsignedInt (int base=10) const
int toInt (int base=10) const
CIMDateTime toDateTime () const
 DEPRECATED in favor of CIMDateTime::CIMDateTime(const String&) in 3.1.0.

Static Public Member Functions

static unsigned long long int strtoull (const char *nptr, char **endptr, int base)
 Convert a null terminated string to an unsigned 64 bit value.
static long long int strtoll (const char *nptr, char **endptr, int base)
 Convert a null terminated string to an signed 64 bit value.
static const char * strchr (const char *theStr, int c)
 Find the first occurrence of a character in a null terminated string.
static String getLine (std::istream &istr)
 Reads from in input stream until a newline is encountered.

Static Public Attributes

static const size_t npos = size_t(~0)

Private Attributes

buf_t m_buf

Classes

class  ByteBuf

Detailed Description

This String class is an abstract data type that represents as NULL terminated string of characters.

String objects are ref counted and copy on write. Internal representation is UTF-8. Conversion to/from Char16 (UCS-2) is performed correctly. All operations that return/take an offset are based on the character array as if this were an ASCII string. The class does not enforce or maintain the integrity of any UTF-8 chars. length() returns the size in bytes of the string. Use UTF8Length() to get the number of chars in the string.

Definition at line 63 of file OW_String.hpp.


Member Typedef Documentation

typedef COWIntrusiveReference<ByteBuf> OW_NAMESPACE::String::buf_t
 

Definition at line 752 of file OW_String.hpp.


Member Enumeration Documentation

enum OW_NAMESPACE::String::EEmptyTokenReturnFlag
 

Enumerator:
E_SKIP_EMPTY_TOKENS 
E_RETURN_EMPTY_TOKENS 

Definition at line 252 of file OW_String.hpp.

enum OW_NAMESPACE::String::EIgnoreCaseFlag
 

Enumerator:
E_CASE_SENSITIVE 
E_CASE_INSENSITIVE 

Definition at line 345 of file OW_String.hpp.

enum OW_NAMESPACE::String::EReturnDelimitersFlag
 

Enumerator:
E_DISCARD_TOKENS 
E_RETURN_TOKENS 
E_DISCARD_DELIMITERS 
E_RETURN_DELIMITERS 

Definition at line 245 of file OW_String.hpp.

enum OW_NAMESPACE::String::ETakeOwnershipFlag
 

Enumerator:
E_TAKE_OWNERSHIP 

Definition at line 171 of file OW_String.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::String::String  ) 
 

Create a new String object with a length of 0.

Definition at line 137 of file OW_String.cpp.

Referenced by substring(), tokenize(), and trim().

OW_NAMESPACE::String::String Int32  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given Int32 value.

Parameters:
val The 32 bit value this String will hold the string representation of.

Definition at line 155 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), and m_buf.

OW_NAMESPACE::String::String UInt32  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given UInt32 value.

Parameters:
val The 32 bit value this String will hold the string representation of.

Definition at line 165 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), and m_buf.

OW_NAMESPACE::String::String long  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given long value.

Parameters:
val The long value this String will hold the string representation of.

Definition at line 176 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), and m_buf.

OW_NAMESPACE::String::String unsigned long  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given unsigned long value.

Parameters:
val The unsigned long value this String will hold the string representation of.

Definition at line 186 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), and m_buf.

OW_NAMESPACE::String::String Int64  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given Int64 value.

Parameters:
val The 64 bit value this String will hold the string representation of.

Definition at line 200 of file OW_String.cpp.

References OW_NAMESPACE::OStringStream::c_str(), and m_buf.

OW_NAMESPACE::String::String UInt64  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given UInt64 value.

Parameters:
val The 64 bit value this String will hold the string representation of.

Definition at line 208 of file OW_String.cpp.

References OW_NAMESPACE::OStringStream::c_str(), and m_buf.

OW_NAMESPACE::String::String Real32  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given Real32 value.

Parameters:
val The real value this String will hold the string representation of.

Definition at line 225 of file OW_String.cpp.

References m_buf, and SNPRINTF.

OW_NAMESPACE::String::String Real64  val  )  [explicit]
 

Create a new String object that will hold the string representation of the given Real64 value.

Parameters:
val The real value this String will hold the string representation of.

Definition at line 241 of file OW_String.cpp.

References m_buf, and SNPRINTF.

OW_NAMESPACE::String::String const char *  str  ) 
 

Create a new String object that will contain a copy of the given character string.

Parameters:
str The null terminated string to make a copy of.

Definition at line 257 of file OW_String.cpp.

References m_buf.

OW_NAMESPACE::String::String const Char16Array ra  )  [explicit]
 

DEPRECATED in 3.1.0.

Create a new String object that will contain a single byte character representation of the Char16Array.

Parameters:
ra The Char16Array to use to construct the string

Definition at line 306 of file OW_String.cpp.

References i, m_buf, OW_NAMESPACE::Array< T >::size(), and toString().

OW_NAMESPACE::String::String Bool  parm  )  [explicit]
 

DEPRECATED in favor of Bool::toString() in 3.1.0.

Create a new String object that will contain the representation of a Bool value ("TRUE" "FALSE").

Parameters:
parm The Bool value this string will represent.

Definition at line 142 of file OW_String.cpp.

OW_NAMESPACE::String::String const Char16 parm  )  [explicit]
 

DEPRECATED in favor of Char16::toString() in 3.1.0.

Create a new String object that will contain the representation of an Char16 object

Parameters:
parm The Char16 object this string will represent.

Definition at line 147 of file OW_String.cpp.

OW_NAMESPACE::String::String const CIMDateTime parm  )  [explicit]
 

DEPRECATED in favor of CIMDateTime::toString() in 3.1.0.

Create a new String object that will contain the representation of an CIMDateTime object

Parameters:
parm the CIMDateTime object this string will represent.

Definition at line 292 of file OW_String.cpp.

References m_buf, s, and OW_NAMESPACE::CIMDateTime::toString().

OW_NAMESPACE::String::String const CIMObjectPath parm  )  [explicit]
 

DEPRECATED in favor of CIMObjectPath::toString() in 3.1.0.

Create a new String object that will contain the representation of an CIMObjectPath object.

Parameters:
parm the CIMObject path object this string will represent.

Definition at line 299 of file OW_String.cpp.

References m_buf, s, and OW_NAMESPACE::CIMObjectPath::toString().

OW_NAMESPACE::String::String ETakeOwnershipFlag  ,
char *  allocatedMemory,
size_t  len
[explicit]
 

Create a new string object from a dynamically allocated buffer.

The buffer is assumed to contain a valid c string and be previously allocated with the new operator. The memory given by the allocatedMemory parameter will be deallocated by the String class.

Parameters:
takeOwnerShipTag This parm is not used. It is here to differentiate this constructor from the others.
allocatedMemory The dynamically allocated string that will be used by this String. Must not be NULL.
len The length of the string allocatedMemory.

Definition at line 263 of file OW_String.cpp.

References m_buf, and OW_ASSERT.

OW_NAMESPACE::String::String const char *  str,
size_t  len
[explicit]
 

Create s new String object that will contain a copy of the given character string for the given length.

Parameters:
str The character array to copy from.
len The number of bytes to copy from the str param.

Definition at line 271 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), and m_buf.

OW_NAMESPACE::String::String const String arg  ) 
 

Create a new String object that is a copy of another String object.

Upon return, both String objects will point to the same underlying character buffer. This state will remain until one of the 2 String objects is modified (copy on write)

Parameters:
arg The String object to make a copy of.

Definition at line 287 of file OW_String.cpp.

OW_NAMESPACE::String::String char  c  )  [explicit]
 

Create a new String object that contains a single character.

Parameters:
c The character that this string will contain.

Definition at line 325 of file OW_String.cpp.

References m_buf.

OW_NAMESPACE::String::~String  ) 
 

Destroy this String object.

Definition at line 341 of file OW_String.cpp.


Member Function Documentation

char * OW_NAMESPACE::String::allocateCString  )  const
 

Create a null terminated string that contains the contents of this String.

The returned pointer MUST be deleted by the caller using free().

Returns:
A pointer to the newly allocated buffer that contains the contents of this String object.

Definition at line 352 of file OW_String.cpp.

References c_str(), and length().

Referenced by OW_NAMESPACE::NPIPolledProviderProxy::activateFilter(), and OW_NAMESPACE::NPIPolledProviderProxy::deactivateFilter().

const char * OW_NAMESPACE::String::c_str  )  const
 

Returns:
The c string representation of this String object. This will be a null terminated character array.

Definition at line 914 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMRepository2::_commonAssociators(), OW_NAMESPACE::CIMRepository::_commonAssociators(), OW_NAMESPACE::CIMRepository2::_commonReferences(), OW_NAMESPACE::CIMRepository::_commonReferences(), OW_NAMESPACE::PerlIndicationProviderProxy::activateFilter(), OW_NAMESPACE::NPIIndicationProviderProxy::activateFilter(), OW_NAMESPACE::CMPIIndicationProviderProxy::activateFilter(), OW_NAMESPACE::AssocDb::addEntry(), OW_NAMESPACE::CIMProperty::addQualifier(), OW_NAMESPACE::HDBHandle::addRootNode(), OW_NAMESPACE::MetaRepository::adjustClass(), allocateCString(), OW_NAMESPACE::StringBuffer::append(), OW_NAMESPACE::PerlAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::NPIAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::CMPIAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::PerlAssociatorProviderProxy::associators(), OW_NAMESPACE::NPIAssociatorProviderProxy::associators(), OW_NAMESPACE::CMPIAssociatorProviderProxy::associators(), OW_NAMESPACE::PerlIndicationProviderProxy::authorizeFilter(), OW_NAMESPACE::NPIIndicationProviderProxy::authorizeFilter(), OW_NAMESPACE::CMPIIndicationProviderProxy::authorizeFilter(), OW_NAMESPACE::HTTPUtils::base64Decode(), OW_NAMESPACE::HTTPUtils::base64Encode(), OW_NAMESPACE::FileSystem::canRead(), OW_NAMESPACE::FileSystem::canWrite(), OW_NAMESPACE::FileSystem::changeDirectory(), OW_NAMESPACE::FileSystem::changeFileOwner(), OW_NAMESPACE::Char16::Char16(), OW_NAMESPACE::checkError(), OW_NAMESPACE::HDB::checkFile(), OW_NAMESPACE::AssocDb::checkFile(), OW_NAMESPACE::HTTPChunkedIStream::checkForError(), OW_NAMESPACE::CIMRepository2::checkGetClassRvalAndThrow(), OW_NAMESPACE::CIMRepository::checkGetClassRvalAndThrow(), OW_NAMESPACE::CIMRepository2::checkGetClassRvalAndThrowInst(), OW_NAMESPACE::CIMRepository::checkGetClassRvalAndThrowInst(), OW_NAMESPACE::CIMDateTime::CIMDateTime(), OW_NAMESPACE::CmdLineParser::CmdLineParser(), compareTo(), compareToIgnoreCase(), OW_NAMESPACE::MOF::Compiler::compile(), OW_NAMESPACE::MOF::Compiler::compileString(), concat(), OW_NAMESPACE::MetaRepository::createClass(), OW_NAMESPACE::InstanceRepository::createClass(), OW_NAMESPACE::FileSystem::createFile(), OW_NAMESPACE::LocalAuthenticationCommon::createFile(), OW_NAMESPACE::HDB::createFile(), OW_NAMESPACE::AssocDb::createFile(), OW_NAMESPACE::InstanceRepository::createInstance(), OW_NAMESPACE::createRootNode(), OW_NAMESPACE::WQLImpl::createSelectStatement(), OW_NAMESPACE::PerlIndicationProviderProxy::deActivateFilter(), OW_NAMESPACE::NPIIndicationProviderProxy::deActivateFilter(), OW_NAMESPACE::CMPIIndicationProviderProxy::deActivateFilter(), OW_NAMESPACE::AssocDb::deleteEntry(), OW_NAMESPACE::InstanceRepository::deleteInstance(), OW_NAMESPACE::FileAppender::doProcessLogMessage(), endsWith(), OW_NAMESPACE::MetaRepository::enumClass(), OW_NAMESPACE::MetaRepository::enumClassNames(), OW_NAMESPACE::MetaRepository::enumQualifierTypes(), equals(), equalsIgnoreCase(), OW_NAMESPACE::CIMObjectPath::escape(), OW_NAMESPACE::WQLImpl::evaluate(), OW_NAMESPACE::FileSystem::exists(), OW_NAMESPACE::FileAppender::FileAppender(), OW_NAMESPACE::AssocDb::findEntry(), OW_NAMESPACE::dbDatabase::get(), OW_NAMESPACE::SocketAddress::getByName(), OW_NAMESPACE::InstanceRepository::getCIMInstance(), OW_NAMESPACE::FileSystem::getFileContents(), OW_NAMESPACE::FileSystem::getFileSize(), OW_NAMESPACE::CppSimpleInstanceProviderIFC::getInstance(), OW_NAMESPACE::CIMObjectPath::getKeyT(), OW_NAMESPACE::HDBHandle::getNode(), OW_NAMESPACE::GetPass::getPass(), OW_NAMESPACE::CIMServer::getProperty(), OW_NAMESPACE::CIMRepository2::getProperty(), OW_NAMESPACE::CIMRepository::getProperty(), OW_NAMESPACE::CIMInstance::getPropertyT(), OW_NAMESPACE::CIMProperty::getQualifierT(), OW_NAMESPACE::MetaRepository::getQualifierType(), OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(), OW_NAMESPACE::OperationContext::getStringData(), OW_NAMESPACE::MetaRepository::getTopLevelAssociations(), OW_NAMESPACE::SocketAddress::getUDS(), OW_NAMESPACE::UserUtils::getUserId(), indexOf(), OW_NAMESPACE::LocalAuthenticationCommon::initializeDir(), OW_NAMESPACE::PerlMethodProviderProxy::invokeMethod(), OW_NAMESPACE::NPIMethodProviderProxy::invokeMethod(), OW_NAMESPACE::CMPIMethodProviderProxy::invokeMethod(), OW_NAMESPACE::FileSystem::isDirectory(), OW_NAMESPACE::FileSystem::isExecutable(), OW_NAMESPACE::FileSystem::isLink(), OW_NAMESPACE::IStringStreamBuf::IStringStreamBuf(), lastIndexOf(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::CppProviderIFC::loadProviders(), OW_NAMESPACE::dlSharedLibraryLoader::loadSharedLibrary(), OW_NAMESPACE::FileSystem::makeDirectory(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::mapNeedsLoad(), mbExtResolveFileName(), OW_NAMESPACE::InstanceRepository::modifyInstance(), OW_NAMESPACE::PerlIndicationProviderProxy::mustPoll(), OW_NAMESPACE::NPIIndicationProviderProxy::mustPoll(), OW_NAMESPACE::CMPIIndicationProviderProxy::mustPoll(), OW_NAMESPACE::NwIface::NwIface(), OW_NAMESPACE::TmpFileImpl::open(), OW_NAMESPACE::GenericHDBRepository::open(), OW_NAMESPACE::CIMRepository2::open(), OW_NAMESPACE::AssocDb2::open(), OW_NAMESPACE::FileSystem::openFile(), OW_NAMESPACE::IndexImpl::openIfClosed(), OW_NAMESPACE::FileSystem::openOrCreateFile(), OW_NAMESPACE::operator<<(), OW_NAMESPACE::operator==(), OW_NAMESPACE::dbDatabase::put(), OW_NAMESPACE::randFilePathIsSecure(), OW_NAMESPACE::SocketBaseImpl::read(), OW_NAMESPACE::FileSystem::readSymbolicLink(), OW_NAMESPACE::FileSystem::Path::realPath(), OW_NAMESPACE::PerlAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::NPIAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::CMPIAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::PerlAssociatorProviderProxy::references(), OW_NAMESPACE::NPIAssociatorProviderProxy::references(), OW_NAMESPACE::CMPIAssociatorProviderProxy::references(), OW_NAMESPACE::FileSystem::removeDirectory(), OW_NAMESPACE::FileSystem::removeFile(), OW_NAMESPACE::HDBHandle::removeNode(), OW_NAMESPACE::FileSystem::renameFile(), OW_NAMESPACE::IndexImpl::reopen(), OW_NAMESPACE::runHelper(), OW_NAMESPACE::Exec::safePopen(), OW_NAMESPACE::HTTPClient::sendAuthorization(), OW_NAMESPACE::CIMNameSpace::setNameSpace(), OW_NAMESPACE::CIMServer::setProperty(), OW_NAMESPACE::CIMRepository2::setProperty(), OW_NAMESPACE::CIMRepository::setProperty(), OW_NAMESPACE::EnvVars::setVar(), startsWith(), OW_NAMESPACE::String_repr(), OW_NAMESPACE::StringBuffer::StringBuffer(), OW_NAMESPACE::NwIface::stringToAddress(), OW_NAMESPACE::UTF8Utils::StringToUCS2Common(), OW_NAMESPACE::TmpFileImpl::TmpFileImpl(), toBool(), toChar16(), OW_NAMESPACE::CIMObjectPath::unEscape(), OW_NAMESPACE::HTTPUtils::unescapeForURL(), OW_NAMESPACE::MD5::update(), UTF8Length(), OW_NAMESPACE::UUID::UUID(), OW_NAMESPACE::SocketBaseImpl::write(), OW_NAMESPACE::UnnamedPipe::writeString(), and OW_NAMESPACE::XMLEscape().

char OW_NAMESPACE::String::charAt size_t  ndx  )  const
 

Get the character at a specified index.

Parameters:
ndx The index of the character to return within the char array.
Returns:
The character at the given index within the array. If the index is out of bounds, then a 0 is returned.

Definition at line 406 of file OW_String.cpp.

References m_buf.

int OW_NAMESPACE::String::compareTo const char *  arg  )  const
 

Compare another string with this one.

Parameters:
arg The string to compare with this one.
Returns:
0 if this String object is equal to arg. Greater than 0 if this String object is greater than arg. Less than 0 if this String object is less than arg.

Definition at line 412 of file OW_String.cpp.

References m_buf.

int OW_NAMESPACE::String::compareTo const String arg  )  const
 

Compare another String object with this one.

Parameters:
arg The String object to compare with this one.
Returns:
0 if this String object is equal to arg. Greater than 0 if this String object is greater than arg. Less than 0 if this String object is less than arg.

Definition at line 423 of file OW_String.cpp.

References c_str().

Referenced by equals(), OW_NAMESPACE::operator!=(), OW_NAMESPACE::operator<(), OW_NAMESPACE::operator<=(), OW_NAMESPACE::operator==(), OW_NAMESPACE::operator>(), and OW_NAMESPACE::operator>=().

int OW_NAMESPACE::String::compareToIgnoreCase const char *  arg  )  const
 

Compare another string with this one ignoring case.

Parameters:
arg The string to compare with this one.
Returns:
0 if this String object is equal to arg. Greater than 0 if this String object is greater than arg. Less than 0 if this String object is less than arg.

Definition at line 429 of file OW_String.cpp.

References OW_NAMESPACE::UTF8Utils::compareToIgnoreCase(), and m_buf.

int OW_NAMESPACE::String::compareToIgnoreCase const String arg  )  const
 

Compare another string with this one ignoring case.

Parameters:
arg The string to compare with this one.
Returns:
0 if this String object is equal to arg. Greater than 0 if this String object is greater than arg. Less than 0 if this String object is less than arg.

Definition at line 440 of file OW_String.cpp.

References c_str().

Referenced by equalsIgnoreCase(), and OW_NAMESPACE::operator<().

String & OW_NAMESPACE::String::concat char  arg  ) 
 

Append a char to this String object.

Parameters:
arg The char to append to this String object.
Returns:
A reference to this String object.

Definition at line 466 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), length(), and m_buf.

String& OW_NAMESPACE::String::concat const String arg  )  [inline]
 

Append another String object to this String object.

Parameters:
arg The String object to append to this String object.
Returns:
A reference to this String object.

Definition at line 334 of file OW_String.hpp.

References c_str().

String & OW_NAMESPACE::String::concat const char *  arg  ) 
 

Append a C string to this String object.

Parameters:
arg The C string to append to this String object.
Returns:
A reference to this String object.

Definition at line 447 of file OW_String.cpp.

References length(), and m_buf.

Referenced by OW_NAMESPACE::String_append().

bool OW_NAMESPACE::String::empty  )  const [inline]
 

Returns:
True if empty string, false otherwise

Definition at line 235 of file OW_String.hpp.

Referenced by OW_NAMESPACE::CIMOMEnvironment::_createAuthorizerManager(), OW_NAMESPACE::EmbeddedCIMOMEnvironment::_createLogger(), OW_NAMESPACE::CIMOMEnvironment::_createLogger(), OW_NAMESPACE::CIMRepository2::_getAssociationClasses(), OW_NAMESPACE::MetaRepository::_getQualContainer(), OW_NAMESPACE::CIMOMEnvironment::_loadAuthorizer(), OW_NAMESPACE::MetaRepository2::_makeClassPath(), OW_NAMESPACE::MetaRepository2::_makeQualPath(), OW_NAMESPACE::HDBHandle::addChild(), OW_NAMESPACE::SessionLanguage::addContentLanguage(), OW_NAMESPACE::HTTPUtils::addHeader(), OW_NAMESPACE::HTTPChunkedOStream::addTrailer(), OW_NAMESPACE::PerlAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::NPIAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::CMPIAssociatorProviderProxy::associatorNames(), OW_NAMESPACE::CIMXMLCIMOMHandle::associatorNames(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::associators(), OW_NAMESPACE::PerlAssociatorProviderProxy::associators(), OW_NAMESPACE::NPIAssociatorProviderProxy::associators(), OW_NAMESPACE::CIMXMLCIMOMHandle::associatorsCommon(), OW_NAMESPACE::LocalAuthentication::authenticate(), OW_NAMESPACE::HTTPServer::authenticate(), OW_NAMESPACE::DigestAuthentication::authenticate(), OW_NAMESPACE::HTTPChunkedIStream::checkForError(), OW_NAMESPACE::CIMInstancePathtoXML(), OW_NAMESPACE::CIMInstancetoXML(), OW_NAMESPACE::CIMNameSpace::CIMNameSpace(), OW_NAMESPACE::MOF::CIMOMVisitor::CIMOMgetQualifierType(), OW_NAMESPACE::MOF::CIMOMVisitor::CIMOMprocessClass(), OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::MOF::CIMOMVisitor::compileDep(), OW_NAMESPACE::MOF::CIMOMVisitor::compileQuals(), OW_NAMESPACE::MetaRepository2::createNameSpace(), OW_NAMESPACE::GenericHDBRepository::createNameSpace(), OW_NAMESPACE::CIMRepository::createNameSpace(), OW_NAMESPACE::XMLCIMFactory::createProperty(), OW_NAMESPACE::IndicationServerImplThread::createSubscription(), OW_NAMESPACE::CIMRepository::deleteNameSpace(), OW_NAMESPACE::DigestAuthentication::DigestAuthentication(), OW_NAMESPACE::LinuxPAMAuthentication::doAuthenticate(), OW_NAMESPACE::ListenerAuthenticator::doAuthenticate(), OW_NAMESPACE::LinuxPAMAuthenticationCL::doAuthenticate(), OW_NAMESPACE::AIXAuthentication::doAuthenticate(), OW_NAMESPACE::BinaryRequestHandler::doProcess(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::doReferences(), OW_NAMESPACE::Format::Format(), OW_NAMESPACE::Param::getArgValue(), OW_NAMESPACE::ProviderAgentProviderEnvironment::getCIMOMHandle(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::getConfigFile(), OW_NAMESPACE::HTTPClient::getCredentialsIfNecessary(), OW_NAMESPACE::CIMDataType::getDataType(), OW_NAMESPACE::RequestHandlerIFC::getHost(), OW_NAMESPACE::BinaryRequestHandler::getInstance(), OW_NAMESPACE::GenericHDBRepository::getNameSpaceNode(), OW_NAMESPACE::HDBHandle::getNode(), OW_NAMESPACE::XMLExecute::getParameters(), OW_NAMESPACE::HTTPClient::getStatusLine(), OW_NAMESPACE::HDBNode::HDBNode(), OW_NAMESPACE::HTTPXMLCIMListener::HTTPXMLCIMListener(), OW_NAMESPACE::HTTPServer::init(), OW_NAMESPACE::CIMName::isValid(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::dlSharedLibraryLoader::loadSharedLibrary(), OW_NAMESPACE::LocalCIMNameSpacetoXML(), OW_NAMESPACE::logOperation(), OW_NAMESPACE::InstanceRepository2::makeClassKey(), OW_NAMESPACE::CIMObjectPath::parse(), OW_NAMESPACE::HTTPSvrConnection::processHeaders(), OW_NAMESPACE::Logger::processLogMessage(), OW_NAMESPACE::XMLQualifier::processScope(), OW_NAMESPACE::randFilePathIsSecure(), OW_NAMESPACE::SocketBaseImpl::read(), OW_NAMESPACE::HTTPClient::receiveAuthentication(), OW_NAMESPACE::PerlAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::NPIAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::CMPIAssociatorProviderProxy::referenceNames(), OW_NAMESPACE::CIMXMLCIMOMHandle::referenceNames(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::references(), OW_NAMESPACE::PerlAssociatorProviderProxy::references(), OW_NAMESPACE::NPIAssociatorProviderProxy::references(), OW_NAMESPACE::CIMXMLCIMOMHandle::referencesCommon(), OW_NAMESPACE::HDBHandle::removeNode(), OW_NAMESPACE::HTTPClient::sendAuthorization(), OW_NAMESPACE::HTTPClient::setUrl(), tokenize(), OW_NAMESPACE::URL::toString(), OW_NAMESPACE::URL::URL(), OW_NAMESPACE::valueToXML(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitAliasIdentifier(), OW_NAMESPACE::WQLRemoveStringEscapes(), and OW_NAMESPACE::SocketBaseImpl::write().

bool OW_NAMESPACE::String::endsWith char  arg  )  const
 

Determine if this String object ends with a given character.

Parameters:
arg The character to test for.
Returns:
true if this String ends with the given character. Otherwise return false.

Definition at line 483 of file OW_String.cpp.

References m_buf.

bool OW_NAMESPACE::String::endsWith const String arg,
EIgnoreCaseFlag  ignoreCase = E_CASE_SENSITIVE
const [inline]
 

Determine if this String object ends with the same string represented by another String object.

Parameters:
arg The String object to search the end of this String object for.
ignoreCase If true, character case will be ignored.
Returns:
true if this String ends with the given String. Otherwise return false.

Definition at line 369 of file OW_String.hpp.

References c_str().

bool OW_NAMESPACE::String::endsWith const char *  arg,
EIgnoreCaseFlag  ignoreCase = E_CASE_SENSITIVE
const
 

Determine if this String object ends with given C string.

Parameters:
arg The C string object to search the end of this String object for.
ignoreCase If true, character case will be ignored.
Returns:
true if this String ends with the given String. Otherwise return false.

Definition at line 492 of file OW_String.cpp.

References OW_NAMESPACE::UTF8Utils::compareToIgnoreCase(), length(), and m_buf.

Referenced by OW_NAMESPACE::CIMOMEnvironment::_createIndicationServer(), and OW_NAMESPACE::FileSystem::getDirectoryContents().

bool OW_NAMESPACE::String::equals const char *  arg  )  const
 

Determine if another string is equal to this String object.

Parameters:
arg The string to check this String object against for equality.
Returns:
true if this String object is equal to the given String object. Otherwise return false.

Definition at line 516 of file OW_String.cpp.

References compareTo().

bool OW_NAMESPACE::String::equals const String arg  )  const
 

Determine if another String object is equal to this String object.

Parameters:
arg The String object to check this String object against for equality.
Returns:
true if this String object is equal to the given String object. Otherwise return false.

Definition at line 522 of file OW_String.cpp.

References c_str().

Referenced by OW_NAMESPACE::ClientCIMOMHandle::createFromURL(), OW_NAMESPACE::decodeLongMonth(), OW_NAMESPACE::AssocDb::deleteEntry(), OW_NAMESPACE::GenericHDBRepository::deleteNameSpace(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::AssocDb::findEntry(), OW_NAMESPACE::XMLCIMFactory::isKnownEmbeddedObjectName(), OW_NAMESPACE::operator==(), and OW_NAMESPACE::HTTPClient::sendDataToServer().

bool OW_NAMESPACE::String::equalsIgnoreCase const char *  arg  )  const
 

Determine if another string is equal to this String object, ignoring case in the comparision.

Parameters:
arg The string to check this String object against for equality.
Returns:
true if this String object is equal to the given String object. Otherwise return false.

Definition at line 528 of file OW_String.cpp.

References compareToIgnoreCase().

bool OW_NAMESPACE::String::equalsIgnoreCase const String arg  )  const
 

Determine if another String object is equal to this String object, ignoring case in the comparision.

Parameters:
arg The String object to check this String object against for equality.
Returns:
true if this String object is equal to the given String object. Otherwise return false.

Definition at line 534 of file OW_String.cpp.

References c_str().

Referenced by OW_NAMESPACE::CIMOMEnvironment::_createIndicationServer(), OW_NAMESPACE::EmbeddedCIMOMEnvironment::_createLogger(), OW_NAMESPACE::CIMOMEnvironment::_createLogger(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::associatorNames(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::associators(), OW_NAMESPACE::CIMOMLocator::createCIMOMLocator(), OW_NAMESPACE::HTTPUtils::DigestCalcHA1(), OW_NAMESPACE::HTTPUtils::DigestCalcResponse(), OW_NAMESPACE::CIMServer::enumInstances(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::WQLProcessor::filterInstancesOnPropertyValue(), OW_NAMESPACE::ProviderManager::getInstanceProvider(), OW_NAMESPACE::ProviderManager::getProviderIFC(), OW_NAMESPACE::HTTPServer::init(), OW_NAMESPACE::operator==(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::referenceNames(), OW_NAMESPACE::CIM_NamespaceInManagerInstProv::references(), OW_NAMESPACE::Logger::setLogLevel(), OW_NAMESPACE::WQLImpl::supportsQueryLanguage(), toBool(), OW_NAMESPACE::WQLProcessor::visit_aExpr_aExpr_EQUALS_aExpr(), OW_NAMESPACE::WQLProcessor::visit_aExpr_aExpr_ISA_aExpr(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitAssocDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitClassDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitIndicDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitInstanceDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitMethodDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitParameterDataType(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitParameterObjectRef(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitPropertyDeclaration(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitReferenceDeclaration(), and OW_NAMESPACE::MOF::CIMOMVisitor::VisitValueInitializer().

String & OW_NAMESPACE::String::erase size_t  idx,
size_t  len = npos
 

Erases, at most, len characters of *this, starting at index idx.

if len == npos, erase to the end of the string.

Returns:
A referernce to this object.

Definition at line 840 of file OW_String.cpp.

References length(), npos, and substring().

String & OW_NAMESPACE::String::erase  ) 
 

Delete all the characters of the string.

Thus, the string is empty after the call.

Returns:
A referernce to this object.

Definition at line 833 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::WQLSelectStatement::clear(), OW_NAMESPACE::RequestHandlerIFC::clearError(), OW_NAMESPACE::createFileHelper(), OW_NAMESPACE::BinaryRequestHandler::doOptions(), OW_NAMESPACE::HTTPClient::getFeatures(), OW_NAMESPACE::getKeyValue(), OW_NAMESPACE::ListenerAuthenticator::getNewCredentials(), OW_NAMESPACE::Format::process(), and OW_NAMESPACE::HTTPSvrConnection::run().

int OW_NAMESPACE::String::format const char *  fmt,
  ...
 

Format this string according to the given format and variable argument list (printf style).

Parameters:
fmt The format to use during the operation
... A variable argument list to be applied to the format
Returns:
The length of the string after the operation on success. npos on error.

Definition at line 376 of file OW_String.cpp.

References OW_NAMESPACE::AutoPtrVec< X >::get(), length(), and m_buf.

Referenced by OW_NAMESPACE::DigestAuthentication::generateNewNonce(), and OW_NAMESPACE::HTTPClient::sendAuthorization().

const char* OW_NAMESPACE::String::getBytes  )  const [inline]
 

DEPRECATED in favor of c_str() in 3.1.0.

Returns:
A pointer to the underlying character buffer. Identical to c_str.

Definition at line 282 of file OW_String.hpp.

static String OW_NAMESPACE::String::getLine std::istream &  istr  )  [static]
 

Reads from in input stream until a newline is encountered.

This consumes the newline character (but doesn't put the newline in the return value), and leaves the file pointer at the char past the newline.

Returns:
an String containing the line.

Referenced by OW_NAMESPACE::HTTPUtils::buildMap(), OW_NAMESPACE::HTTPClient::getStatusLine(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::HTTPUtils::parseHeader(), and OW_NAMESPACE::HTTPClient::sendAuthorization().

UInt32 OW_NAMESPACE::String::hashCode  )  const
 

Returns:
a 32 bit hashcode of this String object.

Definition at line 540 of file OW_String.cpp.

References i, length(), and m_buf.

size_t OW_NAMESPACE::String::indexOf const String arg,
size_t  fromIndex = 0
const [inline]
 

Find the first occurence of a string in this String object.

Parameters:
arg The string to search for.
fromIndex The index to start the search from.
Returns:
The index of the given string in the underlying array if it was found. npos if the string was not found at or after the fromIndex.

Definition at line 444 of file OW_String.hpp.

References c_str().

size_t OW_NAMESPACE::String::indexOf const char *  arg,
size_t  fromIndex = 0
const
 

Find the first occurence of a C string in this String object.

Parameters:
arg The C string to search for.
fromIndex The index to start the search from.
Returns:
The index of the given string in the underlying array if it was found. npos if the string was not found at or after the fromIndex.

Definition at line 582 of file OW_String.cpp.

References length(), m_buf, and npos.

size_t OW_NAMESPACE::String::indexOf char  ch,
size_t  fromIndex = 0
const
 

Find the first occurence of a given character in this String object.

Parameters:
ch The character to search for.
fromIndex The index to start the search from.
Returns:
The index of the given character in the underlying array if it was found. npos if the character was not found at or after the given fromIndex.

Definition at line 561 of file OW_String.cpp.

References length(), m_buf, npos, and strchr().

Referenced by OW_NAMESPACE::NameSpaceProvider::createInstance(), OW_NAMESPACE::HTTPUtils::decodeBasicCreds(), OW_NAMESPACE::SocketAddress::getAnyLocalHost(), OW_NAMESPACE::getAuthParam(), OW_NAMESPACE::HTTPClient::getFeatures(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::parseInfo(), OW_NAMESPACE::HTTPClient::processHeaders(), OW_NAMESPACE::ListenerAuthenticator::removeCredentials(), and OW_NAMESPACE::URL::URL().

bool OW_NAMESPACE::String::isSpaces  )  const
 

Returns:
true if this String object contains nothing but space characters.

Definition at line 738 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::HTTPUtils::buildMap(), and OW_NAMESPACE::HTTPUtils::parseHeader().

size_t OW_NAMESPACE::String::lastIndexOf const String arg,
size_t  fromIndex = npos
const [inline]
 

Find the last occurence of a string in this String object.

Parameters:
arg The string to search for.
fromIndex The index to start the search from.
Returns:
The index of the last occurence of the string in the underlying array if it was found. npos if the this String does not contain the given substring before the fromIndex.

Definition at line 475 of file OW_String.hpp.

References c_str().

size_t OW_NAMESPACE::String::lastIndexOf const char *  arg,
size_t  fromIndex = npos
const
 

Find the last occurence of a C string in this String object.

Parameters:
arg The C string to search for.
fromIndex The index to start the search from.
Returns:
The index of the last occurence of the string in the underlying array if it was found. npos if the this String does not contain the given substring before the fromIndex.

Definition at line 635 of file OW_String.cpp.

References length(), m_buf, and npos.

size_t OW_NAMESPACE::String::lastIndexOf char  ch,
size_t  fromIndex = npos
const
 

Find the last occurence of a character in this String object.

Parameters:
ch The character to search for.
fromIndex The index to start the search from.
Returns:
The index of the last occurence of the given character in the underlying array if it was found. npos if this String object does not contain the character before the given fromIndex.

Definition at line 608 of file OW_String.cpp.

References i, length(), m_buf, and npos.

Referenced by OW_NAMESPACE::cleanupEntryHelper(), OW_NAMESPACE::MOF::Compiler::compile(), OW_NAMESPACE::CIMNameSpaceUtils::create__Namespace(), OW_NAMESPACE::CIMNameSpaceUtils::delete__Namespace(), OW_NAMESPACE::FileSystem::Path::dirname(), OW_NAMESPACE::CppProviderIFC::loadProvider(), and OW_NAMESPACE::randFilePathIsSecure().

size_t OW_NAMESPACE::String::length  )  const
 

Returns:
The number of bytes in this String.

Definition at line 361 of file OW_String.cpp.

References m_buf.

Referenced by allocateCString(), OW_NAMESPACE::StringBuffer::append(), OW_NAMESPACE::HTTPUtils::base64Encode(), OW_NAMESPACE::HTTPUtils::buildMap(), OW_NAMESPACE::CmdLineParser::CmdLineParser(), OW_NAMESPACE::MOF::Compiler::compileString(), concat(), OW_NAMESPACE::LocalAuthenticationCommon::createFile(), OW_NAMESPACE::createFileHelper(), OW_NAMESPACE::createRootNode(), OW_NAMESPACE::DateTime::DateTime(), OW_NAMESPACE::FileSystem::Path::dirname(), OW_NAMESPACE::FileAppender::doProcessLogMessage(), endsWith(), erase(), OW_NAMESPACE::CIMObjectPath::escape(), OW_NAMESPACE::HTTPUtils::escapeForURL(), OW_NAMESPACE::EnvVars::fillEnvMap(), OW_NAMESPACE::MOF::Compiler::fixParsedString(), format(), OW_NAMESPACE::dbDatabase::get(), OW_NAMESPACE::getAuthParam(), OW_NAMESPACE::HTTPClient::getFeatures(), OW_NAMESPACE::getTimeZoneOffset(), OW_NAMESPACE::SocketAddress::getUDS(), hashCode(), indexOf(), OW_NAMESPACE::IStringStreamBuf::IStringStreamBuf(), lastIndexOf(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::CppProviderIFC::loadProvider(), OW_NAMESPACE::TmpFileImpl::open(), OW_NAMESPACE::operator<<(), operator[](), OW_NAMESPACE::CIMNameSpaceUtils::prepareNamespace(), OW_NAMESPACE::Format::process(), OW_NAMESPACE::HTTPClient::processHeaders(), OW_NAMESPACE::dbDatabase::put(), rtrim(), OW_NAMESPACE::runHelper(), OW_NAMESPACE::Exec::safePopen(), OW_NAMESPACE::EnvVars::setVar(), startsWith(), OW_NAMESPACE::String_count(), OW_NAMESPACE::String_delitem_(), OW_NAMESPACE::String_getitem_(), OW_NAMESPACE::String_getslice(), OW_NAMESPACE::String_index(), OW_NAMESPACE::String_insert(), OW_NAMESPACE::String_pop(), OW_NAMESPACE::String_repr(), OW_NAMESPACE::String_reverse(), OW_NAMESPACE::String_setitem_(), OW_NAMESPACE::String_sort(), OW_NAMESPACE::UTF8Utils::StringToUCS2Common(), substring(), OW_NAMESPACE::TmpFileImpl::TmpFileImpl(), trim(), OW_NAMESPACE::CIMObjectPath::unEscape(), OW_NAMESPACE::HTTPUtils::unescapeForURL(), OW_NAMESPACE::MD5::update(), OW_NAMESPACE::UUID::UUID(), OW_NAMESPACE::UnnamedPipe::writeString(), and OW_NAMESPACE::XMLEscape().

String & OW_NAMESPACE::String::ltrim  ) 
 

Strip all leading space characters from this String object.

Returns:
A reference to this String object after the operation has taken place.

Definition at line 753 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::HTTPUtils::buildMap().

String& OW_NAMESPACE::String::operator+= char  arg  )  [inline]
 

Character concatination operator.

Parameters:
arg The character to append to the end of this String.
Returns:
A reference to this String object after the concatination has taken place.

Definition at line 604 of file OW_String.hpp.

String& OW_NAMESPACE::String::operator+= const char *  arg  )  [inline]
 

Concatination operator.

Parameters:
arg The C string to append to the end of this String.
Returns:
A reference to this String object after the concatination has taken place.

Definition at line 597 of file OW_String.hpp.

String& OW_NAMESPACE::String::operator+= const String arg  )  [inline]
 

Concatination operator.

Parameters:
arg The String to append to the end of this String.
Returns:
A reference to this String object after the concatination has taken place.

Definition at line 590 of file OW_String.hpp.

String & OW_NAMESPACE::String::operator= const String arg  ) 
 

Assignment operator.

Parameters:
arg The String object to assign to this String.
Returns:
A reference to this String object after the assignment has taken place.

Definition at line 907 of file OW_String.cpp.

References m_buf.

char & OW_NAMESPACE::String::operator[] size_t  ndx  ) 
 

Definition at line 948 of file OW_String.cpp.

References length(), m_buf, and OW_ASSERT.

const char & OW_NAMESPACE::String::operator[] size_t  ndx  )  const
 

Operator [].

Parameters:
ndx The index of the character to retrieve from the underlying character array.
Returns:
The character at the given index within the underlying character array. If ndx is out of bounds, 0 is returned.

Definition at line 928 of file OW_String.cpp.

References length(), m_buf, and OW_ASSERT.

void OW_NAMESPACE::String::readObject std::istream &  istrm  ) 
 

Read this String object from the given istream.

An String must have been previously written to this location of the stream.

Parameters:
istrm The input stream to read this String from.
Exceptions:
IOException 

Referenced by OW_NAMESPACE::MetaRepository::_getClassNameFromNode(), OW_NAMESPACE::BinarySerialization::read(), OW_NAMESPACE::CIMName::readObject(), OW_NAMESPACE::readReal32Value(), OW_NAMESPACE::readReal64Value(), and OW_NAMESPACE::BinarySerialization::readString().

String & OW_NAMESPACE::String::rtrim  ) 
 

Strip all trailing space characters from this String object.

Returns:
A reference to this String object after the operation has taken place.

Definition at line 773 of file OW_String.cpp.

References length(), and m_buf.

Referenced by OW_NAMESPACE::HTTPUtils::buildMap().

bool OW_NAMESPACE::String::startsWith char  arg  )  const
 

Determine if this String object starts with a given character.

Parameters:
arg The character to test for.
Returns:
true if this String object starts with the given character. Otherwise false.

Definition at line 668 of file OW_String.cpp.

References m_buf.

bool OW_NAMESPACE::String::startsWith const String arg,
EIgnoreCaseFlag  ignoreCase = E_CASE_SENSITIVE
const [inline]
 

Determine if this String object starts with a given substring.

Parameters:
arg The String object to search the beginning of this String object for.
ignoreCase If true, case of the characters will be ignored.
Returns:
true if this String object starts with the given string. Otherwise false.

Definition at line 497 of file OW_String.hpp.

References c_str().

bool OW_NAMESPACE::String::startsWith const char *  arg,
EIgnoreCaseFlag  ignoreCase = E_CASE_SENSITIVE
const
 

Determine if this String object starts with a given substring.

Parameters:
arg The String object to search the beginning of this String object for.
ignoreCase If true, case of the characters will be ignored.
Returns:
true if this String object starts with the given string. Otherwise false.

Definition at line 677 of file OW_String.cpp.

References length(), m_buf, and OW_NAMESPACE::strncmpi().

Referenced by OW_NAMESPACE::ClientCIMOMHandle::createFromURL(), and OW_NAMESPACE::CmdLineParserException::~CmdLineParserException().

const char * OW_NAMESPACE::String::strchr const char *  theStr,
int  c
[static]
 

Find the first occurrence of a character in a null terminated string.

Parameters:
theStr The string to search for the given character.
c The character to to search for.
Returns:
a pointer to the first occurrence of the character c in the string theStr if found. Otherwise a NULL pointer.

Definition at line 1529 of file OW_String.cpp.

Referenced by indexOf(), tokenize(), and trim().

long long int OW_NAMESPACE::String::strtoll const char *  nptr,
char **  endptr,
int  base
[static]
 

Convert a null terminated string to an signed 64 bit value.

Parameters:
nptr A pointer to beginning of string to convert.
endptr If not NULL, this function stores the address of the 1st invalid character in *endptr.
base A number that specifies the base for the number pointed to by nptr.
Returns:
The signed 64 bit value of the number represented in string form pointed to by nptr.

Definition at line 1219 of file OW_String.cpp.

Referenced by OW_NAMESPACE::convertToInt64Type(), OW_NAMESPACE::WQLProcessor::visit_aExprConst_BITCONST(), and OW_NAMESPACE::WQLProcessor::visit_aExprConst_HEXCONST().

unsigned long long int OW_NAMESPACE::String::strtoull const char *  nptr,
char **  endptr,
int  base
[static]
 

Convert a null terminated string to an unsigned 64 bit value.

Parameters:
nptr A pointer to beginning of string to convert.
endptr If not NULL, this function stores the address of the 1st invalid character in *endptr.
base A number that specifies the base for the number pointed to by nptr.
Returns:
The unsigned 64 bit value of the number represented in string form pointed to by nptr.

Definition at line 1363 of file OW_String.cpp.

Referenced by OW_NAMESPACE::convertToUInt64Type().

String OW_NAMESPACE::String::substring size_t  beginIndex,
size_t  length = npos
const
 

Create another String object that is comprised of a substring of this String object.

Parameters:
beginIndex The start index of the substring.
length The length of the substring to use.
Returns:
A new String object representing the substring of this String object.

Definition at line 707 of file OW_String.cpp.

References length(), m_buf, npos, and String().

Referenced by OW_NAMESPACE::cleanupEntryHelper(), OW_NAMESPACE::CmdLineParser::CmdLineParser(), OW_NAMESPACE::MOF::Compiler::compile(), OW_NAMESPACE::CIMNameSpaceUtils::create__Namespace(), OW_NAMESPACE::NameSpaceProvider::createInstance(), OW_NAMESPACE::HTTPUtils::decodeBasicCreds(), OW_NAMESPACE::CIMNameSpaceUtils::delete__Namespace(), OW_NAMESPACE::FileSystem::Path::dirname(), erase(), OW_NAMESPACE::LogMessagePatternFormatter::Converter::formatMessage(), OW_NAMESPACE::HTTPClient::getFeatures(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::CppProviderIFC::loadProvider(), OW_NAMESPACE::InstanceRepository2::makeClassKey(), OW_NAMESPACE::parseInfo(), OW_NAMESPACE::Format::process(), OW_NAMESPACE::HTTPClient::processHeaders(), OW_NAMESPACE::randFilePathIsSecure(), OW_NAMESPACE::ListenerAuthenticator::removeCredentials(), OW_NAMESPACE::String_insert(), OW_NAMESPACE::String_pop(), and OW_NAMESPACE::URL::URL().

void OW_NAMESPACE::String::swap String x  ) 
 

Swap this instance with another.

Definition at line 346 of file OW_String.cpp.

References m_buf, and OW_NAMESPACE::COWIntrusiveReference< T >::swap().

Referenced by OW_NAMESPACE::Logger::swap().

bool OW_NAMESPACE::String::toBool  )  const
 

Returns:
The boolean value of this String object. The string is assumed to be the value of "TRUE"/"FALSE" ignoring case.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1028 of file OW_String.cpp.

References c_str(), equalsIgnoreCase(), and OW_NAMESPACE::throwStringConversion().

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue().

Char16 OW_NAMESPACE::String::toChar16  )  const
 

DEPRECATED in favor of Char16::Char16(const String&) in 3.1.0.

Returns:
the Char16 value for this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 977 of file OW_String.cpp.

References c_str(), OW_NAMESPACE::throwStringConversion(), and UTF8Length().

CIMDateTime OW_NAMESPACE::String::toDateTime  )  const
 

DEPRECATED in favor of CIMDateTime::CIMDateTime(const String&) in 3.1.0.

Returns:
The CIMDateTime value of this String object.
Exceptions:
CIMDateTimeException if the string is not a valid CIMDateTime.

Definition at line 1156 of file OW_String.cpp.

int OW_NAMESPACE::String::toInt int  base = 10  )  const
 

Returns:
The int value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1150 of file OW_String.cpp.

References m_buf.

Int16 OW_NAMESPACE::String::toInt16 int  base = 10  )  const
 

Returns:
The Int16 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1114 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

Int32 OW_NAMESPACE::String::toInt32 int  base = 10  )  const
 

Returns:
The Int32 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1126 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::XMLCIMFactory::createParameter(), OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::SLPProvider::doSlpRegister(), OW_NAMESPACE::CppProviderIFC::doUnloadProviders(), OW_NAMESPACE::CMPIProviderIFC::doUnloadProviders(), OW_NAMESPACE::HTTPServer::init(), OW_NAMESPACE::HTTPClient::processHeaders(), OW_NAMESPACE::XMLCIMFactory::StringToType(), and OW_NAMESPACE::CIMOMEnvironment::unloadReqHandlers().

Int64 OW_NAMESPACE::String::toInt64 int  base = 10  )  const
 

Returns:
The Int64 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1138 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::HTTPSvrConnection::processHeaders(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

Int8 OW_NAMESPACE::String::toInt8 int  base = 10  )  const
 

Returns:
The Int8 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1102 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

StringArray OW_NAMESPACE::String::tokenize const char *  delims = " \n\r\t\v",
EReturnDelimitersFlag  returnDelimitersAsTokens = E_DISCARD_DELIMITERS,
EEmptyTokenReturnFlag  returnEmptyTokens = E_SKIP_EMPTY_TOKENS
const
 

Tokenize this String object using the given delimeters.

Parameters:
delims A pointer to a char array of delimeters that separate the tokens in this String object.
returnDelimitersAsTokens If this flag is E_RETURN_DELIMITERS, then the delimiter characters are also returned as tokens, otherwise the delimiters are removed.
returnEmptyTokens If this flag is E_RETURN_EMPTY_TOKENS, then two sequential delimiters will result in an empty token being returned.
Returns:
An StringArray that contains the tokens from this String object. If there are no tokens the StringArray will be empty.

Definition at line 1162 of file OW_String.cpp.

References OW_NAMESPACE::Array< T >::append(), E_RETURN_DELIMITERS, E_RETURN_EMPTY_TOKENS, E_RETURN_TOKENS, empty(), i, m_buf, strchr(), and String().

Referenced by OW_NAMESPACE::HTTPServer::authenticate(), OW_NAMESPACE::HTTPClient::checkAndExamineStatusLine(), OW_NAMESPACE::HTTPUtils::date(), OW_NAMESPACE::SyslogAppender::doProcessLogMessage(), OW_NAMESPACE::WQLInstancePropertySource::evaluateISA(), OW_NAMESPACE::FileSystem::getFileLines(), OW_NAMESPACE::WQLInstancePropertySource::getValue(), OW_NAMESPACE::locateInPath(), OW_NAMESPACE::HTTPUtils::parseHeader(), OW_NAMESPACE::parseInfo(), and OW_NAMESPACE::HTTPClient::receiveAuthentication().

String & OW_NAMESPACE::String::toLowerCase  ) 
 

Convert this String object to lower case characters.

Returns:
A reference to this String object after the conversion has taken place.

Definition at line 858 of file OW_String.cpp.

References m_buf, OW_NAMESPACE::UTF8Utils::toLowerCase(), and OW_NAMESPACE::UTF8Utils::toLowerCaseInPlace().

Referenced by OW_NAMESPACE::IndicationServerImplThread::_processIndication(), OW_NAMESPACE::UtilKeyArray::addElement(), OW_NAMESPACE::IndicationRepLayerMediator::addSubscription(), OW_NAMESPACE::HTTPServer::authenticate(), OW_NAMESPACE::MOF::CIMOMVisitor::CIMOMprocessQualifierType(), OW_NAMESPACE::MOF::CIMOMVisitor::compileDep(), OW_NAMESPACE::IndicationRepLayerMediator::deleteSubscription(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::doReferences(), OW_NAMESPACE::ProviderManager::findIndicationProviders(), OW_NAMESPACE::ProviderManager::getAssociatorProvider(), OW_NAMESPACE::ProviderAgentCIMOMHandle::getAssociatorProvider(), OW_NAMESPACE::MOF::CIMOMVisitor::getClass(), OW_NAMESPACE::HTTPUtils::getHeaderValue(), OW_NAMESPACE::ProviderManager::getIndicationProviders(), OW_NAMESPACE::ProviderManager::getInstanceProvider(), OW_NAMESPACE::ProviderAgentCIMOMHandle::getInstanceProvider(), OW_NAMESPACE::ProviderManager::getMethodProvider(), OW_NAMESPACE::ProviderAgentCIMOMHandle::getMethodProvider(), OW_NAMESPACE::MOF::CIMOMVisitor::getQualifierType(), OW_NAMESPACE::ProviderAgentCIMOMHandle::getSecondaryInstanceProvider(), OW_NAMESPACE::ProviderManager::getSecondaryInstanceProviders(), OW_NAMESPACE::HTTPUtils::headerHasKey(), OW_NAMESPACE::ProviderAgentCIMOMHandle::helperGetClass(), OW_NAMESPACE::XMLCIMFactory::isKnownEmbeddedObjectName(), OW_NAMESPACE::ProviderManager::isRestrictedNamespace(), OW_NAMESPACE::InstanceRepository::makeClassKey(), OW_NAMESPACE::AssocDbEntry2::makeKey(), OW_NAMESPACE::AssocDbEntry::makeKey(), OW_NAMESPACE::modelPath(), OW_NAMESPACE::objectPathAsKeyString(), OW_NAMESPACE::HTTPClient::receiveAuthentication(), OW_NAMESPACE::registerProviderInfo(), OW_NAMESPACE::UtilKeyArray::toString(), and OW_NAMESPACE::URL::URL().

Real32 OW_NAMESPACE::String::toReal32  )  const
 

Returns:
The Real32 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1008 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::readReal32Value(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

Real64 OW_NAMESPACE::String::toReal64  )  const
 

Returns:
The Real64 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1018 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::readReal64Value(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

String OW_NAMESPACE::String::toString  )  const
 

Returns:
A copy of this String object.

Definition at line 959 of file OW_String.cpp.

Referenced by OW_NAMESPACE::HTTPUtils::DigestCalcHA1(), OW_NAMESPACE::RemoteProviderInterface::doInit(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::CIMObjectPath::getClassName(), OW_NAMESPACE::CIMInstance::getClassName(), OW_NAMESPACE::HTTPUtils::getHeaderValue(), OW_NAMESPACE::CIMServer::getProperty(), OW_NAMESPACE::CIMProperty::getQualifierT(), OW_NAMESPACE::CIMClass::getSuperClass(), OW_NAMESPACE::HTTPUtils::headerHasKey(), OW_NAMESPACE::OpenWBEM_ObjectManagerInstProv::initialize(), OW_NAMESPACE::modelPath(), OW_NAMESPACE::operator<<(), OW_NAMESPACE::CIMServer::setProperty(), String(), OW_NAMESPACE::CIMValue::toString(), and OW_NAMESPACE::CIMParameter::toString().

UInt16 OW_NAMESPACE::String::toUInt16 int  base = 10  )  const
 

Returns:
The UInt16 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1108 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::LocalAuthenticationCommon::createFile(), OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::isUInt16(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

UInt32 OW_NAMESPACE::String::toUInt32 int  base = 10  )  const
 

Returns:
The UInt32 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1120 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::LocalAuthenticationCommon::createFile(), OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), OW_NAMESPACE::MetaRepository::init(), OW_NAMESPACE::MetaRepository2::MetaRepository2(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

UInt64 OW_NAMESPACE::String::toUInt64 int  base = 10  )  const
 

Returns:
The UInt64 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1132 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::HTTPClient::convertToFiniteStream(), OW_NAMESPACE::LocalAuthenticationCommon::createFile(), OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

UInt8 OW_NAMESPACE::String::toUInt8 int  base = 10  )  const
 

Returns:
The UInt8 value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1096 of file OW_String.cpp.

References m_buf.

Referenced by OW_NAMESPACE::CIMValue::CIMValueImpl::createSimpleValue(), and OW_NAMESPACE::XMLCIMFactory::StringToType().

unsigned int OW_NAMESPACE::String::toUnsignedInt int  base = 10  )  const
 

Returns:
The unsigned int value of this String object.
Exceptions:
StringConversionException if the conversion is impossible.

Definition at line 1144 of file OW_String.cpp.

References m_buf.

String & OW_NAMESPACE::String::toUpperCase  ) 
 

Convert this String object to upper case characters.

Returns:
A reference to this String object after the conversion has taken place.

Definition at line 872 of file OW_String.cpp.

References m_buf, OW_NAMESPACE::UTF8Utils::toUpperCase(), and OW_NAMESPACE::UTF8Utils::toUpperCaseInPlace().

String & OW_NAMESPACE::String::trim  ) 
 

Strip all leading and trailing space characters from this String object.

Returns:
A reference to this String object after the operation has taken place.

Definition at line 799 of file OW_String.cpp.

References length(), m_buf, strchr(), and String().

Referenced by OW_NAMESPACE::HTTPUtils::addHeader(), OW_NAMESPACE::HTTPChunkedOStream::addTrailer(), OW_NAMESPACE::HTTPClient::getFeatures(), OW_NAMESPACE::HTTPClient::getStatusLine(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::loadConfigMap(), OW_NAMESPACE::CIMObjectPath::parse(), OW_NAMESPACE::parseInfo(), OW_NAMESPACE::CIMNameSpace::setNameSpace(), and OW_NAMESPACE::URL::URL().

size_t OW_NAMESPACE::String::UTF8Length  )  const
 

If the string is not valid UTF-8, then the result of this function is undefined.

Returns:
The number of UTF-8 chars in this String.

Definition at line 367 of file OW_String.cpp.

References c_str(), and OW_NAMESPACE::UTF8Utils::charCount().

Referenced by toChar16().

void OW_NAMESPACE::String::writeObject std::ostream &  ostrm  )  const
 

Write this String object to the given ostream.

Parameters:
ostrm The output stream to write this String to.
Exceptions:
IOException 

Referenced by OW_NAMESPACE::BinarySerialization::write(), OW_NAMESPACE::CIMName::writeObject(), OW_NAMESPACE::writeRealValue(), and OW_NAMESPACE::BinarySerialization::writeString().


Member Data Documentation

buf_t OW_NAMESPACE::String::m_buf [private]
 

Definition at line 754 of file OW_String.hpp.

Referenced by c_str(), charAt(), compareTo(), compareToIgnoreCase(), concat(), endsWith(), erase(), format(), hashCode(), indexOf(), isSpaces(), lastIndexOf(), length(), ltrim(), operator=(), operator[](), rtrim(), startsWith(), String(), substring(), swap(), toInt(), toInt16(), toInt32(), toInt64(), toInt8(), tokenize(), toLowerCase(), toReal32(), toReal64(), toUInt16(), toUInt32(), toUInt64(), toUInt8(), toUnsignedInt(), toUpperCase(), and trim().

const size_t OW_NAMESPACE::String::npos = size_t(~0) [static]
 

Definition at line 744 of file OW_String.hpp.

Referenced by OW_NAMESPACE::CIMUrl::checkRef(), OW_NAMESPACE::cleanupEntryHelper(), OW_NAMESPACE::MOF::Compiler::compile(), erase(), OW_NAMESPACE::SocketAddress::getAnyLocalHost(), OW_NAMESPACE::getAuthParam(), OW_NAMESPACE::HTTPClient::getFeatures(), indexOf(), lastIndexOf(), OW_NAMESPACE::ConfigFile::loadConfigFile(), OW_NAMESPACE::NPIProviderIFC::loadNoIdProviders(), OW_NAMESPACE::CMPIProviderIFC::loadNoIdProviders(), OW_NAMESPACE::parseInfo(), OW_NAMESPACE::HTTPClient::processHeaders(), OW_NAMESPACE::splitUpProps(), substring(), and OW_NAMESPACE::URL::URL().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:14:32 2006 for openwbem by  doxygen 1.4.6