Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

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 1633 of file contain.cxx.

Referenced by PURL::AsString(), PSoundChannel::CreateOpenedChannel(), PVideoOutputDevice::CreateOpenedDevice(), PVideoInputDevice::CreateOpenedDevice(), PSMTPServer::ForwardDomain(), PHTTPClient::GetDocument(), PIPSocket::GetHostAddress(), PHTTPSubForm::GetHTMLTag(), PFile::GetInfo(), PIPSocket::GetInterfaceTable(), PDirectory::GetPath(), PDirectory::GetVolumeSpace(), PURL::IsEmpty(), PIPSocket::IsLocalHost(), PString::Lines(), PPOP3Client::LogIn(), NetTest::Main(), XMLRPCApp::Main(), VidTest::Main(), Emailtest::Main(), DtmfTest::Main(), PSMTPServer::OnEHLO(), PSMTPServer::OnHELO(), PPOP3Server::OnPASS(), PSMTPServer::OnSendMail(), PFile::Open(), PString::operator!(), PString::operator*=(), PSystemLog::Output(), PArgList::Parse(), PIpAccessControlEntry::Parse(), PFilePath::PFilePath(), PHTTPConfig::Post(), PHTTPForm::Post(), PProcess::PProcess(), PIpAccessControlEntry::PrintOn(), PInternetProtocol::ReadCommand(), PProcess::SetGroupName(), PHTTPCompositeField::SetName(), PURL::SetParamVar(), PURL::SetQueryVar(), PThread::SetThreadName(), PProcess::SetUserName(), PServiceProcess::Terminate(), PString::Tokenise(), and PInternetProtocol::WriteCommand().

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

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index