Logo Search packages:      
Sourcecode: pwlib version File versions

BOOL PString::IsEmpty (  )  const [virtual, inherited]

Determine if the string is empty. This is semantically slightly different from the usual PContainer::IsEmpty()# function. It does not test for PContainer::GetSize()# equal to zero, it tests for GetLength()# equal to zero.

Returns:
TRUE if no non-null characters in string.

Definition at line 1601 of file contain.cxx.

Referenced by PURL::AsString(), PHTTPDirectory::CheckAuthority(), PConfig::Construct(), PConfig::DeleteKey(), PConfig::DeleteSection(), PSMTPServer::ForwardDomain(), PHTTPClient::GetDocument(), PIPSocket::GetHostAddress(), PFile::GetInfo(), PIPSocket::GetInterfaceTable(), PConfig::GetKeys(), PConfigArgs::GetOptionCount(), PConfigArgs::GetOptionString(), PDirectory::GetPath(), PConfig::GetString(), PDirectory::GetVolumeSpace(), PConfig::HasKey(), PURL::IsEmpty(), PIPSocket::IsLocalHost(), PString::Lines(), PHTTPFile::LoadData(), PHTTPDirectory::LoadHeaders(), PHTTPDirectory::LoadText(), PPOP3Client::LogIn(), PHTTPResource::OnPOSTData(), PFile::Open(), PString::operator!(), PString::operator*=(), PSystemLog::Output(), PArgList::Parse(), PIpAccessControlEntry::Parse(), PFilePath::PFilePath(), PProcess::PProcess(), PIpAccessControlEntry::PrintOn(), PHTTPServer::ProcessCommand(), PInternetProtocol::ReadCommand(), PVideoDevice::SetColourFormatConverter(), PProcess::SetGroupName(), PURL::SetParamVar(), PURL::SetQueryVar(), PConfig::SetString(), PThread::SetThreadName(), PProcess::SetUserName(), PServiceProcess::Terminate(), and PString::Tokenise().

{
  return (theArray == NULL) || (*theArray == '\0');
}


Generated by  Doxygen 1.6.0   Back to index