kanzi::ResourceID Class Reference

Resource ID. More...

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

Public Member Functions

 ResourceID ()
 
 ResourceID (const char *id)
 
 ResourceID (string_view id)
 Constructor. More...
 
 ResourceID (const ResourceID &other)
 
 ResourceID (KZ_RV_REF(ResourceID) other)
 
ResourceIDoperator= (KZ_COPY_ASSIGN_REF(ResourceID) other)
 
ResourceIDoperator= (KZ_RV_REF(ResourceID) other)
 
string toString () const
 
const char * c_str () const
 
bool empty () const
 
bool isURL () const
 
size_t getHash () const
 

Friends

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

Detailed Description

Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

ResourceID& kanzi::ResourceID::operator= ( KZ_COPY_ASSIGN_REF(ResourceID other)
inline
ResourceID& kanzi::ResourceID::operator= ( KZ_RV_REF(ResourceID other)
inline
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: