LibreOffice Module tools (master) 1
Public Member Functions | Private Attributes | List of all members
INetURLObject::SubString Class Reference

Public Member Functions

 SubString (sal_Int32 nTheBegin=-1, sal_Int32 nTheLength=0)
 
bool isPresent () const
 
bool isEmpty () const
 
sal_Int32 getBegin () const
 
sal_Int32 getLength () const
 
sal_Int32 getEnd () const
 
sal_Int32 clear ()
 
sal_Int32 set (OUStringBuffer &rString, std::u16string_view rSubString, sal_Int32 nTheBegin)
 
sal_Int32 set (OUString &rString, std::u16string_view rSubString)
 
sal_Int32 set (OUStringBuffer &rString, std::u16string_view rSubString)
 
void operator+= (sal_Int32 nDelta)
 
int compare (SubString const &rOther, OUStringBuffer const &rThisString, OUStringBuffer const &rOtherString) const
 

Private Attributes

sal_Int32 m_nBegin
 
sal_Int32 m_nLength
 

Detailed Description

Definition at line 921 of file urlobj.hxx.

Constructor & Destructor Documentation

◆ SubString()

INetURLObject::SubString::SubString ( sal_Int32  nTheBegin = -1,
sal_Int32  nTheLength = 0 
)
inlineexplicit

Definition at line 927 of file urlobj.hxx.

References m_nLength.

Member Function Documentation

◆ clear()

sal_Int32 INetURLObject::SubString::clear ( )

◆ compare()

int INetURLObject::SubString::compare ( SubString const &  rOther,
OUStringBuffer const &  rThisString,
OUStringBuffer const &  rOtherString 
) const

Definition at line 271 of file urlobj.cxx.

References end, m_nBegin, m_nLength, and m_nLength.

Referenced by INetURLObject::convertAbsToRel(), and INetURLObject::operator==().

◆ getBegin()

sal_Int32 INetURLObject::SubString::getBegin ( ) const
inline

◆ getEnd()

sal_Int32 INetURLObject::SubString::getEnd ( ) const
inline

◆ getLength()

sal_Int32 INetURLObject::SubString::getLength ( ) const
inline

◆ isEmpty()

bool INetURLObject::SubString::isEmpty ( ) const
inline

Definition at line 933 of file urlobj.hxx.

References m_nLength.

Referenced by INetURLObject::removeSegment().

◆ isPresent()

bool INetURLObject::SubString::isPresent ( ) const
inline

◆ operator+=()

void INetURLObject::SubString::operator+= ( sal_Int32  nDelta)
inline

Definition at line 265 of file urlobj.cxx.

◆ set() [1/3]

sal_Int32 INetURLObject::SubString::set ( OUString &  rString,
std::u16string_view  rSubString 
)

Definition at line 245 of file urlobj.cxx.

References m_nLength.

◆ set() [2/3]

sal_Int32 INetURLObject::SubString::set ( OUStringBuffer &  rString,
std::u16string_view  rSubString 
)

Definition at line 233 of file urlobj.cxx.

References m_nLength.

◆ set() [3/3]

sal_Int32 INetURLObject::SubString::set ( OUStringBuffer &  rString,
std::u16string_view  rSubString,
sal_Int32  nTheBegin 
)

Member Data Documentation

◆ m_nBegin

sal_Int32 INetURLObject::SubString::m_nBegin
private

Definition at line 923 of file urlobj.hxx.

Referenced by clear(), and compare().

◆ m_nLength

sal_Int32 INetURLObject::SubString::m_nLength
private

Definition at line 924 of file urlobj.hxx.

Referenced by clear(), and compare().


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