LibreOffice Module dbaccess (master) 1
Public Member Functions | List of all members
dbaui::IObjectNameCheck Class Referenceabstract

interface encapsulating the check for the validity of an object name More...

#include <objectnamecheck.hxx>

Inheritance diagram for dbaui::IObjectNameCheck:
[legend]

Public Member Functions

virtual bool isNameValid (const OUString &_rObjectName, ::dbtools::SQLExceptionInfo &_out_rErrorToDisplay) const =0
 determines whether a given object name is valid More...
 
virtual ~IObjectNameCheck ()
 

Detailed Description

interface encapsulating the check for the validity of an object name

Definition at line 32 of file objectnamecheck.hxx.

Constructor & Destructor Documentation

◆ ~IObjectNameCheck()

virtual dbaui::IObjectNameCheck::~IObjectNameCheck ( )
inlinevirtual

Definition at line 52 of file objectnamecheck.hxx.

Member Function Documentation

◆ isNameValid()

virtual bool dbaui::IObjectNameCheck::isNameValid ( const OUString &  _rObjectName,
::dbtools::SQLExceptionInfo _out_rErrorToDisplay 
) const
pure virtual

determines whether a given object name is valid

Parameters
_rObjectNamethe name to check
_out_rErrorToDisplayoutput parameter taking an error message describing why the name is not valid, if applicable.
Returns
<TRUE> if and only if the given name is valid.

Implemented in dbaui::HierarchicalNameCheck, and dbaui::DynamicTableOrQueryNameCheck.


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