Viam C++ SDK current
|
A name for specific instances of resources. More...
#include <resource_api.hpp>
Public Member Functions | |
std::string | short_name () const |
std::string | to_string () const |
viam::common::v1::ResourceName | to_proto () const |
Name (API api, std::string remote_name, std::string name) | |
const API & | api () const |
const std::string & | name () const |
const std::string & | remote_name () const |
Static Public Member Functions | |
static Name | from_proto (const viam::common::v1::ResourceName &proto) |
static Name | from_string (std::string name) |
Friends | |
bool | operator== (const Name &lhs, const Name &rhs) |
std::ostream & | operator<< (std::ostream &os, const Name &v) |
A name for specific instances of resources.