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

interface for approving elements to be inserted into a container More...

#include <containerapprove.hxx>

Inheritance diagram for dbaccess::IContainerApprove:
[legend]

Public Member Functions

virtual ~IContainerApprove ()
 
virtual void approveElement (const OUString &_rName)=0
 approves a given element for insertion into the container More...
 

Detailed Description

interface for approving elements to be inserted into a container

On the long run, one could imagine that this interface completely encapsulates container/element approvals in all our various container classes herein (document containers, definition containers, table containers, query containers, command definition containers, bookmark containers). This would decrease coupling of the respective classes.

Definition at line 38 of file containerapprove.hxx.

Constructor & Destructor Documentation

◆ ~IContainerApprove()

virtual dbaccess::IContainerApprove::~IContainerApprove ( )
inlinevirtual

Definition at line 41 of file containerapprove.hxx.

Member Function Documentation

◆ approveElement()

virtual void dbaccess::IContainerApprove::approveElement ( const OUString &  _rName)
pure virtual

approves a given element for insertion into the container

Parameters
_rNamespecifies the name under which the element is going to be inserted
Exceptions
Exceptionif the name or the object are invalid, or not eligible for insertion into the container

Implemented in dbaccess::ObjectNameApproval.


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