LibreOffice Module idl (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SvMetaType Class Reference

#include <types.hxx>

Inheritance diagram for SvMetaType:
[legend]
Collaboration diagram for SvMetaType:
[legend]

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
 
SvMetaTypeGetBaseType () const
 
SvMetaTypeGetReturnType () 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
 
SvMetaReferenceGetRef () 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 &)
 
SvRefBaseoperator= (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 &)
 

Detailed Description

Definition at line 52 of file types.hxx.

Constructor & Destructor Documentation

◆ SvMetaType() [1/2]

SvMetaType::SvMetaType ( )

Definition at line 122 of file types.cxx.

References nType.

◆ SvMetaType() [2/2]

SvMetaType::SvMetaType ( const OString &  rTypeName)

Definition at line 128 of file types.cxx.

References SvMetaObject::SetName().

◆ ~SvMetaType()

SvMetaType::~SvMetaType ( )
overridevirtual

Definition at line 134 of file types.cxx.

Member Function Documentation

◆ GetAttrCount()

size_t SvMetaType::GetAttrCount ( ) const
inline

Definition at line 72 of file types.hxx.

References aAttrList.

Referenced by MakeSfx(), SvMetaSlot::WriteSlot(), and SvMetaSlot::WriteSlotMap().

◆ GetAttrList()

SvRefMemberList< SvMetaAttribute * > & SvMetaType::GetAttrList ( )
inline

Definition at line 71 of file types.hxx.

References aAttrList.

Referenced by ReadContextSvIdl(), and SvMetaSlot::WriteSlotParamArray().

◆ GetBaseType()

SvMetaType * SvMetaType::GetBaseType ( ) const

◆ GetMetaTypeType()

MetaTypeType SvMetaType::GetMetaTypeType ( ) const
inline

◆ GetReturnType()

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().

◆ IsItem()

bool SvMetaType::IsItem ( ) const
inline

◆ MakeSfx()

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().

◆ ReadContextSvIdl()

void SvMetaType::ReadContextSvIdl ( SvIdlDataBase rBase,
SvTokenStream rInStm 
)
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().

◆ ReadHeaderSvIdl()

bool SvMetaType::ReadHeaderSvIdl ( SvTokenStream rInStm)
protected

◆ ReadMethodArgs()

bool SvMetaType::ReadMethodArgs ( SvIdlDataBase rBase,
SvTokenStream rInStm 
)

◆ ReadSvIdl()

bool SvMetaType::ReadSvIdl ( SvIdlDataBase rBase,
SvTokenStream rInStm 
)
overridevirtual

Reimplemented from SvMetaObject.

Definition at line 177 of file types.cxx.

References ReadHeaderSvIdl(), SvMetaObject::ReadSvIdl(), and SvIdlDataBase::Write().

◆ SetItem()

void SvMetaType::SetItem ( bool  b)
inline

Definition at line 78 of file types.hxx.

References bIsItem.

◆ SetType()

void SvMetaType::SetType ( MetaTypeType  nT)

Definition at line 137 of file types.cxx.

References nType.

Referenced by ReadHeaderSvIdl(), and ReadMethodArgs().

◆ WriteSfx()

void SvMetaType::WriteSfx ( SvIdlDataBase rBase,
SvStream rOutStm 
)
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().

◆ WriteSfxItem()

void SvMetaType::WriteSfxItem ( std::string_view  rItemName,
SvIdlDataBase const &  rBase,
SvStream rOutStm 
)
private

Member Data Documentation

◆ aAttrList

SvRefMemberList<SvMetaAttribute *> SvMetaType::aAttrList
private

Definition at line 54 of file types.hxx.

Referenced by GetAttrCount(), GetAttrList(), and MakeSfx().

◆ bIsItem

bool SvMetaType::bIsItem
private

Definition at line 56 of file types.hxx.

Referenced by IsItem(), and SetItem().

◆ nType

MetaTypeType SvMetaType::nType
private

Definition at line 55 of file types.hxx.

Referenced by GetMetaTypeType(), and SetType().


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