Public Member Functions | Private Attributes

UT_String Class Reference

#include <ut_string_class.h>

List of all members.

Public Member Functions

 UT_String ()
 UT_String (const char *sz, size_t n=0)
 UT_String (const UT_String &rhs)
 UT_String (const std::basic_string< char > &s)
 ~UT_String ()
size_t size () const
size_t length () const
void reserve (size_t n)
bool empty () const
void clear () const
UT_String substr (size_t iStart, size_t nChars) const
UT_Stringoperator= (const UT_String &rhs)
UT_Stringoperator= (const char *rhs)
UT_Stringoperator= (const std::basic_string< char > &rhs)
UT_Stringoperator+= (const UT_String &rhs)
UT_Stringoperator+= (const char *rhs)
UT_Stringoperator+= (char rhs)
char operator[] (size_t iPos) const
char & operator[] (size_t iPos)
void swap (UT_String &rhs)
const char * c_str () const

Private Attributes

class UT_StringImpl< char > * pimpl

Constructor & Destructor Documentation

UT_String::UT_String (  ) 

Referenced by substr().

UT_String::UT_String ( const char *  sz,
size_t  n = 0 
)
UT_String::UT_String ( const UT_String rhs  ) 
UT_String::UT_String ( const std::basic_string< char > &  s  ) 
UT_String::~UT_String (  ) 

References pimpl.


Member Function Documentation

const char * UT_String::c_str (  )  const

References UT_StringImpl< char_type >::data(), pimpl, pszEmpty, and UT_StringImpl< char_type >::size().

