Kanzi 3.9.10
kanzi::ResourceID Class Reference

Resource ID. More...

#include <kanzi/core/property/resource_id.hpp>

Public Member Functions

const charc_str () const
 
bool empty () const
 
size_t getHash () const
 
bool isURL () const
 
ResourceIDoperator= (const ResourceID &other)
 
ResourceIDoperator= (ResourceID &&other) noexcept
 
 ResourceID ()=default
 
 ResourceID (const char *id)
 Constructor.
 
 ResourceID (const ResourceID &other)
 
 ResourceID (ResourceID &&other) noexcept
 
 ResourceID (string_view id)
 Constructor.
 
string toString () const
 

Friends

struct KZ_CPP_NAMESPACE_TR1::hash< ResourceID >
 
bool operator!= (const ResourceID &left, const ResourceID &right)
 
bool operator== (const ResourceID &left, const ResourceID &right)
 
void swap (ResourceID &left, ResourceID &right)
 

Detailed Description

Constructor & Destructor Documentation

◆ ResourceID() [1/5]

kanzi::ResourceID::ResourceID ( )
explicitdefault

◆ ResourceID() [2/5]

kanzi::ResourceID::ResourceID ( const char * id)
inlineexplicit

Constructor.

Parameters
idID to assume.

◆ ResourceID() [3/5]

kanzi::ResourceID::ResourceID ( string_view id)
inlineexplicit

Constructor.

Parameters
idID to assume.

◆ ResourceID() [4/5]

kanzi::ResourceID::ResourceID ( const ResourceID & other)
inline

◆ ResourceID() [5/5]

kanzi::ResourceID::ResourceID ( ResourceID && other)
inlinenoexcept

Member Function Documentation

◆ operator=() [1/2]

ResourceID & kanzi::ResourceID::operator= ( const ResourceID & other)
inline

◆ operator=() [2/2]

ResourceID & kanzi::ResourceID::operator= ( ResourceID && other)
inlinenoexcept

◆ toString()

string kanzi::ResourceID::toString ( ) const
inline

◆ c_str()

const char * kanzi::ResourceID::c_str ( ) const
inline

◆ empty()

bool kanzi::ResourceID::empty ( ) const
inline

◆ isURL()

bool kanzi::ResourceID::isURL ( ) const
inline

◆ getHash()

size_t kanzi::ResourceID::getHash ( ) const
inline

Friends And Related Symbol Documentation

◆ KZ_CPP_NAMESPACE_TR1::hash< ResourceID >

friend struct KZ_CPP_NAMESPACE_TR1::hash< ResourceID >
friend

◆ swap

void swap ( ResourceID & left,
ResourceID & right )
friend

◆ operator==

bool operator== ( const ResourceID & left,
const ResourceID & right )
friend

◆ operator!=

bool operator!= ( const ResourceID & left,
const ResourceID & right )
friend

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