Babel
Epitech's C++ VoIP project
Namespaces | Functions
Utilities.hpp File Reference
#include <string>
#include <sstream>
#include "Network/Message.hpp"
#include "Network/RFCCodes.hpp"
Include dependency graph for Utilities.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Babel
 
 Babel::Utils
 

Functions

bool Babel::Utils::getString (Message< RFCCodes > &m, std::string &str, std::pair< uint8_t, uint8_t > minMaxSize)
 get a string from a message the data layout of the message must be uint8 string_length and the string More...
 
bool Babel::Utils::getString (Message< RFCCodes > &m, std::string &str)
 get a string from a message the data layout of the message must be uint8 string_length and the string More...
 
template<typename T >
static bool Babel::Utils::tryParse (const std::string &s, T &f)
 return true if parsing has been successful result ill be in i More...