Namespaces | Functions | Variables
StringUtilities.h File Reference

Defines the StringUtilities namespace methods. More...

#include <string>
#include <vector>
#include <boost/regex.hpp>
#include <boost/algorithm/string.hpp>
#include "nasa_common_logging/Logger.h"
Include dependency graph for StringUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  StringUtilities

Functions

std::string StringUtilities::getFullyQualifiedRoboDynChain (const std::string &name)
std::string StringUtilities::getFullyQualifiedRobonetNode (const std::string &name)
std::string StringUtilities::getItem (const std::string &name)
std::string StringUtilities::getNumber (const std::string &name)
std::string StringUtilities::getRoboDynChain (const std::string &name)
std::string StringUtilities::getRoboDynEverythingButJoint (const std::string &name)
std::string StringUtilities::getRoboDynJoint (const std::string &name)
std::string StringUtilities::getRoboDynJointGroup (const std::string &name)
std::string StringUtilities::getRoboDynJointWithGroup (const std::string &name)
std::string StringUtilities::getRobonetChannel (const std::string &name)
std::string StringUtilities::getRobonetElement (const std::string &name)
std::string StringUtilities::getRobonetNode (const std::string &name)
bool StringUtilities::isFullyQualifiedRoboDynChain (const std::string &name)
bool StringUtilities::isFullyQualifiedRoboDynJoint (const std::string &name)
bool StringUtilities::isFullyQualifiedRoboDynJointWithGroup (const std::string &name)
bool StringUtilities::isFullyQualifiedRobonetElement (const std::string &name)
bool StringUtilities::isFullyQualifiedRobonetNode (const std::string &name)
bool StringUtilities::isItemWithNumber (const std::string &name)
const boost::regex StringUtilities::ITEM_WITH_NUMBER ("([[:word:]"+TOKEN_DELIMITER+"]+)([[:digit:]]+)")
std::string StringUtilities::makeFullyQualifiedRoboDynChain (const std::string &chain)
std::string StringUtilities::makeFullyQualifiedRoboDynElement (const std::string &fqJoint, const std::string &element)
std::string StringUtilities::makeFullyQualifiedRoboDynJoint (const std::string &chain, const std::string &joint)
std::string StringUtilities::makeFullyQualifiedRoboDynJointGroup (const std::string &chain, const std::string &group)
std::string StringUtilities::makeFullyQualifiedRoboDynJointWithGroup (const std::string &chain, const std::string &group, const std::string &joint)
std::string StringUtilities::makeFullyQualifiedRobonetElement (const std::string &fqNode, const std::string &element)
std::string StringUtilities::makeFullyQualifiedRobonetElement (const std::string &channel, const std::string &node, const std::string &element)
std::string StringUtilities::makeFullyQualifiedRobonetNode (const std::string &channel, const std::string &node)
const boost::regex StringUtilities::VALID_ROBODYN_CHAIN (ROBODYN_PREFIX+TOKEN_DELIMITER+"([[:word:]]+)")
const boost::regex StringUtilities::VALID_ROBODYN_JOINT (ROBODYN_PREFIX+TOKEN_DELIMITER+"([[:word:]]+)"+TOKEN_DELIMITER+"([[:word:]]+)")
const boost::regex StringUtilities::VALID_ROBODYN_JOINT_WITH_GROUP (ROBODYN_PREFIX+TOKEN_DELIMITER+"([[:word:]]+)"+TOKEN_DELIMITER+"([[:word:]"+TOKEN_DELIMITER+"]+)"+TOKEN_DELIMITER+"([[:word:]]+)")
const boost::regex StringUtilities::VALID_ROBONET_ELEMENT (TOKEN_DELIMITER+"([[:word:]]+)"+TOKEN_DELIMITER+"([[:word:]]+)"+TOKEN_DELIMITER+"([[:word:]\\.]+)")
const boost::regex StringUtilities::VALID_ROBONET_NODE (TOKEN_DELIMITER+"([[:word:]]+)"+TOKEN_DELIMITER+"([[:word:]]+)")

Variables

const std::string StringUtilities::ROBODYN_PREFIX = "r2"
const std::string StringUtilities::TOKEN_DELIMITER = "/"

Detailed Description

Defines the StringUtilities namespace methods.

Definition in file StringUtilities.h.



robot_instance
Author(s):
autogenerated on Sat Jun 8 2019 20:43:12