LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::OSQLNameChecker Class Reference

#include <SqlNameEdit.hxx>

Inheritance diagram for dbaui::OSQLNameChecker:
[legend]

Public Member Functions

 OSQLNameChecker (OUString _sAllowedChars)
 
void setAllowedChars (const OUString &_rAllowedChars)
 
void setCheck (bool _bCheck)
 
bool checkString (std::u16string_view _sToCheck, OUString &_rsCorrected)
 

Private Attributes

OUString m_sAllowedChars
 
bool m_bCheck
 

Detailed Description

Definition at line 27 of file SqlNameEdit.hxx.

Constructor & Destructor Documentation

◆ OSQLNameChecker()

dbaui::OSQLNameChecker::OSQLNameChecker ( OUString  _sAllowedChars)
inline

Definition at line 32 of file SqlNameEdit.hxx.

Member Function Documentation

◆ checkString()

bool dbaui::OSQLNameChecker::checkString ( std::u16string_view  _sToCheck,
OUString &  _rsCorrected 
)

Definition at line 34 of file SqlNameEdit.cxx.

References i, dbaui::isCharOk(), m_bCheck, and m_sAllowedChars.

◆ setAllowedChars()

void dbaui::OSQLNameChecker::setAllowedChars ( const OUString &  _rAllowedChars)
inline

Definition at line 38 of file SqlNameEdit.hxx.

References m_sAllowedChars.

◆ setCheck()

void dbaui::OSQLNameChecker::setCheck ( bool  _bCheck)
inline

Definition at line 42 of file SqlNameEdit.hxx.

References m_bCheck.

Referenced by dbaui::OSaveAsDlg::implInitOnlyTitle().

Member Data Documentation

◆ m_bCheck

bool dbaui::OSQLNameChecker::m_bCheck
private

Definition at line 30 of file SqlNameEdit.hxx.

Referenced by checkString(), and setCheck().

◆ m_sAllowedChars

OUString dbaui::OSQLNameChecker::m_sAllowedChars
private

Definition at line 29 of file SqlNameEdit.hxx.

Referenced by checkString(), and setAllowedChars().


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