Referenced by IE_Imp_WordPerfect::_appendSection(), IE_Imp_MsWord_97::_beginChar(), IE_Imp_MsWord_97::_beginPara(), IE_Imp_MsWord_97::_beginSect(), XAP_Win32Dialog_FileOpenSaveAs::_buildFilterList(), XAP_Win32DialogBase::_callHelp(), IE_Imp_MsWord_97::_cell_open(), s_KWord_1_Listener::_closeBlock(), GR_Win32USPGraphics::_constructorCommonCode(), XAP_Frame::_createAutoSaveTimer(), pt_PieceTable::_deleteHdrFtrsFromSectionStruxIfPresent(), AP_TopRuler::_displayStatusMessage(), IE_Exp_Text::_doEncodingDialog(), ODi_Frame_ListenerState::_drawImage(), ODi_Frame_ListenerState::_drawInlineImage(), ODi_Frame_ListenerState::_drawObject(), _errorSAXFunc(), _ev_GetLabelName(), AP_Dialog_Tab::_event_Set(), AP_Dialog_Tab::_event_somethingChanged(), AP_Dialog_Tab::_event_Update(), s_RTF_ListenerWriteDoc::_export_AbiWord_Cell_props(), s_RTF_ListenerWriteDoc::_export_AbiWord_Table_props(), s_RTF_ListenerWriteDoc::_exportCellProps(), _fatalErrorSAXFunc(), IE_Exp_HTML_Listener::_fillColWidthsVector(), IE_Imp_MsWord_97::_flush(), IE_Exp_RTF::_generate_level_Text(), IE_Imp_MsWord_97::_generateCharProps(), IE_Exp_RTF::_get_LeftRight_Side(), _getPassword(), AP_UnixDialog_PageSetup::_getWidget(), AP_UnixDialog_FormatTOC::_getWidget(), s_AbiWord_1_Listener::_handleMetaData(), IE_Imp_MsWord_97::_handleNotesText(), IE_Imp_MsWord_97::_handlePositionedImage(), ODi_StreamListener::_handleStateAction(), IE_Imp_MsWord_97::_handleStyleSheet(), fl_DocSectionLayout::_HdrFtrChangeCallback(), IE_Imp_MsWord_97::_insertEndnote(), IE_Imp_MsWord_97::_insertFootnote(), IE_Imp_MsWord_97::_insertHeaderSection(), OpenWriter_ContentStream_Listener::_insertImage(), OpenWriter_ContentStream_Listener::_insureInSection(), _rtf_font_info::_is_same(), IE_Imp_StarOffice::_loadFile(), IE_Imp_PDF::_loadFile(), fl_TableLayout::_lookupMarginProperties(), fl_BlockLayout::_lookupMarginProperties(), fp_ImageRun::_lookupProperties(), fl_TableLayout::_lookupProperties(), fl_BlockLayout::_lookupProperties(), s_RTF_ListenerWriteDoc::_newRow(), AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_FormatTOC_General::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_New::_onInitDialog(), s_RTF_ListenerWriteDoc::_openFrame(), s_RTF_ListenerWriteDoc::_openTag(), IE_Exp_RTF::_output_LevelText(), IE_Exp_RTF::_output_ListRTF(), IE_Exp_RTF::_output_revision(), s_LaTeX_Listener::_outputData(), s_HRText_Listener::_outputData(), s_Applix_Listener::_outputData(), XAP_Dictionary::_outputUTF8(), ODi_Style_Style::_parse_style_background_image(), ODi_Style_PageLayout::_parseBackgroundImage(), IE_Imp_Component::_parseStream(), FL_DocLayout::_prefsListener(), XAP_Frame::_removeAutoSaveFile(), s_RTF_ListenerWriteDoc::_rtf_docfmt(), s_RTF_ListenerWriteDoc::_rtf_open_section(), IE_Imp_PDF::_runConversion(), AP_Win32Dialog_Options::_setAutoSaveFileExt(), AP_UnixDialog_Options::_setAutoSaveFileExt(), AP_CocoaDialog_Options::_setAutoSaveFileExt, AP_Win32Dialog_Options::_setAutoSaveFilePeriod(), AP_UnixDialog_Options::_setAutoSaveFilePeriod(), AP_CocoaDialog_Options::_setAutoSaveFilePeriod, AP_Win32Dialog_New::_setFileName(), AP_TopRuler::_setTabStops(), AP_Win32Dialog_Options::_setUILanguage(), fp_RDFAnchorRun::_setValue(), fp_AnnotationRun::_setValue(), AP_Dialog_Options::_storeDataForControl(), AP_Dialog_Options::_storeWindowData(), IE_Imp_MsWord_97::_table_close(), IE_Exp_WordPerfect::_UT_String_overwrite(), IE_Exp_S5::_write(), IE_Imp_T602::_write_fh(), IE_Exp_RTF::_write_parafmt(), IE_Exp_WordPerfect::_writeDocument(), s_RTF_ListenerWriteDoc::_writeEmbedData(), s_RTF_ListenerWriteDoc::_writeImageInRTF(), s_KWord_1_Listener::_writeMarginSize(), IE_Imp_T602::_writeSP(), IE_Imp_T602::_writeTP(), abiDialogSetTitle(), AbiGimp_invoke(), IE_Imp_GDA::addCell(), OO_StylesWriter::addFontDecls(), ODi_Abi_Data::addImageDataItem(), EV_Menu::addMenuItem(), ODi_Abi_Data::addObjectDataItem(), fl_DocSectionLayout::addOwnedPage(), AP_Dialog_FormatFrame::applyChanges(), AP_Dialog_FormatTable::askForGraphicPathName(), BabelFish_invoke(), XAP_Frame::backup(), TOCEntry::calculateLabel(), fp_FieldEndnoteRefRun::calculateValue(), fp_FieldEndnoteAnchorRun::calculateValue(), fp_FieldFootnoteAnchorRun::calculateValue(), fp_FieldFootnoteRefRun::calculateValue(), fp_FieldTOCNumRun::calculateValue(), changed_cb(), FV_View::cmdCharDelete(), FV_View::cmdInsertPositionedGraphic(), FV_View::cmdSplitCells(), AP_Convert::convertTo(), SpellChecker::couldNotLoadDictionary(), GR_Win32Image::createImageSegment(), fl_AutoNum::dec2roman(), Defun(), Defun0(), Defun1(), fl_BlockLayout::doclistener_insertBlock(), AP_Win32App::doWindowlessArgs(), Presentation::end(), IE_Imp_KWord_1::endElement(), ev_EditMethod_exists(), ev_EditMethod_invoke(), ev_EditMethod_lookup(), AP_UnixDialog_FormatTOC::event_Apply(), AP_UnixDialog_FormatTOC::event_HasHeadingChanged(), AP_UnixDialog_FormatTOC::event_HasLabelChanged(), XAP_UnixDialog_FileOpenSaveAs::fileTypeChanged(), IE_Imp::fileTypeForSuffixes(), IE_Exp::fileTypeForSuffixes(), UT_GenericStringMap< T >::find_slot(), GR_Win32Graphics::fixDevMode(), OO_PageStyle::getAbiSectionProps(), OO_Style::getAbiStyle(), PP_Revision::getAttrsString(), XAP_Dialog_Language::getAvailableDictionaries(), AP_Win32Dialog_Styles::getCurrentStyle(), AD_Document::getEncodingName(), getExportFileType(), XAP_Dialog_History::getHeaderValue(), XAP_Dialog_Image::getHeightString(), AP_Dialog_Columns::getHeightString(), getImportFileType(), EV_Menu_LabelSet::getLabel(), EV_Menu_LabelSet::getLanguage(), XAP_Dialog_History::getListValue(), EV_Menu_Label::getMenuLabel(), EV_Menu_Label::getMenuStatusMessage(), EV_Menu_Layout::getName(), AP_Frame::getNewZoom(), XAP_PrefsScheme::getNthValue(), IE_ExpSniffer::getPreferredSuffix(), XAP_Prefs::getPrefsValue(), PP_Revision::getPropsString(), XAP_Dialog_DocComparison::getResultValue(), XAP_Draw_Symbol::getSelectedFont(), AP_Dialog_Columns::getSpaceAfterString(), XAP_Toolbar_Factory_vec::getToolbarName(), FV_View::getTopRulerInfo(), XAP_Dialog_Image::getWidthString(), PP_RevisionAttr::getXMLstring(), helpLocalizeAndOpenURL(), XAP_Dialog_Image::incrementHeight(), AP_Dialog_Columns::incrementMaxHeight(), AP_Dialog_Columns::incrementSpaceAfter(), XAP_Dialog_Image::incrementWidth(), _rtf_font_info::init(), XAP_Frame::initialize(), XAP_EncodingManager::initialize(), AP_Win32App::initialize(), AP_UnixApp::initialize(), UT_GenericStringMap< T >::list(), BarbarismChecker::load(), AP_UnixApp::loadAllPlugins(), AP_UnixApp::loadStringsFromDisk(), XAP_AppImpl::localizeHelpUrl(), XAP_Log::log(), AP_UnixApp::main(), AP_QtApp::main(), XAP_Frame::makeBackupName(), Markup(), FV_FrameEdit::mouseRelease(), AP_TopRuler::mouseRelease(), AP_LeftRuler::mouseRelease(), OO_WriterImpl::OO_WriterImpl(), IE_Imp_WordPerfect::openListElement(), IE_Imp_WordPerfect::openParagraph(), IE_Imp_WordPerfect::openSpan(), IE_Imp_WordPerfect::openTable(), IE_Imp_WordPerfect::openTableCell(), XAP_Win32AppImpl::openURL(), operator<(), operator==(), UT_GenericStringMap< T >::pick(), OO_StylesContainer::pickBlockAtts(), PP_setDefaultFontFamily(), IE_Imp_MSWrite::read_pap(), IE_Imp_MSWrite::read_sep(), IE_Imp_MSWrite::read_txt(), GR_PangoFont::reloadFont(), GR_RSVGVectorImage::renderToSurface(), SpellManager::requestDictionary(), XAP_Toolbar_Factory::restoreToolbarLayout(), XAP_Toolbar_Factory::restoreToolbarsFromCurrentScheme(), XAP_Win32Dialog_FileOpenSaveAs::runModal(), s_check_changedDetails(), s_LoadingCursorCallback(), AP_UnixDialog_FormatTOC::s_NumType_changed(), s_string_to_url(), s_TabLeader_changed(), s_Text_changed(), AP_Win32Dialog_FormatTOC_Layout::saveCtrlsValuesForDetailsLevel(), XAP_Toolbar_Factory::saveToolbarsInCurrentScheme(), sDoHelp(), AP_Dialog_FormatTable::setBackgroundColor(), FV_View::setBlockIndents(), FV_View::setCellFormat(), AP_Dialog_FormatTable::setCurCellProps(), XAP_App::setDefaultGraphicsId(), XAP_Dialog_FontChooser::setFontDecoration(), XAP_Draw_Symbol::setFontToGC(), AP_Win32Dialog_Insert_DateTime::SetFormatsList(), GR_Image::setName(), SDWCryptor::SetPassword(), AP_Win32Dialog_FormatTOC::setStyle(), AP_UnixDialog_FormatTOC::setStyle(), XAP_Frame::setZoomPercentage(), sFormatDouble(), GR_CairoGraphics::shape(), AP_Dialog_FormatTable::ShowErrorBox(), AD_Document::showHistory(), ODi_TextContent_ListenerState::startElement(), IE_Imp_KWord_1::startElement(), TFTEST_MAIN(), AP_Win32Dialog_MetaData_Permissions::transferData(), AP_Win32Dialog_MetaData_Summary::transferData(), AP_Win32Dialog_MetaData_General::transferData(), GOComponentView::update(), URLDict_invoke(), UT_String_addPropertyString(), UT_String_getPropVal(), UT_String_removeProperty(), UT_String_vprintf(), UT_untgz(), UT_UTF8String_sprintf(), UT_validXML(), UT_XML_Decode(), Wikipedia_invoke(), IE_Exp::write(), writeString(), XAP_Log::XAP_Log(), XAP_Win32App::XAP_Win32App(), and s_HRText_Listener::~s_HRText_Listener().

void UT_String::clear ( void   )  const
bool UT_String::empty (  )  const
size_t UT_String::length (  )  const [inline]
UT_String & UT_String::operator+= ( const UT_String rhs  ) 
UT_String & UT_String::operator+= ( const char *  rhs  ) 
UT_String & UT_String::operator+= ( char  rhs  ) 
UT_String & UT_String::operator= ( const char *  rhs  ) 
UT_String & UT_String::operator= ( const std::basic_string< char > &  rhs  ) 
UT_String & UT_String::operator= ( const UT_String rhs  ) 

References pimpl.

char UT_String::operator[] ( size_t  iPos  )  const
char & UT_String::operator[] ( size_t  iPos  ) 
void UT_String::reserve ( size_t  n  ) 
size_t UT_String::size (  )  const

References pimpl, and UT_StringImpl< char_type >::size().

Referenced by IE_Imp_MsWord_97::_beginPara(), XAP_Win32DialogBase::_callHelp(), _catPath(), s_RTF_ListenerWriteDoc::_exportCellProps(), IE_Exp_HTML_Listener::_fillColWidthsVector(), s_RTF_ListenerWriteDoc::_fillTableProps(), IE_Imp_MsWord_97::_flush(), IE_Exp_RTF::_generate_level_Text(), IE_Imp_MsWord_97::_generateParaProps(), s_AbiWord_1_Listener::_handleMetaData(), IE_Imp_MsWord_97::_handleStyleSheet(), IE_Imp_MsWord_97::_insertHeaderSection(), _rtf_font_info::_is_same(), fl_TableLayout::_lookupProperties(), s_RTF_ListenerWriteDoc::_newRow(), s_RTF_ListenerWriteDoc::_openFrame(), s_RTF_ListenerWriteDoc::_openTag(), s_LaTeX_Listener::_outputData(), s_HRText_Listener::_outputData(), s_Applix_Listener::_outputData(), XAP_Dictionary::_outputUTF8(), AP_UnixDialog_Options::_setAutoSaveFileExt(), AP_Win32Dialog_Options::_setUILanguage(), IE_Exp_S5::_write(), s_RTF_ListenerWriteDoc::_writeEmbedData(), s_RTF_ListenerWriteDoc::_writeImageInRTF(), fl_DocSectionLayout::addOwnedPage(), AP_Dialog_FormatTable::askForGraphicPathName(), BabelFish_invoke(), XAP_Frame::backup(), fl_AutoNum::dec2roman(), Defun(), Defun1(), Presentation::end(), IE_Imp_KWord_1::endElement(), ev_EditMethod_invoke(), AP_Win32Dialog_Styles::getCurrentStyle(), AD_Document::getEncodingName(), IE_ExpSniffer::getPreferredSuffix(), EV_Menu::invokeMenuMethod(), AP_UnixApp::loadStringsFromDisk(), AP_TopRuler::mouseRelease(), XAP_Win32AppImpl::openURL(), operator==(), operator[](), OO_Style::parse(), OO_PageStyle::parse(), sAddHelpButton(), sDoHelp(), IE_Imp_KWord_1::startElement(), TFTEST_MAIN(), UT_String_addPropertyString(), UT_String_findCh(), UT_String_findRCh(), UT_String_removeProperty(), UT_String_setProperty(), UT_XML_Decode(), and IE_Exp::write().

UT_String UT_String::substr ( size_t  iStart,
size_t  nChars 
) const
void UT_String::swap ( UT_String rhs  ) 

References pimpl.

Referenced by TFTEST_MAIN().


Member Data Documentation

class UT_StringImpl< char >* UT_String::pimpl [private]

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