Small helper class to help deal with legacy YARP configuration files.
More...
#include <yarp/os/impl/NameConfig.h>
Small helper class to help deal with legacy YARP configuration files.
Definition at line 27 of file NameConfig.h.
◆ expandFilename()
std::string NameConfig::expandFilename |
( |
const char * |
fname | ) |
|
|
static |
◆ fromFile()
bool NameConfig::fromFile |
( |
const char * |
ns = nullptr | ) |
|
◆ getAddress()
◆ getConfigFileName()
std::string NameConfig::getConfigFileName |
( |
const char * |
stem = nullptr , |
|
|
const char * |
ns = nullptr |
|
) |
| |
◆ getHostName()
std::string NameConfig::getHostName |
( |
bool |
prefer_loopback = false , |
|
|
const std::string & |
seed = "" |
|
) |
| |
|
static |
◆ getIps()
std::string NameConfig::getIps |
( |
| ) |
|
|
static |
◆ getIpsAsBottle()
◆ getMode()
std::string yarp::os::impl::NameConfig::getMode |
( |
| ) |
|
|
inline |
◆ getNamespace()
std::string NameConfig::getNamespace |
( |
bool |
refresh = false | ) |
|
◆ getNamespaces()
Bottle NameConfig::getNamespaces |
( |
bool |
refresh = false | ) |
|
◆ getSafeString()
std::string NameConfig::getSafeString |
( |
const std::string & |
txt | ) |
|
◆ isLocalName()
bool NameConfig::isLocalName |
( |
const std::string & |
name | ) |
|
|
static |
◆ readConfig()
std::string NameConfig::readConfig |
( |
const std::string & |
fileName | ) |
|
◆ setAddress()
void NameConfig::setAddress |
( |
const Contact & |
address | ) |
|
◆ setMode()
void yarp::os::impl::NameConfig::setMode |
( |
const std::string & |
mode | ) |
|
|
inline |
◆ setNamespace()
void NameConfig::setNamespace |
( |
const std::string & |
ns | ) |
|
◆ toFile()
bool NameConfig::toFile |
( |
bool |
clean = false | ) |
|
◆ writeConfig()
bool NameConfig::writeConfig |
( |
const std::string & |
fileName, |
|
|
const std::string & |
text |
|
) |
| |
The documentation for this class was generated from the following files: