Content Hub  0.2.0
A session-wide content-exchange service
com::ubuntu::content::Type Class Reference

#include <type.h>

+ Inheritance diagram for com::ubuntu::content::Type:
+ Collaboration diagram for com::ubuntu::content::Type:

Classes

struct  Known
 

Public Member Functions

virtual ~Type ()
 
 Type (const Type &)
 
Typeoperator= (const Type &)
 
bool operator== (const Type &) const
 
bool operator!= (const Type &) const
 
bool operator< (const Type &) const
 
virtual Q_INVOKABLE const QString & id () const
 

Static Public Member Functions

static const Typeunknown ()
 
static const Typeall ()
 

Protected Member Functions

 Type (const QString &, QObject *=nullptr)
 

Properties

QString id
 

Friends

struct Known
 
class detail::Service
 
class detail::Hook
 

Detailed Description

Definition at line 35 of file type.h.

Constructor & Destructor Documentation

§ ~Type()

virtual com::ubuntu::content::Type::~Type ( )
virtual

§ Type() [1/2]

com::ubuntu::content::Type::Type ( const Type )

§ Type() [2/2]

com::ubuntu::content::Type::Type ( const QString &  ,
QObject = nullptr 
)
explicitprotected

Member Function Documentation

§ all()

static const Type& com::ubuntu::content::Type::all ( )
static

§ id()

virtual Q_INVOKABLE const QString& com::ubuntu::content::Type::id ( ) const
virtual

§ operator!=()

bool com::ubuntu::content::Type::operator!= ( const Type ) const

§ operator<()

bool com::ubuntu::content::Type::operator< ( const Type ) const

§ operator=()

Type& com::ubuntu::content::Type::operator= ( const Type )

§ operator==()

bool com::ubuntu::content::Type::operator== ( const Type ) const

§ unknown()

static const Type& com::ubuntu::content::Type::unknown ( )
static

Friends And Related Function Documentation

§ detail::Hook

friend class detail::Hook
friend

Definition at line 70 of file type.h.

§ detail::Service

friend class detail::Service
friend

Definition at line 69 of file type.h.

§ Known

friend struct Known
friend

Definition at line 68 of file type.h.

Property Documentation

§ id

QString com::ubuntu::content::Type::id
read

Definition at line 38 of file type.h.


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