LibreOffice Module dbaccess (master) 1
|
interface for approving elements to be inserted into a container More...
#include <containerapprove.hxx>
Public Member Functions | |
virtual | ~IContainerApprove () |
virtual void | approveElement (const OUString &_rName)=0 |
approves a given element for insertion into the container More... | |
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.
|
inlinevirtual |
Definition at line 41 of file containerapprove.hxx.
|
pure virtual |
approves a given element for insertion into the container
_rName | specifies the name under which the element is going to be inserted |
Exception | if the name or the object are invalid, or not eligible for insertion into the container |
Implemented in dbaccess::ObjectNameApproval.