LibreOffice Module idl (master) 1
|
#include <slot.hxx>
Public Member Functions | |
void | WriteSlot (std::string_view rShellName, sal_uInt16 nCount, std::string_view rSlotId, SvSlotElementList &rList, size_t nStart, SvIdlDataBase &rBase, SvStream &rOutStm) |
bool | IsVariable () const |
bool | IsMethod () const |
void | SetRecordPerItem (bool bSet) |
void | SetRecordPerSet (bool bSet) |
void | SetNoRecord (bool bSet) |
SvMetaSlot () | |
SvMetaSlot (SvMetaType *pType) | |
const OString & | GetGroupId () const |
reference disbandment More... | |
const OString & | GetExecMethod () const |
const OString & | GetStateMethod () const |
const OString & | GetDisableFlags () const |
bool | GetToggle () const |
bool | GetAutoUpdate () const |
bool | GetAsynchron () const |
bool | GetRecordPerItem () const |
bool | GetRecordPerSet () const |
bool | GetNoRecord () const |
bool | GetRecordAbsolute () const |
bool | GetMenuConfig () const |
bool | GetToolBoxConfig () const |
bool | GetAccelConfig () const |
bool | GetFastCall () const |
bool | GetContainer () const |
bool | GetReadOnlyDoc () const |
sal_uInt32 | GetListPos () const |
void | SetListPos (sal_uInt32 n) |
void | ResetSlotPointer () |
virtual bool | Test (SvTokenStream &rInStm) override |
virtual void | ReadAttributesSvIdl (SvIdlDataBase &rBase, SvTokenStream &rInStm) override |
virtual bool | ReadSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) override |
virtual void | Insert (SvSlotElementList &) override |
void | WriteSlotStubs (std::string_view rShellName, std::vector< OString > &rList, SvStream &rOutStm) const |
sal_uInt16 | WriteSlotMap (std::string_view rShellName, sal_uInt16 nCount, SvSlotElementList &, size_t nStart, SvIdlDataBase &rBase, SvStream &rOutStm) |
sal_uInt16 | WriteSlotParamArray (SvIdlDataBase &rBase, SvStream &rOutStm) const |
Public Member Functions inherited from SvMetaAttribute | |
SvMetaAttribute () | |
SvMetaAttribute (SvMetaType *) | |
void | SetSlotId (const SvIdentifier &rId) |
const SvIdentifier & | GetSlotId () const |
SvMetaType * | GetType () const |
virtual bool | Test (SvTokenStream &rInStm) |
virtual bool | ReadSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) override |
size_t | MakeSfx (OStringBuffer &rAtrrArray) const |
virtual void | Insert (SvSlotElementList &) |
Public Member Functions inherited from SvMetaReference | |
SvMetaReference () | |
const OString & | GetName () const override |
SvMetaReference * | GetRef () const |
void | SetRef (SvMetaReference *pRef) |
Public Member Functions inherited from SvMetaObject | |
SvMetaObject () | |
void | SetName (const OString &rName) |
virtual const OString & | GetName () const |
virtual bool | ReadSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Public Attributes | |
SvIdentifier | aGroupId |
SvIdentifier | aExecMethod |
SvIdentifier | aStateMethod |
SvBOOL | aToggle |
SvBOOL | aAutoUpdate |
SvBOOL | aAsynchron |
SvBOOL | aRecordPerItem |
SvBOOL | aRecordPerSet |
SvBOOL | aNoRecord |
SvBOOL | aRecordAbsolute |
SvBOOL | aMenuConfig |
SvBOOL | aToolBoxConfig |
SvBOOL | aAccelConfig |
SvBOOL | aFastCall |
SvBOOL | aContainer |
OString | aDisableFlags |
SvMetaSlot * | pNextSlot |
sal_uInt32 | nListPos |
SvBOOL | aReadOnlyDoc |
Public Attributes inherited from SvMetaAttribute | |
tools::SvRef< SvMetaType > | aType |
SvIdentifier | aSlotId |
Additional Inherited Members | |
Static Public Member Functions inherited from SvMetaObject | |
static void | WriteTab (SvStream &rOutStm, sal_uInt16 nTab) |
static void | Back2Delimiter (SvStream &) |
static void | WriteStars (SvStream &) |
Protected Member Functions inherited from SvMetaObject | |
bool | ReadNameSvIdl (SvTokenStream &rInStm) |
void | DoReadContextSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) |
virtual void | ReadContextSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) |
virtual void | ReadAttributesSvIdl (SvIdlDataBase &rBase, SvTokenStream &rInStm) |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
SvMetaSlot::SvMetaSlot | ( | SvMetaType * | pType | ) |
bool SvMetaSlot::GetAccelConfig | ( | ) | const |
Definition at line 148 of file slot.cxx.
References aAccelConfig, GetAccelConfig(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetAccelConfig(), and WriteSlot().
bool SvMetaSlot::GetAsynchron | ( | ) | const |
Definition at line 101 of file slot.cxx.
References aAsynchron, GetAsynchron(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetAsynchron(), and WriteSlot().
bool SvMetaSlot::GetAutoUpdate | ( | ) | const |
Definition at line 96 of file slot.cxx.
References aAutoUpdate, GetAutoUpdate(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetAutoUpdate(), and WriteSlot().
bool SvMetaSlot::GetContainer | ( | ) | const |
Definition at line 158 of file slot.cxx.
References aContainer, GetContainer(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetContainer(), and WriteSlot().
const OString & SvMetaSlot::GetDisableFlags | ( | ) | const |
Definition at line 76 of file slot.cxx.
References aDisableFlags, GetDisableFlags(), and SvMetaReference::GetRef().
Referenced by GetDisableFlags(), and WriteSlot().
const OString & SvMetaSlot::GetExecMethod | ( | ) | const |
Definition at line 81 of file slot.cxx.
References aExecMethod, GetExecMethod(), SvMetaReference::GetRef(), and SvIdentifier::getString().
Referenced by GetExecMethod(), WriteSlot(), and WriteSlotStubs().
bool SvMetaSlot::GetFastCall | ( | ) | const |
Definition at line 153 of file slot.cxx.
References aFastCall, GetFastCall(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetFastCall(), and WriteSlot().
const OString & SvMetaSlot::GetGroupId | ( | ) | const |
reference disbandment
Definition at line 71 of file slot.cxx.
References aGroupId, GetGroupId(), SvMetaReference::GetRef(), and SvIdentifier::getString().
Referenced by GetGroupId(), and WriteSlot().
|
inline |
bool SvMetaSlot::GetMenuConfig | ( | ) | const |
Definition at line 138 of file slot.cxx.
References aMenuConfig, GetMenuConfig(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetMenuConfig(), and WriteSlot().
bool SvMetaSlot::GetNoRecord | ( | ) | const |
Definition at line 124 of file slot.cxx.
References aNoRecord, aRecordPerItem, aRecordPerSet, GetNoRecord(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetNoRecord(), and WriteSlot().
bool SvMetaSlot::GetReadOnlyDoc | ( | ) | const |
Definition at line 46 of file slot.cxx.
References aReadOnlyDoc, GetReadOnlyDoc(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetReadOnlyDoc(), and WriteSlot().
bool SvMetaSlot::GetRecordAbsolute | ( | ) | const |
Definition at line 132 of file slot.cxx.
References aRecordAbsolute, GetRecordAbsolute(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetRecordAbsolute(), and WriteSlot().
bool SvMetaSlot::GetRecordPerItem | ( | ) | const |
Definition at line 108 of file slot.cxx.
References aNoRecord, aRecordPerItem, aRecordPerSet, GetRecordPerItem(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetRecordPerItem(), and WriteSlot().
bool SvMetaSlot::GetRecordPerSet | ( | ) | const |
Definition at line 116 of file slot.cxx.
References aNoRecord, aRecordPerItem, aRecordPerSet, GetRecordPerSet(), SvMetaReference::GetRef(), and SvBOOL::IsSet().
Referenced by GetRecordPerSet(), and WriteSlot().
const OString & SvMetaSlot::GetStateMethod | ( | ) | const |
Definition at line 86 of file slot.cxx.
References aStateMethod, SvMetaReference::GetRef(), GetStateMethod(), and SvIdentifier::getString().
Referenced by GetStateMethod(), WriteSlot(), and WriteSlotStubs().
bool SvMetaSlot::GetToggle | ( | ) | const |
Definition at line 91 of file slot.cxx.
References aToggle, SvMetaReference::GetRef(), GetToggle(), and SvBOOL::IsSet().
Referenced by GetToggle(), and WriteSlot().
bool SvMetaSlot::GetToolBoxConfig | ( | ) | const |
Definition at line 143 of file slot.cxx.
References aToolBoxConfig, SvMetaReference::GetRef(), GetToolBoxConfig(), and SvBOOL::IsSet().
Referenced by GetToolBoxConfig(), and WriteSlot().
|
overridevirtual |
Reimplemented from SvMetaAttribute.
Definition at line 264 of file slot.cxx.
References DBG_ASSERT, SvMetaAttribute::GetSlotId(), SvIdentifier::GetValue(), GetValue, SvRefMemberList< T >::insert(), nId, nPos, and SvRefMemberList< T >::push_back().
bool SvMetaSlot::IsMethod | ( | ) | const |
Definition at line 58 of file slot.cxx.
References SvMetaType::GetMetaTypeType(), SvMetaAttribute::GetType(), and Method.
Referenced by WriteSlot(), WriteSlotMap(), and WriteSlotParamArray().
bool SvMetaSlot::IsVariable | ( | ) | const |
Definition at line 52 of file slot.cxx.
References SvMetaType::GetMetaTypeType(), SvMetaAttribute::GetType(), and Method.
Referenced by WriteSlot().
|
overridevirtual |
Reimplemented from SvMetaObject.
Definition at line 164 of file slot.cxx.
References aAccelConfig, aAsynchron, aAutoUpdate, aContainer, aDisableFlags, aExecMethod, aFastCall, aGroupId, aMenuConfig, aNoRecord, aReadOnlyDoc, aRecordAbsolute, aRecordPerItem, aRecordPerSet, aStateMethod, aToggle, aToolBoxConfig, SvMetaObject::ReadAttributesSvIdl(), ReadStringSvIdl(), SvBOOL::ReadSvIdl(), SvIdentifier::ReadSvIdl(), SetNoRecord(), SetRecordPerItem(), and SetRecordPerSet().
|
overridevirtual |
Reimplemented from SvMetaAttribute.
Definition at line 217 of file slot.cxx.
References SvIdlDataBase::FindKnownAttr(), SvMetaReference::GetName(), SvMetaAttribute::GetSlotId(), SvMetaAttribute::GetType(), SvIdlDataBase::ReadKnownAttr(), SvMetaObject::ReadSvIdl(), SvMetaAttribute::ReadSvIdl(), SvTokenStream::Seek(), SvMetaObject::SetName(), SvMetaReference::SetRef(), and SvTokenStream::Tell().
|
inline |
Definition at line 111 of file slot.hxx.
References pNextSlot.
Referenced by SvMetaClass::WriteSfx().
|
inline |
Definition at line 109 of file slot.hxx.
Referenced by SvMetaClass::WriteSfx().
|
inline |
Definition at line 75 of file slot.hxx.
References aNoRecord, aRecordPerItem, and aRecordPerSet.
Referenced by ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
|
inline |
Definition at line 63 of file slot.hxx.
References aNoRecord, aRecordPerItem, and aRecordPerSet.
Referenced by ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
|
inline |
Definition at line 69 of file slot.hxx.
References aNoRecord, aRecordPerItem, and aRecordPerSet.
Referenced by ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
|
overridevirtual |
Reimplemented from SvMetaAttribute.
Definition at line 200 of file slot.cxx.
References SvMetaType::GetMetaTypeType(), SvMetaType::GetReturnType(), SvMetaAttribute::GetType(), SvMetaType::IsItem(), Method, and SvMetaAttribute::Test().
void SvMetaSlot::WriteSlot | ( | std::string_view | rShellName, |
sal_uInt16 | nCount, | ||
std::string_view | rSlotId, | ||
SvSlotElementList & | rList, | ||
size_t | nStart, | ||
SvIdlDataBase & | rBase, | ||
SvStream & | rOutStm | ||
) |
Definition at line 389 of file slot.cxx.
References SvIdlDataBase::aUsedTypes, endl(), SvIdlDataBase::FindType(), GetAccelConfig(), GetAsynchron(), SvMetaType::GetAttrCount(), GetAutoUpdate(), GetContainer(), GetDisableFlags(), GetExecMethod(), GetFastCall(), GetGroupId(), GetListPos(), GetMenuConfig(), SvMetaReference::GetName(), GetNoRecord(), GetReadOnlyDoc(), GetRecordAbsolute(), GetRecordPerItem(), GetRecordPerSet(), SvMetaType::GetReturnType(), SvMetaAttribute::GetSlotId(), GetStateMethod(), GetToggle(), GetToolBoxConfig(), SvMetaAttribute::GetType(), GetValue, i, SvMetaType::IsItem(), IsMethod(), IsVariable(), MakeSlotName(), nCount, nListPos, pNextSlot, SvRefMemberList< T >::push_back(), SvStream::WriteChar(), SvStream::WriteOString(), and SvMetaObject::WriteTab().
Referenced by WriteSlotMap().
sal_uInt16 SvMetaSlot::WriteSlotMap | ( | std::string_view | rShellName, |
sal_uInt16 | nCount, | ||
SvSlotElementList & | rSlotList, | ||
size_t | nStart, | ||
SvIdlDataBase & | rBase, | ||
SvStream & | rOutStm | ||
) |
Definition at line 600 of file slot.cxx.
References SvMetaType::GetAttrCount(), SvMetaAttribute::GetSlotId(), SvIdentifier::getString(), SvMetaAttribute::GetType(), IsMethod(), nCount, and WriteSlot().
Referenced by SvMetaClass::WriteSlots().
sal_uInt16 SvMetaSlot::WriteSlotParamArray | ( | SvIdlDataBase & | rBase, |
SvStream & | rOutStm | ||
) | const |
Definition at line 570 of file slot.cxx.
References SvIdlDataBase::aUsedTypes, endl(), SvIdlDataBase::FindType(), SvMetaType::GetAttrList(), SvMetaReference::GetName(), SvMetaAttribute::GetSlotId(), SvIdentifier::getString(), SvMetaAttribute::GetType(), IsMethod(), n, SvRefMemberList< T >::push_back(), SvStream::WriteOString(), and SvMetaObject::WriteTab().
Referenced by SvMetaClass::WriteSlotParamArray().
void SvMetaSlot::WriteSlotStubs | ( | std::string_view | rShellName, |
std::vector< OString > & | rList, | ||
SvStream & | rOutStm | ||
) | const |
Definition at line 335 of file slot.cxx.
References endl(), GetExecMethod(), GetStateMethod(), n, SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by SvMetaClass::WriteSlotStubs().
SvBOOL SvMetaSlot::aAccelConfig |
Definition at line 46 of file slot.hxx.
Referenced by GetAccelConfig(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aAsynchron |
Definition at line 37 of file slot.hxx.
Referenced by GetAsynchron(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aAutoUpdate |
Definition at line 35 of file slot.hxx.
Referenced by GetAutoUpdate(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aContainer |
Definition at line 48 of file slot.hxx.
Referenced by GetContainer(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
OString SvMetaSlot::aDisableFlags |
Definition at line 49 of file slot.hxx.
Referenced by GetDisableFlags(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvIdentifier SvMetaSlot::aExecMethod |
Definition at line 31 of file slot.hxx.
Referenced by GetExecMethod(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aFastCall |
Definition at line 47 of file slot.hxx.
Referenced by GetFastCall(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvIdentifier SvMetaSlot::aGroupId |
Definition at line 30 of file slot.hxx.
Referenced by GetGroupId(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aMenuConfig |
Definition at line 44 of file slot.hxx.
Referenced by GetMenuConfig(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aNoRecord |
Definition at line 41 of file slot.hxx.
Referenced by GetNoRecord(), GetRecordPerItem(), GetRecordPerSet(), ReadAttributesSvIdl(), SvIdlParser::ReadSlotAttribute(), SetNoRecord(), SetRecordPerItem(), and SetRecordPerSet().
SvBOOL SvMetaSlot::aReadOnlyDoc |
Definition at line 52 of file slot.hxx.
Referenced by GetReadOnlyDoc(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aRecordAbsolute |
Definition at line 42 of file slot.hxx.
Referenced by GetRecordAbsolute(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aRecordPerItem |
Definition at line 39 of file slot.hxx.
Referenced by GetNoRecord(), GetRecordPerItem(), GetRecordPerSet(), ReadAttributesSvIdl(), SvIdlParser::ReadSlotAttribute(), SetNoRecord(), SetRecordPerItem(), and SetRecordPerSet().
SvBOOL SvMetaSlot::aRecordPerSet |
Definition at line 40 of file slot.hxx.
Referenced by GetNoRecord(), GetRecordPerItem(), GetRecordPerSet(), ReadAttributesSvIdl(), SvIdlParser::ReadSlotAttribute(), SetNoRecord(), SetRecordPerItem(), and SetRecordPerSet().
SvIdentifier SvMetaSlot::aStateMethod |
Definition at line 32 of file slot.hxx.
Referenced by GetStateMethod(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aToggle |
Definition at line 34 of file slot.hxx.
Referenced by GetToggle(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
SvBOOL SvMetaSlot::aToolBoxConfig |
Definition at line 45 of file slot.hxx.
Referenced by GetToolBoxConfig(), ReadAttributesSvIdl(), and SvIdlParser::ReadSlotAttribute().
sal_uInt32 SvMetaSlot::nListPos |
Definition at line 51 of file slot.hxx.
Referenced by GetListPos(), SetListPos(), and WriteSlot().
SvMetaSlot* SvMetaSlot::pNextSlot |
Definition at line 50 of file slot.hxx.
Referenced by ResetSlotPointer(), and WriteSlot().