vdr
2.0.5
|
#include <tools.h>
Public Member Functions | |
cString (const char *S=NULL, bool TakePointer=false) | |
cString (const cString &String) | |
virtual | ~cString () |
operator const void * () const | |
operator const char * () const | |
const char * | operator* () const |
cString & | operator= (const cString &String) |
cString & | operator= (const char *String) |
cString & | Truncate (int Index) |
Static Public Member Functions | |
static cString | sprintf (const char *fmt,...) __attribute__((format(printf |
static cString static cString | vsprintf (const char *fmt, va_list &ap) |
Private Attributes | |
char * | s |
cString::cString | ( | const char * | S = NULL , |
bool | TakePointer = false |
||
) |
|
inline |
|
inline |
|
inline |
cString & cString::operator= | ( | const char * | String | ) |
|
static |
Definition at line 1011 of file tools.c.
References cString(), and esyslog.
Referenced by cCopyingThread::Action(), cTrueColorDemo::Action(), cPluginManager::Active(), AddDirectory(), cPluginManager::AddPlugin(), cPlugin::CacheDirectory(), cShutdownHandler::CallShutdownCommand(), cCopyingThread::cCopyingThread(), cMenuCommands::cMenuCommands(), cMenuEditRecording::cMenuEditRecording(), cMenuFolderItem::cMenuFolderItem(), cMenuSetupPlugins::cMenuSetupPlugins(), cMenuRecordings::Commands(), cPlugin::ConfigDirectory(), cMenuEditFolder::Confirm(), cShutdownHandler::ConfirmShutdown(), cPictureMenu::cPictureMenu(), cRecordControl::cRecordControl(), cRecording::cRecording(), cRecordingInfo::cRecordingInfo(), cMenuFolder::DescendPath(), DrawDeviceData(), cSkinLCARSDisplayMenu::DrawDisk(), cSkinLCARSDisplayMenu::DrawInfo(), cSkinLCARSDisplayMenu::DrawLoad(), cSkinLCARSDisplayMenu::DrawTimer(), cSkinClassicDisplayMenu::DrawTitle(), cSkinCursesDisplayMenu::DrawTitle(), cSkinSTTNGDisplayMenu::DrawTitle(), cDvbDevice::DvbName(), cMenuCommands::Execute(), cRecording::FileName(), cSkinSTTNGDisplayChannel::Flush(), cMenuCam::GenerateTitle(), cDvbTuner::GetBondingParams(), cMenuFolder::GetFolder(), cEvent::GetParentalRatingString(), cDvbDeviceProbe::GetSubsystemId(), cOsdMenu::hk(), I18nInitialize(), I18nRegister(), cMenuRecordingItem::IncrementCounter(), cIndexFile::IndexFileName(), IndexToHMSF(), cDvbDevice::Initialize(), cRecordingUserCommand::InvokeCommand(), cThemes::Load(), cChannel::Name(), NewVideoFileName(), cMenuRecordings::Open(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisThis(), cDvbHdFfDeviceProbe::Probe(), cDvbDevice::QueryDeliverySystems(), cInterface::QueryKeys(), cPlugin::ResourceDirectory(), cThemes::Save(), cMenuFolder::Select(), cMenuEditSrcItem::Set(), cMenuChannelItem::Set(), cMenuTimerItem::Set(), cSkinLCARSDisplayChannel::SetChannel(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cMenuEditTimer::SetFolder(), cMenuEditRecording::SetFolder(), cMenuSetupPage::SetPlugin(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), SetRecordingsSortMode(), cMenuSetupPage::SetSection(), cMenuSetupLNB::Setup(), cMenuEditItem::SetValue(), cChannel::ShortName(), SpinUpDisk(), cSetup::Store(), cVideoDiskUsage::String(), cPluginSvdrpdemo::SVDRPCommand(), cRecording::Title(), cTimer::ToDescr(), cEvent::ToDescr(), cSatCableNumbers::ToString(), cTimer::ToText(), cChannel::ToText(), cMark::ToText(), cChannel::TransponderDataToString(), cCountdown::Update(), cMenuMain::Update(), cMenuScheduleItem::Update(), and cRecording::WriteInfo().
cString & cString::Truncate | ( | int | Index | ) |
Truncate the string at the given Index (if Index is < 0 it is counted from the end of the string).
Definition at line 1001 of file tools.c.
References s.
Referenced by cCopyingThread::Action(), cSVDRP::CmdGRAB(), cPictureControl::DisplayCaption(), cSkinLCARSDisplayMenu::DrawDate(), cPictureMenu::Set(), and StripLastDirectory().
|
static |
Definition at line 1024 of file tools.c.
References cString(), and esyslog.
Referenced by cSVDRP::Reply(), and cThread::SetDescription().
|
private |
Definition at line 168 of file tools.h.
Referenced by cString(), operator const char *(), operator const void *(), operator*(), operator=(), skipspace(), Truncate(), and ~cString().