Viam C++ SDK current
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
viam::sdk::Name Class Reference

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 APIapi () 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)
 

Detailed Description

A name for specific instances of resources.


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