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 (OUString aNameToRemove)
 
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 24 of file xnamecontainer.hxx.

Constructor & Destructor Documentation

◆ XNameContainer() [1/2]

apitest::XNameContainer::XNameContainer ( )
inline

Definition at line 28 of file xnamecontainer.hxx.

References m_aName.

◆ XNameContainer() [2/2]

apitest::XNameContainer::XNameContainer ( OUString  aNameToRemove)
inline

Definition at line 33 of file xnamecontainer.hxx.

References m_aName.

◆ ~XNameContainer()

apitest::XNameContainer::~XNameContainer ( )
inlineprotected

Definition at line 50 of file xnamecontainer.hxx.

Member Function Documentation

◆ init()

virtual css::uno::Reference< css::uno::XInterface > apitest::XNameContainer::init ( )
pure virtual

◆ setElement()

virtual void apitest::XNameContainer::setElement ( const css::uno::Any &  rElement)
inlinevirtual

Definition at line 39 of file xnamecontainer.hxx.

◆ testInsertByName()

void apitest::XNameContainer::testInsertByName ( )

Definition at line 26 of file xnamecontainer.cxx.

References init(), m_aElement, and m_aName.

◆ testInsertByNameDuplicate()

void apitest::XNameContainer::testInsertByNameDuplicate ( )

Definition at line 52 of file xnamecontainer.cxx.

References init(), m_aElement, and m_aName.

◆ testInsertByNameEmptyName()

void apitest::XNameContainer::testInsertByNameEmptyName ( )

Definition at line 35 of file xnamecontainer.cxx.

References init().

◆ testInsertByNameInvalidElement()

void apitest::XNameContainer::testInsertByNameInvalidElement ( )

Definition at line 43 of file xnamecontainer.cxx.

References init().

◆ testRemoveByName()

void apitest::XNameContainer::testRemoveByName ( )

Definition at line 76 of file xnamecontainer.cxx.

References init(), and m_aName.

◆ testRemoveByNameEmptyName()

void apitest::XNameContainer::testRemoveByNameEmptyName ( )

Definition at line 84 of file xnamecontainer.cxx.

References init().

◆ testRemoveByNameNoneExistingElement()

void apitest::XNameContainer::testRemoveByNameNoneExistingElement ( )

Definition at line 91 of file xnamecontainer.cxx.

References init().

Member Data Documentation

◆ m_aElement

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

Definition at line 54 of file xnamecontainer.hxx.

Referenced by testInsertByName(), and testInsertByNameDuplicate().

◆ m_aName

OUString apitest::XNameContainer::m_aName
private

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