LibreOffice Module svl (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
DdeService Class Reference

#include <svdde.hxx>

Collaboration diagram for DdeService:
[legend]

Public Member Functions

 DdeService (SAL_UNUSED_PARAMETER const OUString &)
 
virtual ~DdeService ()
 
 DdeService (const DdeService &)=delete
 
DdeServiceoperator= (const DdeService &)=delete
 
OUString GetName () const
 
short GetError () const
 
std::vector< DdeTopic * > & GetTopics ()
 
void AddTopic (const DdeTopic &)
 
void RemoveTopic (const DdeTopic &)
 
void AddFormat (SotClipboardFormatId)
 
void RemoveFormat (SotClipboardFormatId)
 
bool HasFormat (SotClipboardFormatId)
 

Static Public Member Functions

static DdeServicesGetServices ()
 

Protected Member Functions

OUString Topics ()
 
OUString Formats ()
 
OUString SysItems ()
 
OUString Status ()
 
const DdeTopicGetSysTopic () const
 

Private Member Functions

SVL_DLLPRIVATE bool HasCbFormat (sal_uInt32)
 

Private Attributes

std::vector< DdeTopic * > aTopics
 
std::vector< sal_uInt32 > aFormats
 
DdeTopicpSysTopic
 
DdeStringpName
 
std::vector< std::unique_ptr< Conversation > > m_vConv
 
short nStatus
 

Friends

class DdeInternal
 

Detailed Description

Definition at line 276 of file svdde.hxx.

Constructor & Destructor Documentation

◆ DdeService() [1/2]

DdeService::DdeService ( SAL_UNUSED_PARAMETER const OUString &  )

◆ ~DdeService()

DdeService::~DdeService ( )
virtual

◆ DdeService() [2/2]

DdeService::DdeService ( const DdeService )
delete

Member Function Documentation

◆ AddFormat()

void DdeService::AddFormat ( SotClipboardFormatId  nFmt)

Definition at line 461 of file ddesvr.cxx.

References aFormats, DdeData::GetExternalFormat(), and HasCbFormat().

◆ AddTopic()

void DdeService::AddTopic ( const DdeTopic rTopic)

Definition at line 427 of file ddesvr.cxx.

References aTopics, and RemoveTopic().

◆ Formats()

OUString DdeService::Formats ( )
protected

Definition at line 772 of file ddesvr.cxx.

References aFormats, i, n, and SAL_N_ELEMENTS.

Referenced by DdeInternal::SvrCallback().

◆ GetError()

short DdeService::GetError ( ) const
inline

Definition at line 306 of file svdde.hxx.

◆ GetName()

OUString DdeService::GetName ( ) const

Definition at line 415 of file ddesvr.cxx.

References pName, and DdeString::toOUString().

◆ GetServices()

DdeServices & DdeService::GetServices ( )
static

Definition at line 420 of file ddesvr.cxx.

References ImpGetInstData(), and DdeInstData::pServicesSvr.

Referenced by DdeInternal::FindService(), and DdeInternal::SvrCallback().

◆ GetSysTopic()

const DdeTopic * DdeService::GetSysTopic ( ) const
inlineprotected

Definition at line 286 of file svdde.hxx.

◆ GetTopics()

std::vector< DdeTopic * > & DdeService::GetTopics ( )
inline

Definition at line 309 of file svdde.hxx.

◆ HasCbFormat()

bool DdeService::HasCbFormat ( sal_uInt32  nFmt)
private

Definition at line 451 of file ddesvr.cxx.

References aFormats.

Referenced by AddFormat(), HasFormat(), and DdeInternal::SvrCallback().

◆ HasFormat()

bool DdeService::HasFormat ( SotClipboardFormatId  nFmt)

Definition at line 456 of file ddesvr.cxx.

References DdeData::GetExternalFormat(), and HasCbFormat().

◆ operator=()

DdeService & DdeService::operator= ( const DdeService )
delete

References GetName().

◆ RemoveFormat()

void DdeService::RemoveFormat ( SotClipboardFormatId  nFmt)

Definition at line 469 of file ddesvr.cxx.

References aFormats, and DdeData::GetExternalFormat().

◆ RemoveTopic()

void DdeService::RemoveTopic ( const DdeTopic rTopic)

Definition at line 433 of file ddesvr.cxx.

References aTopics, m_vConv, and n.

Referenced by AddTopic().

◆ Status()

OUString DdeService::Status ( )
protected

Definition at line 806 of file ddesvr.cxx.

Referenced by DdeInternal::SvrCallback().

◆ SysItems()

OUString DdeService::SysItems ( )
protected

Definition at line 733 of file ddesvr.cxx.

References aTopics, and n.

Referenced by DdeInternal::SvrCallback().

◆ Topics()

OUString DdeService::Topics ( )
protected

Definition at line 755 of file ddesvr.cxx.

References aTopics, and n.

Referenced by DdeInternal::SvrCallback().

Friends And Related Function Documentation

◆ DdeInternal

friend class DdeInternal
friend

Definition at line 278 of file svdde.hxx.

Member Data Documentation

◆ aFormats

std::vector< sal_uInt32 > DdeService::aFormats
private

Definition at line 289 of file svdde.hxx.

Referenced by AddFormat(), Formats(), HasCbFormat(), and RemoveFormat().

◆ aTopics

std::vector<DdeTopic*> DdeService::aTopics
private

Definition at line 288 of file svdde.hxx.

Referenced by AddTopic(), DdeInternal::FindTopic(), RemoveTopic(), SysItems(), and Topics().

◆ m_vConv

std::vector<std::unique_ptr<Conversation> > DdeService::m_vConv
private

Definition at line 293 of file svdde.hxx.

Referenced by RemoveTopic(), and DdeInternal::SvrCallback().

◆ nStatus

short DdeService::nStatus
private

Definition at line 294 of file svdde.hxx.

◆ pName

DdeString* DdeService::pName
private

Definition at line 291 of file svdde.hxx.

Referenced by GetName(), and ~DdeService().

◆ pSysTopic

DdeTopic* DdeService::pSysTopic
private

Definition at line 290 of file svdde.hxx.

Referenced by ~DdeService().


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