FACT++
1.0
|
string Tools::Trim | ( | const std::string & | str | ) |
This is a static helper to remove leading and trailing whitespaces.
buf | a pointer to the char array from which the whitespaces should be removed |
Definition at line 68 of file tools.cc.
Referenced by StateMachineFAD< T >::AddAddress(), RemoteControl< Shell >::Completion(), StateMachineTimeCheck::Execute(), Readline::Execute(), FactGui::FactGui(), Converter::GetStringEol(), SkypeClient::HandleDBusMessage(), CompressedFitsFile::HeaderEntry::HeaderEntry(), PointingModel::Load(), fits::Table::ParseBlock(), LocalControl< ConsoleStream >::Process(), RemoteControl< Shell >::Process(), Readline::Prompt(), Readline::PromptEOF(), StateMachineDimControl::SendDimCommand(), DimServiceInfoList::SendDimCommand(), Description::SplitDescription(), Readline::StaticPrompt(), and TrimQuotes().