LibreOffice Module idl (master) 1
|
#include <types.hxx>
Public Member Functions | |
SvMetaType () | |
SvMetaType (const OString &rTypeName) | |
virtual | ~SvMetaType () override |
virtual void | ReadContextSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) override |
SvRefMemberList< SvMetaAttribute * > & | GetAttrList () |
size_t | GetAttrCount () const |
void | SetType (MetaTypeType nT) |
MetaTypeType | GetMetaTypeType () const |
SvMetaType * | GetBaseType () const |
SvMetaType * | GetReturnType () const |
void | SetItem (bool b) |
bool | IsItem () const |
virtual bool | ReadSvIdl (SvIdlDataBase &, SvTokenStream &rInStm) override |
size_t | MakeSfx (OStringBuffer &rAtrrArray) |
virtual void | WriteSfx (SvIdlDataBase &rBase, SvStream &rOutStm) |
bool | ReadMethodArgs (SvIdlDataBase &rBase, SvTokenStream &rInStm) |
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 |
Protected Member Functions | |
bool | ReadHeaderSvIdl (SvTokenStream &rInStm) |
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 |
Private Member Functions | |
void | WriteSfxItem (std::string_view rItemName, SvIdlDataBase const &rBase, SvStream &rOutStm) |
Private Attributes | |
SvRefMemberList< SvMetaAttribute * > | aAttrList |
MetaTypeType | nType |
bool | bIsItem |
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 &) |
SvMetaType::SvMetaType | ( | const OString & | rTypeName | ) |
Definition at line 128 of file types.cxx.
References SvMetaObject::SetName().
|
inline |
Definition at line 72 of file types.hxx.
References aAttrList.
Referenced by MakeSfx(), SvMetaSlot::WriteSlot(), and SvMetaSlot::WriteSlotMap().
|
inline |
Definition at line 71 of file types.hxx.
References aAttrList.
Referenced by ReadContextSvIdl(), and SvMetaSlot::WriteSlotParamArray().
SvMetaType * SvMetaType::GetBaseType | ( | ) | const |
Definition at line 142 of file types.cxx.
References Base, GetBaseType(), GetMetaTypeType(), and SvMetaReference::GetRef().
Referenced by GetBaseType(), MakeSfx(), SvMetaAttribute::MakeSfx(), and WriteSfx().
|
inline |
Definition at line 75 of file types.hxx.
References nType.
Referenced by GetBaseType(), GetReturnType(), SvMetaClass::InsertSlots(), SvMetaSlot::IsMethod(), SvMetaSlot::IsVariable(), MakeSfx(), SvMetaAttribute::MakeSfx(), SvMetaSlot::Test(), WriteSfx(), and SvMetaClass::WriteSfx().
SvMetaType * SvMetaType::GetReturnType | ( | ) | const |
Definition at line 149 of file types.cxx.
References DBG_ASSERT, GetMetaTypeType(), SvMetaReference::GetRef(), and Method.
Referenced by SvMetaSlot::Test(), and SvMetaSlot::WriteSlot().
|
inline |
Definition at line 79 of file types.hxx.
References bIsItem.
Referenced by SvMetaClass::ReadContextSvIdl(), SvIdlParser::ReadInterfaceOrShellEntry(), SvMetaSlot::Test(), WriteSfx(), and SvMetaSlot::WriteSlot().
size_t SvMetaType::MakeSfx | ( | OStringBuffer & | rAtrrArray | ) |
Definition at line 199 of file types.cxx.
References aAttrList, GetAttrCount(), GetBaseType(), GetMetaTypeType(), n, and Struct.
Referenced by SvMetaAttribute::MakeSfx(), and WriteSfxItem().
|
overridevirtual |
Reimplemented from SvMetaObject.
Reimplemented in SvMetaClass.
Definition at line 188 of file types.cxx.
References tools::SvRef< typename T >::get(), GetAttrList(), and SvRefMemberList< T >::push_back().
|
protected |
Definition at line 156 of file types.cxx.
References SvTokenStream::GetToken_Next(), Interface, SvToken::Is(), SvMetaObject::ReadNameSvIdl(), SvTokenStream::Seek(), SetType(), Shell, and SvTokenStream::Tell().
Referenced by ReadSvIdl().
bool SvMetaType::ReadMethodArgs | ( | SvIdlDataBase & | rBase, |
SvTokenStream & | rInStm | ||
) |
Definition at line 285 of file types.cxx.
References SvMetaObject::DoReadContextSvIdl(), Method, SvTokenStream::ReadIf(), SvTokenStream::Seek(), SetType(), and SvTokenStream::Tell().
|
overridevirtual |
Reimplemented from SvMetaObject.
Definition at line 177 of file types.cxx.
References ReadHeaderSvIdl(), SvMetaObject::ReadSvIdl(), and SvIdlDataBase::Write().
|
inline |
void SvMetaType::SetType | ( | MetaTypeType | nT | ) |
Definition at line 137 of file types.cxx.
References nType.
Referenced by ReadHeaderSvIdl(), and ReadMethodArgs().
|
virtual |
Reimplemented in SvMetaClass.
Definition at line 274 of file types.cxx.
References GetBaseType(), GetMetaTypeType(), SvMetaReference::GetName(), IsItem(), Struct, and WriteSfxItem().
Referenced by SvIdlWorkingBase::WriteSfx().
|
private |
Definition at line 217 of file types.cxx.
References endl(), MakeSfx(), SvIdlDataBase::sSlotMapFile, SvStream::WriteChar(), SvStream::WriteOString(), and SvMetaObject::WriteStars().
Referenced by WriteSfx().
|
private |
Definition at line 54 of file types.hxx.
Referenced by GetAttrCount(), GetAttrList(), and MakeSfx().
|
private |
|
private |
Definition at line 55 of file types.hxx.
Referenced by GetMetaTypeType(), and SetType().