![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Utility functions for protocol string handling and validation in the irsol library. More...
#include "irsol/logging.hpp"
#include "irsol/macros.hpp"
#include "irsol/types.hpp"
#include <regex>
#include <sstream>
#include <string>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | irsol |
namespace | irsol::protocol |
Core protocol message types, serialization, parsing, and communication utilities for the irsol framework. | |
namespace | irsol::protocol::utils |
Utility functions for string manipulation and validation. | |
Functions | |
std::string | irsol::protocol::utils::validateIdentifier (const std::string &identifier) |
Validate that a string is a valid protocol identifier. | |
template<typename T > | |
T | irsol::protocol::utils::fromString (const std::string &str) |
Convert a string to a value of type T. | |
std::string | irsol::protocol::utils::trim (const std::string &s) |
Remove leading and trailing whitespace from a string. | |
Utility functions for protocol string handling and validation in the irsol library.
This header provides helper functions for string processing and validation commonly used in the irsol::protocol
subsystem. These include:
These utilities facilitate safe parsing and validation of protocol messages and parameters.
Definition in file utils.hpp.