ResourceIdentifier Struct Reference

#include <network_service_discovery.h>

Detailed Description

A named resource with a specific version and a qualified domain name.

Public Member Functions

 ResourceIdentifier ()=default
 
 ResourceIdentifier (const ResourceIdentifier &)=default
 
ResourceIdentifieroperator= (const ResourceIdentifier &)=default
 
 ResourceIdentifier (ResourceIdentifier &&)=default
 
ResourceIdentifieroperator= (ResourceIdentifier &&)=default
 
 ResourceIdentifier (const String &domainIn, const String &nameIn, Int versionIn=0)
 

Public Attributes

String domain
 
String name
 
Int version
 

Friends

Bool operator== (const ResourceIdentifier &lhs, const ResourceIdentifier &rhs)
 
Bool operator!= (const ResourceIdentifier &lhs, const ResourceIdentifier &rhs)
 

Constructor & Destructor Documentation

◆ ResourceIdentifier() [1/4]

ResourceIdentifier ( )
default

◆ ResourceIdentifier() [2/4]

ResourceIdentifier ( const ResourceIdentifier )
default

◆ ResourceIdentifier() [3/4]

◆ ResourceIdentifier() [4/4]

ResourceIdentifier ( const String domainIn,
const String nameIn,
Int  versionIn = 0 
)

Member Function Documentation

◆ operator=() [1/2]

ResourceIdentifier& operator= ( const ResourceIdentifier )
default

◆ operator=() [2/2]

ResourceIdentifier& operator= ( ResourceIdentifier &&  )
default

Friends And Related Function Documentation

◆ operator==

Bool operator== ( const ResourceIdentifier lhs,
const ResourceIdentifier rhs 
)
friend

◆ operator!=

Bool operator!= ( const ResourceIdentifier lhs,
const ResourceIdentifier rhs 
)
friend

Member Data Documentation

◆ domain

String domain

◆ name

String name

◆ version

Int version