ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <Token.hpp>
Public Member Functions | |
Token () | |
const std::string & | getStringValue () const |
int | getIntegerValue () const |
bool | contains (const char byte) const |
void | setValue (const char *content, const int size) |
bool | match (const char *str) const |
int | calculeOffset (const DataBlock &base) const noexcept(false) |
![]() | |
DataBlock (const bool deepCopy=false) | |
DataBlock (const char *buffer, const int size, const bool deepCopy=false) noexcept(false) | |
DataBlock (const DataBlock &other) noexcept(false) | |
virtual | ~DataBlock () |
int | getMaxSize () const |
int | getSize () const |
const char * | getData () const |
bool | isEmpty () const |
bool | deepCopy () const |
void | setSize (const int size) noexcept(false) |
DataBlock & | operator+= (const char c) noexcept(false) |
DataBlock & | operator+= (const DataBlock &right) noexcept(false) |
DataBlock & | operator+= (const std::string &str) noexcept(false) |
const char | operator[] (const int pos) const noexcept(false) |
char & | operator[] (const int pos) noexcept(false) |
void | append (const char *data, const int len) noexcept(false) |
void | append (const DataBlock &other) noexcept(false) |
void | assign (const DataBlock &right) noexcept(false) |
void | assign (const char *buffer, const int size) noexcept(false) |
DataBlock & | operator= (const DataBlock &right) noexcept(false) |
DataBlock & | operator= (const char c) noexcept(false) |
DataBlock & | operator= (const std::string &str) noexcept(false) |
void | allocate (const int nbytes) noexcept(false) |
void | clear () noexcept(false) |
void | remove (const int pos, const int nbytes) noexcept(false) |
void | remove (const int nbytes) noexcept(false) |
std::string | asString (const int characterByLine=24) const |
Additional Inherited Members | |
![]() | |
void | initialize (const char *buffer, const int size) noexcept(false) |
void | setBuffer (const char *buffer) |
void | setMaxSize (const int maxSize) |
|
inline |
|
noexcept |
bool anna::http::Token::contains | ( | const char | byte | ) | const |
int anna::http::Token::getIntegerValue | ( | ) | const |
const std::string& anna::http::Token::getStringValue | ( | ) | const |
bool anna::http::Token::match | ( | const char * | str | ) | const |
|
inline |