LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
svxform::MethodString Class Reference

#include <datanavi.hxx>

Public Member Functions

 MethodString ()
 
OUString const & toUI (std::u16string_view rStr) const
 convert from API to UI; put is default. More...
 
OUString toAPI (std::u16string_view rStr) const
 convert from UI to API; put is default More...
 

Private Member Functions

 MethodString (const MethodString &)=delete
 

Private Attributes

OUString m_sPost_UI
 
OUString m_sPut_UI
 
OUString m_sGet_UI
 

Static Private Attributes

static constexpr OUStringLiteral m_sPost_API = u"post"
 
static constexpr OUStringLiteral m_sPut_API = u"put"
 
static constexpr OUStringLiteral m_sGet_API = u"get"
 

Detailed Description

Definition at line 126 of file datanavi.hxx.

Constructor & Destructor Documentation

◆ MethodString() [1/2]

svxform::MethodString::MethodString ( const MethodString )
privatedelete

◆ MethodString() [2/2]

svxform::MethodString::MethodString ( )
inline

Definition at line 140 of file datanavi.hxx.

References m_sGet_UI, m_sPost_UI, m_sPut_UI, and SvxResId().

Member Function Documentation

◆ toAPI()

OUString svxform::MethodString::toAPI ( std::u16string_view  rStr) const
inline

convert from UI to API; put is default

Definition at line 159 of file datanavi.hxx.

References m_sGet_API, m_sGet_UI, m_sPost_API, m_sPost_UI, and m_sPut_API.

◆ toUI()

OUString const & svxform::MethodString::toUI ( std::u16string_view  rStr) const
inline

convert from API to UI; put is default.

Definition at line 148 of file datanavi.hxx.

References m_sGet_API, m_sGet_UI, m_sPost_API, m_sPost_UI, and m_sPut_UI.

Referenced by svxform::XFormsPage::EditEntry(), and svxform::AddSubmissionDialog::FillAllBoxes().

Member Data Documentation

◆ m_sGet_API

constexpr OUStringLiteral svxform::MethodString::m_sGet_API = u"get"
staticconstexprprivate

Definition at line 134 of file datanavi.hxx.

Referenced by toAPI(), and toUI().

◆ m_sGet_UI

OUString svxform::MethodString::m_sGet_UI
private

Definition at line 130 of file datanavi.hxx.

Referenced by MethodString(), toAPI(), and toUI().

◆ m_sPost_API

constexpr OUStringLiteral svxform::MethodString::m_sPost_API = u"post"
staticconstexprprivate

Definition at line 132 of file datanavi.hxx.

Referenced by toAPI(), and toUI().

◆ m_sPost_UI

OUString svxform::MethodString::m_sPost_UI
private

Definition at line 128 of file datanavi.hxx.

Referenced by MethodString(), toAPI(), and toUI().

◆ m_sPut_API

constexpr OUStringLiteral svxform::MethodString::m_sPut_API = u"put"
staticconstexprprivate

Definition at line 133 of file datanavi.hxx.

Referenced by toAPI().

◆ m_sPut_UI

OUString svxform::MethodString::m_sPut_UI
private

Definition at line 129 of file datanavi.hxx.

Referenced by MethodString(), and toUI().


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