Lolly 1.4.28
|
#include "classdef.hpp"
#include "fast_alloc.hpp"
#include "lolly/data/string_view.hpp"
#include "minmax.hpp"
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | string_rep |
class | string |
class | c_string_rep |
class | c_string |
Typedefs | |
typedef string | string_u8 |
Functions | |
CONCRETE_CODE (string) | |
int | N (string a) |
string | copy (string a) |
string & | operator<< (string &a, char) |
string & | operator<< (string &a, string b) |
string | operator* (const char *a, string b) |
string | operator* (string a, string b) |
string | operator* (string a, const char *b) |
bool | operator< (string a, string b) |
bool | operator<= (string a, string b) |
int | hash (string s) |
bool | as_bool (string s) |
int | as_int (string s) |
long int | as_long_int (string s) |
double | as_double (string s) |
char * | as_charp (string s) |
string | as_string_bool (bool f) |
string | as_string (int16_t i) |
string | as_string (int32_t i) |
string | as_string (int64_t i) |
string | as_string (unsigned int i) |
string | as_string (unsigned long int i) |
string | as_string (double x) |
string | as_string (const char *s) |
bool | is_empty (string s) |
bool | is_bool (string s) |
bool | is_int (string s) |
bool | is_double (string s) |
bool | is_charp (string s) |
bool | is_quoted (string s) |
bool | is_id (string s) |
CONCRETE_CODE (c_string) | |
Definition at line 133 of file string.hpp.
CONCRETE_CODE | ( | string | ) |
|
externinline |
Definition at line 64 of file string.hpp.
Definition at line 131 of file string.cpp.
Definition at line 139 of file string.cpp.
Definition at line 167 of file string.cpp.
Definition at line 172 of file string.cpp.
Definition at line 176 of file string.cpp.
Definition at line 181 of file string.cpp.
int hash | ( | string | s | ) |
Definition at line 187 of file string.cpp.
bool as_bool | ( | string | s | ) |
Definition at line 201 of file string.cpp.
int as_int | ( | string | s | ) |
Definition at line 206 of file string.cpp.
Definition at line 223 of file string.cpp.
double as_double | ( | string | s | ) |
Definition at line 241 of file string.cpp.
Definition at line 256 of file string.cpp.
string as_string_bool | ( | bool | f | ) |
Definition at line 266 of file string.cpp.
Definition at line 272 of file string.cpp.
Definition at line 277 of file string.cpp.
Definition at line 282 of file string.cpp.
Definition at line 287 of file string.cpp.
Definition at line 295 of file string.cpp.
string as_string | ( | double | x | ) |
Definition at line 303 of file string.cpp.
Definition at line 311 of file string.cpp.
bool is_empty | ( | string | s | ) |
Definition at line 316 of file string.cpp.
bool is_bool | ( | string | s | ) |
Definition at line 321 of file string.cpp.
bool is_int | ( | string | s | ) |
Definition at line 326 of file string.cpp.
bool is_double | ( | string | s | ) |
Definition at line 338 of file string.cpp.
bool is_charp | ( | string | s | ) |
Definition at line 364 of file string.cpp.
bool is_quoted | ( | string | s | ) |
Definition at line 370 of file string.cpp.
bool is_id | ( | string | s | ) |
Definition at line 376 of file string.cpp.
CONCRETE_CODE | ( | c_string | ) |