Kanzi  3.9.7
Kanzi Engine API
kanzi::ResourceID Class Reference

Resource ID. More...

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

Public Member Functions

const char * c_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. More...
 
 ResourceID (string_view id)
 Constructor. More...
 
 ResourceID (const ResourceID &other)
 
 ResourceID (ResourceID &&other) noexcept
 
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

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

Constructor.

Parameters
idID to assume.
kanzi::ResourceID::ResourceID ( string_view  id)
inlineexplicit

Constructor.

Parameters
idID to assume.
kanzi::ResourceID::ResourceID ( const ResourceID other)
inline
kanzi::ResourceID::ResourceID ( ResourceID &&  other)
inlinenoexcept

Member Function Documentation

ResourceID& kanzi::ResourceID::operator= ( const ResourceID other)
inline
ResourceID& kanzi::ResourceID::operator= ( ResourceID &&  other)
inlinenoexcept
string kanzi::ResourceID::toString ( ) const
inline
const char* kanzi::ResourceID::c_str ( ) const
inline
bool kanzi::ResourceID::empty ( ) const
inline
bool kanzi::ResourceID::isURL ( ) const
inline
size_t kanzi::ResourceID::getHash ( ) const
inline

Friends And Related Function Documentation

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

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