g4tools  5.4.0
Namespaces | Macros | Functions
cstr File Reference
#include <cstring>
#include <cstdlib>
#include <clocale>
Include dependency graph for cstr:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 

Macros

#define tools_cstr
 

Functions

char * tools::str_dup (const char *a_cstr)
 
char * tools::str_from_buffer (const char *a_buffer, size_t a_len)
 
void tools::str_del (char *&a_cstr)
 
char * tools::str_new (size_t a_l=0, char a_char=' ')
 
bool tools::str_cat (char *&a_1, const char a_c)
 
bool tools::str_cat (char *&a_1, const char *a_2)
 
void tools::str_rev (char *a_s)
 
char * tools::str_sub (const char *a_s, unsigned int a_pos, unsigned int a_sz=0)
 
char * tools::str_rep (const char *a_s, unsigned int a_pos, unsigned int a_sz, const char *a_new)
 
void tools::str_skip (char *&a_cstr, char a_c)
 
char * tools::beg_LC_NUMERIC ()
 
void tools::end_LC_NUMERIC (char *&a_s)
 
bool tools::str_2d (const char *a_s, double &a_v)
 
size_t tools::str_lcpy (char *dst, const char *src, size_t siz)
 
size_t tools::str_lcat (char *dst, const char *src, size_t siz)
 
template<class VECTOR >
bool tools::str_2ds (char *a_s, const char *a_sep, VECTOR &a_v)
 

Macro Definition Documentation

◆ tools_cstr

#define tools_cstr

Definition at line 5 of file cstr.