All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::ResourceID Class Reference

Resource ID. More...

#include <kanzi/property/resource_id.hpp>

Public Member Functions

 ResourceID ()
 
 ResourceID (const char *id)
 
 ResourceID (string_view id)
 Constructor. More...
 
string toString () const
 
const char * c_str () const
 
bool empty () const
 
bool isURL () const
 

Friends

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.

Member Function Documentation

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

Friends And Related Function Documentation

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: