LibreOffice Module unotools (master) 1
Public Member Functions | Public Attributes | List of all members
TranslateId Struct Reference

#include <resmgr.hxx>

Public Member Functions

constexpr TranslateId ()
 
constexpr TranslateId (const char *pContext, const char *pId)
 
 operator bool () const
 
bool operator== (const TranslateId &other) const
 
bool operator!= (const TranslateId &other) const
 

Public Attributes

const char * mpContext
 
const char * mpId
 

Detailed Description

Definition at line 31 of file resmgr.hxx.

Constructor & Destructor Documentation

◆ TranslateId() [1/2]

constexpr TranslateId::TranslateId ( )
inlineconstexpr

Definition at line 36 of file resmgr.hxx.

References mpContext.

◆ TranslateId() [2/2]

constexpr TranslateId::TranslateId ( const char *  pContext,
const char *  pId 
)
inlineconstexpr

Definition at line 38 of file resmgr.hxx.

References mpContext.

Member Function Documentation

◆ operator bool()

TranslateId::operator bool ( ) const
inline

Definition at line 41 of file resmgr.hxx.

◆ operator!=()

bool TranslateId::operator!= ( const TranslateId other) const
inline

Definition at line 44 of file resmgr.hxx.

References utl::operator==().

◆ operator==()

bool TranslateId::operator== ( const TranslateId other) const

Definition at line 279 of file resmgr.cxx.

References mpContext, and mpId.

Member Data Documentation

◆ mpContext

const char* TranslateId::mpContext

Definition at line 33 of file resmgr.hxx.

Referenced by Translate::get(), and operator==().

◆ mpId

const char* TranslateId::mpId

Definition at line 34 of file resmgr.hxx.

Referenced by Translate::get(), and operator==().


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