LibreOffice Module svtools (master) 1
Public Member Functions | Private Attributes | List of all members
Place Class Reference

#include <place.hxx>

Collaboration diagram for Place:
[legend]

Public Member Functions

 Place (OUString sName, std::u16string_view sUrl, bool bEditable=false)
 
void SetName (const OUString &aName)
 
void SetUrl (std::u16string_view aUrl)
 
OUString & GetName ()
 
OUString GetUrl () const
 
INetURLObject & GetUrlObject ()
 
bool IsLocal () const
 
bool IsEditable () const
 

Private Attributes

OUString msName
 
INetURLObject maUrl
 
bool mbEditable
 

Detailed Description

Definition at line 15 of file place.hxx.

Constructor & Destructor Documentation

◆ Place()

Place::Place ( OUString  sName,
std::u16string_view  sUrl,
bool  bEditable = false 
)
inline

Definition at line 25 of file place.hxx.

References sName.

Member Function Documentation

◆ GetName()

OUString & Place::GetName ( )
inline

Definition at line 33 of file place.hxx.

References msName.

◆ GetUrl()

OUString Place::GetUrl ( ) const
inline

Definition at line 34 of file place.hxx.

References INetURLObject::GetMainURL(), maUrl, and INetURLObject::NONE.

◆ GetUrlObject()

INetURLObject & Place::GetUrlObject ( )
inline

Definition at line 35 of file place.hxx.

References maUrl.

◆ IsEditable()

bool Place::IsEditable ( ) const
inline

Definition at line 37 of file place.hxx.

References mbEditable.

◆ IsLocal()

bool Place::IsLocal ( ) const
inline

Definition at line 36 of file place.hxx.

References INetURLObject::GetProtocol(), and maUrl.

◆ SetName()

void Place::SetName ( const OUString &  aName)
inline

Definition at line 30 of file place.hxx.

References aName, and msName.

◆ SetUrl()

void Place::SetUrl ( std::u16string_view  aUrl)
inline

Definition at line 31 of file place.hxx.

References maUrl, and INetURLObject::SetURL().

Member Data Documentation

◆ maUrl

INetURLObject Place::maUrl
private

Definition at line 19 of file place.hxx.

Referenced by GetUrl(), GetUrlObject(), IsLocal(), and SetUrl().

◆ mbEditable

bool Place::mbEditable
private

Definition at line 21 of file place.hxx.

Referenced by IsEditable().

◆ msName

OUString Place::msName
private

Definition at line 18 of file place.hxx.

Referenced by GetName(), and SetName().


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