LibreOffice Module unoidl (master) 1
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
unoidl::detail::SourceProviderInterfaceTypeEntityPad Class Reference

#include <sourceprovider-scanner.hxx>

Inheritance diagram for unoidl::detail::SourceProviderInterfaceTypeEntityPad:
[legend]
Collaboration diagram for unoidl::detail::SourceProviderInterfaceTypeEntityPad:
[legend]

Classes

struct  DirectBase
 
struct  Member
 

Public Types

enum  BaseKind {
  BASE_INDIRECT_OPTIONAL ,
  BASE_DIRECT_OPTIONAL ,
  BASE_INDIRECT_MANDATORY ,
  BASE_DIRECT_MANDATORY
}
 

Public Member Functions

 SourceProviderInterfaceTypeEntityPad (bool published, bool theSingleBase)
 
bool addDirectBase (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, DirectBase const &base, bool optional)
 
bool addDirectMember (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, OUString const &name)
 
- Public Member Functions inherited from unoidl::detail::SourceProviderEntityPad
bool isPublished () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Public Attributes

bool singleBase
 
std::vector< DirectBasedirectMandatoryBases
 
std::vector< DirectBasedirectOptionalBases
 
std::vector< unoidl::InterfaceTypeEntity::AttributedirectAttributes
 
std::vector< unoidl::InterfaceTypeEntity::MethoddirectMethods
 
std::map< OUString, BaseKindallBases
 
std::map< OUString, MemberallMembers
 

Private Member Functions

virtual ~SourceProviderInterfaceTypeEntityPad () noexcept override
 
bool checkBaseClashes (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, OUString const &name, rtl::Reference< unoidl::InterfaceTypeEntity > const &entity, bool direct, bool optional, bool outerOptional, std::set< OUString > *seen) const
 
bool checkMemberClashes (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, std::u16string_view interfaceName, OUString const &memberName, bool checkOptional) const
 
bool addBase (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, OUString const &directBaseName, OUString const &name, rtl::Reference< unoidl::InterfaceTypeEntity > const &entity, bool direct, bool optional)
 
bool addOptionalBaseMembers (YYLTYPE location, yyscan_t yyscanner, SourceProviderScannerData *data, OUString const &name, rtl::Reference< unoidl::InterfaceTypeEntity > const &entity)
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from unoidl::detail::SourceProviderEntityPad
 SourceProviderEntityPad (bool published)
 
virtual ~SourceProviderEntityPad () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 107 of file sourceprovider-scanner.hxx.

Member Enumeration Documentation

◆ BaseKind

Enumerator
BASE_INDIRECT_OPTIONAL 
BASE_DIRECT_OPTIONAL 
BASE_INDIRECT_MANDATORY 
BASE_DIRECT_MANDATORY 

Definition at line 122 of file sourceprovider-scanner.hxx.

Constructor & Destructor Documentation

◆ SourceProviderInterfaceTypeEntityPad()

unoidl::detail::SourceProviderInterfaceTypeEntityPad::SourceProviderInterfaceTypeEntityPad ( bool  published,
bool  theSingleBase 
)
inline

Definition at line 134 of file sourceprovider-scanner.hxx.

◆ ~SourceProviderInterfaceTypeEntityPad()

virtual unoidl::detail::SourceProviderInterfaceTypeEntityPad::~SourceProviderInterfaceTypeEntityPad ( )
inlineoverrideprivatevirtualnoexcept

Definition at line 155 of file sourceprovider-scanner.hxx.

Member Function Documentation

◆ addBase()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::addBase ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
OUString const &  directBaseName,
OUString const &  name,
rtl::Reference< unoidl::InterfaceTypeEntity > const &  entity,
bool  direct,
bool  optional 
)
private

◆ addDirectBase()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::addDirectBase ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
DirectBase const &  base,
bool  optional 
)

◆ addDirectMember()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::addDirectMember ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
OUString const &  name 
)

◆ addOptionalBaseMembers()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::addOptionalBaseMembers ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
OUString const &  name,
rtl::Reference< unoidl::InterfaceTypeEntity > const &  entity 
)
private

◆ checkBaseClashes()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::checkBaseClashes ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
OUString const &  name,
rtl::Reference< unoidl::InterfaceTypeEntity > const &  entity,
bool  direct,
bool  optional,
bool  outerOptional,
std::set< OUString > *  seen 
) const
private

◆ checkMemberClashes()

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::checkMemberClashes ( YYLTYPE  location,
yyscan_t  yyscanner,
SourceProviderScannerData data,
std::u16string_view  interfaceName,
OUString const &  memberName,
bool  checkOptional 
) const
private

Member Data Documentation

◆ allBases

std::map<OUString, BaseKind> unoidl::detail::SourceProviderInterfaceTypeEntityPad::allBases

Definition at line 151 of file sourceprovider-scanner.hxx.

◆ allMembers

std::map<OUString, Member> unoidl::detail::SourceProviderInterfaceTypeEntityPad::allMembers

Definition at line 152 of file sourceprovider-scanner.hxx.

◆ directAttributes

std::vector<unoidl::InterfaceTypeEntity::Attribute> unoidl::detail::SourceProviderInterfaceTypeEntityPad::directAttributes

Definition at line 149 of file sourceprovider-scanner.hxx.

◆ directMandatoryBases

std::vector<DirectBase> unoidl::detail::SourceProviderInterfaceTypeEntityPad::directMandatoryBases

Definition at line 147 of file sourceprovider-scanner.hxx.

◆ directMethods

std::vector<unoidl::InterfaceTypeEntity::Method> unoidl::detail::SourceProviderInterfaceTypeEntityPad::directMethods

Definition at line 150 of file sourceprovider-scanner.hxx.

◆ directOptionalBases

std::vector<DirectBase> unoidl::detail::SourceProviderInterfaceTypeEntityPad::directOptionalBases

Definition at line 148 of file sourceprovider-scanner.hxx.

◆ singleBase

bool unoidl::detail::SourceProviderInterfaceTypeEntityPad::singleBase

Definition at line 146 of file sourceprovider-scanner.hxx.


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