cString Class Reference

#include <tools.h>

List of all members.

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
cStringoperator= (const cString &String)
cStringTruncate (int Index)
 Truncate the string at the given Index (if Index is < 0 it is counted from the end of the string).

Static Public Member Functions

static cString sprintf (const char *fmt,...) __attribute__((format(printf
static cString static cString sprintf (const char *fmt, va_list &ap)

Private Attributes

char * s


Detailed Description

Definition at line 152 of file tools.h.


Constructor & Destructor Documentation

cString::cString ( const char *  S = NULL,
bool  TakePointer = false 
)

Definition at line 856 of file tools.c.

References s.

Referenced by sprintf().

cString::cString ( const cString String  ) 

Definition at line 861 of file tools.c.

References s.

cString::~cString (  )  [virtual]

Definition at line 866 of file tools.c.

References s.


Member Function Documentation

cString::operator const void * (  )  const [inline]

Definition at line 159 of file tools.h.

References s.

cString::operator const char * (  )  const [inline]

Definition at line 160 of file tools.h.

References s.

const char* cString::operator* (  )  const [inline]

Definition at line 161 of file tools.h.

References s.

cString & cString::operator= ( const cString String  ) 

Definition at line 871 of file tools.c.

References s.

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 880 of file tools.c.

References s.

Referenced by cPictureControl::DisplayCaption(), and cPictureMenu::Set().

cString cString::sprintf ( const char *  fmt,
  ... 
) [static]

Definition at line 890 of file tools.c.

References cString(), and esyslog.

Referenced by cPluginManager::Active(), AddDirectory(), cPluginManager::AddPlugin(), cShutdownHandler::CallShutdownCommand(), cMenuSetupPlugins::cMenuSetupPlugins(), cMenuRecordings::Commands(), cPlugin::ConfigDirectory(), cShutdownHandler::ConfirmShutdown(), cPictureMenu::cPictureMenu(), cRecordControl::cRecordControl(), cRecording::cRecording(), cRecordingInfo::cRecordingInfo(), cMenuCommands::Execute(), cCommand::Execute(), cRecording::FileName(), cMenuCam::GenerateTitle(), cFreeDiskSpace::HasChanged(), cOsdMenu::hk(), I18nInitialize(), I18nRegister(), cMenuRecordingItem::IncrementCounter(), cRecordingUserCommand::InvokeCommand(), cThemes::Load(), cMenuRecordings::Open(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisThis(), cInterface::QueryKeys(), cSVDRP::Reply(), cThemes::Save(), cMenuTimerItem::Set(), cMenuChannelItem::Set(), cMenuEditSrcItem::Set(), cThread::SetDescription(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cMenuRecordings::SetFreeDiskDisplay(), cMenuSetupPage::SetPlugin(), cMenuSetupPage::SetSection(), cMenuEditItem::SetValue(), SpinUpDisk(), cSetup::Store(), cPluginSvdrpdemo::SVDRPCommand(), cRecording::Title(), cTimer::ToDescr(), cEvent::ToDescr(), cTimer::ToText(), cMark::ToText(), cChannel::ToText(), cChannel::TransponderDataToString(), cCountdown::Update(), cMenuMain::Update(), cMenuScheduleItem::Update(), and cRecording::WriteInfo().

Here is the call graph for this function:

cString cString::sprintf ( const char *  fmt,
va_list &  ap 
) [static]

Definition at line 903 of file tools.c.

References cString(), and esyslog.

Here is the call graph for this function:


Member Data Documentation

char* cString::s [private]


The documentation for this class was generated from the following files:

Generated on Tue Jan 13 14:32:45 2009 for VDR by  doxygen 1.5.6