LibreOffice Module test (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
apitest::XNameContainer Class Referenceabstract

#include <xnamecontainer.hxx>

Public Member Functions

 XNameContainer ()
 
 XNameContainer (const OUString &rNameToRemove)
 
virtual css::uno::Reference< css::uno::XInterface > init ()=0
 
virtual void setElement (const css::uno::Any &rElement)
 
void testInsertByName ()
 
void testInsertByNameEmptyName ()
 
void testInsertByNameDuplicate ()
 
void testInsertByNameInvalidElement ()
 
void testRemoveByName ()
 
void testRemoveByNameEmptyName ()
 
void testRemoveByNameNoneExistingElement ()
 

Protected Member Functions

 ~XNameContainer ()
 

Private Attributes

OUString m_aName
 
css::uno::Any m_aElement
 

Detailed Description

Definition at line 23 of file xnamecontainer.hxx.

Constructor & Destructor Documentation

apitest::XNameContainer::XNameContainer ( )
inline

Definition at line 27 of file xnamecontainer.hxx.

References m_aName.

apitest::XNameContainer::XNameContainer ( const OUString &  rNameToRemove)
inline

Definition at line 32 of file xnamecontainer.hxx.

References m_aName.

apitest::XNameContainer::~XNameContainer ( )
inlineprotected

Definition at line 49 of file xnamecontainer.hxx.

Member Function Documentation

virtual css::uno::Reference<css::uno::XInterface> apitest::XNameContainer::init ( )
pure virtual
virtual void apitest::XNameContainer::setElement ( const css::uno::Any &  rElement)
inlinevirtual

Definition at line 38 of file xnamecontainer.hxx.

void apitest::XNameContainer::testInsertByName ( )

Definition at line 26 of file xnamecontainer.cxx.

References init(), and m_aName.

void apitest::XNameContainer::testInsertByNameDuplicate ( )

Definition at line 52 of file xnamecontainer.cxx.

References init(), and m_aName.

void apitest::XNameContainer::testInsertByNameEmptyName ( )

Definition at line 35 of file xnamecontainer.cxx.

References init().

void apitest::XNameContainer::testInsertByNameInvalidElement ( )

Definition at line 43 of file xnamecontainer.cxx.

References init().

void apitest::XNameContainer::testRemoveByName ( )

Definition at line 76 of file xnamecontainer.cxx.

References init(), and m_aName.

void apitest::XNameContainer::testRemoveByNameEmptyName ( )

Definition at line 84 of file xnamecontainer.cxx.

References init().

void apitest::XNameContainer::testRemoveByNameNoneExistingElement ( )

Definition at line 91 of file xnamecontainer.cxx.

References init().

Member Data Documentation

css::uno::Any apitest::XNameContainer::m_aElement
private

Definition at line 53 of file xnamecontainer.hxx.

OUString apitest::XNameContainer::m_aName
private

Definition at line 52 of file xnamecontainer.hxx.


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