LeechCraft Azoth 0.6.70-18808-g3467692359
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
LC::Azoth::StrongestId< Id > Struct Template Reference

#include "azothcommon.h"

Inheritance diagram for LC::Azoth::StrongestId< Id >:
Collaboration diagram for LC::Azoth::StrongestId< Id >:

Public Types

using Base = std::variant<Id<IdKind::Persistent>, Id<IdKind::Conventional>>

Public Member Functions

bool operator== (const StrongestId &) const =default
QString ToString () const
const BaseToVariant () const

Friends

size_t qHash (const StrongestId &strongestId, size_t seed=0)

Detailed Description

template<template< IdKind > typename Id>
struct LC::Azoth::StrongestId< Id >

Definition at line 64 of file azothcommon.h.

Member Typedef Documentation

◆ Base

template<template< IdKind > typename Id>
using LC::Azoth::StrongestId< Id >::Base = std::variant<Id<IdKind::Persistent>, Id<IdKind::Conventional>>

Definition at line 66 of file azothcommon.h.

Member Function Documentation

◆ operator==()

template<template< IdKind > typename Id>
bool LC::Azoth::StrongestId< Id >::operator== ( const StrongestId< Id > & ) const
default

◆ ToString()

template<template< IdKind > typename Id>
QString LC::Azoth::StrongestId< Id >::ToString ( ) const
inlinenodiscard

Definition at line 77 of file azothcommon.h.

Referenced by LC::Azoth::ICLEntry::GetEntryID().

Here is the caller graph for this function:

◆ ToVariant()

template<template< IdKind > typename Id>
const Base & LC::Azoth::StrongestId< Id >::ToVariant ( ) const
inlinenodiscard

Definition at line 82 of file azothcommon.h.

Referenced by LC::Azoth::GetAccountId(), and LC::Azoth::StrongestId< EntryId >::qHash.

Here is the caller graph for this function:

◆ qHash

template<template< IdKind > typename Id>
size_t qHash ( const StrongestId< Id > & strongestId,
size_t seed = 0 )
friend

Definition at line 71 of file azothcommon.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18808.g3467692359-build/leechcraft-0.6.70-18808-g3467692359/src/plugins/azoth/interfaces/azoth/azothcommon.h