| ETL
    0.04.19
    | 
#include <string>#include <cstdarg>#include <cstdlib>#include <cstdio>#include <unistd.h>Go to the source code of this file.
| Macros | |
| #define | _GNU_SOURCE | 
| #define | ETL_STRPRINTF_MAX_LENGTH (800) | 
| #define | POPEN_BINARY_READ_TYPE "r" | 
| #define | POPEN_BINARY_WRITE_TYPE "w" | 
| #define | ETL_NO_THROW throw() | 
| #define | ETL_NO_VSTRSCANF | 
| #define | ETL_UNSAFE_STRPRINTF (true) | 
| #define | strscanf(data, format,...) sscanf(data.c_str(),format,__VA_ARGS__) | 
| #define | stratof(X) (atof((X).c_str())) | 
| #define | stratoi(X) (atoi((X).c_str())) | 
| Functions | |
| _ETL_END_CDECLS _ETL_BEGIN_NAMESPACE std::string | vstrprintf (const char *format, va_list args) | 
| std::string | strprintf (const char *format,...) | 
| bool | is_separator (char c) | 
| std::string | basename (const std::string &str) | 
| std::string | dirname (const std::string &str) | 
| std::string | filename_extension (const std::string &str) | 
| std::string | filename_sans_extension (const std::string &str) | 
| bool | is_absolute_path (const std::string &path) | 
| std::string | unix_to_local_path (const std::string &path) | 
| std::string | current_working_directory () | 
| std::string | get_root_from_path (std::string path) | 
| std::string | remove_root_from_path (std::string path) | 
| std::string | cleanup_path (std::string path) | 
| std::string | absolute_path (std::string path) | 
| std::string | relative_path (std::string curr_path, std::string dest_path) | 
| #define _GNU_SOURCE | 
Definition at line 34 of file _stringf.h.
| #define ETL_STRPRINTF_MAX_LENGTH (800) | 
Definition at line 45 of file _stringf.h.
Referenced by vstrprintf().
| #define POPEN_BINARY_READ_TYPE "r" | 
Definition at line 52 of file _stringf.h.
| #define POPEN_BINARY_WRITE_TYPE "w" | 
Definition at line 53 of file _stringf.h.
| #define ETL_NO_THROW throw() | 
Definition at line 63 of file _stringf.h.
| #define ETL_NO_VSTRSCANF | 
Definition at line 88 of file _stringf.h.
| #define ETL_UNSAFE_STRPRINTF (true) | 
| #define strscanf | ( | data, | |
| format, | |||
| ... | |||
| ) | sscanf(data.c_str(),format,__VA_ARGS__) | 
Definition at line 168 of file _stringf.h.
| #define stratof | ( | X | ) | (atof((X).c_str())) | 
Definition at line 173 of file _stringf.h.
| #define stratoi | ( | X | ) | (atoi((X).c_str())) | 
Definition at line 174 of file _stringf.h.
| 
 | inline | 
Definition at line 105 of file _stringf.h.
References ETL_STRPRINTF_MAX_LENGTH.
Referenced by strprintf().
| 
 | inline | 
Definition at line 144 of file _stringf.h.
References vstrprintf().
| 
 | inline | 
Definition at line 176 of file _stringf.h.
References ETL_DIRECTORY_SEPARATOR0, and ETL_DIRECTORY_SEPARATOR1.
Referenced by basename(), cleanup_path(), dirname(), get_root_from_path(), is_absolute_path(), remove_root_from_path(), and unix_to_local_path().
| 
 | inline | 
Definition at line 182 of file _stringf.h.
References is_separator().
Referenced by cleanup_path(), filename_extension(), filename_sans_extension(), and relative_path().
| 
 | inline | 
Definition at line 208 of file _stringf.h.
References ETL_DIRECTORY_SEPARATOR, and is_separator().
Referenced by cleanup_path(), filename_sans_extension(), and relative_path().
| 
 | inline | 
Definition at line 237 of file _stringf.h.
References basename().
| 
 | inline | 
Definition at line 247 of file _stringf.h.
References basename(), dirname(), and ETL_DIRECTORY_SEPARATOR.
| 
 | inline | 
Definition at line 258 of file _stringf.h.
References is_separator().
Referenced by absolute_path(), and relative_path().
| 
 | inline | 
Definition at line 270 of file _stringf.h.
References ETL_DIRECTORY_SEPARATOR, and is_separator().
| 
 | inline | 
Definition at line 291 of file _stringf.h.
Referenced by absolute_path().
| 
 | inline | 
Definition at line 299 of file _stringf.h.
References ETL_DIRECTORY_SEPARATOR, and is_separator().
Referenced by cleanup_path(), and relative_path().
| 
 | inline | 
Definition at line 316 of file _stringf.h.
References is_separator().
Referenced by cleanup_path(), and relative_path().
| 
 | inline | 
Definition at line 331 of file _stringf.h.
References basename(), dirname(), ETL_DIRECTORY_SEPARATOR, get_root_from_path(), is_separator(), and remove_root_from_path().
Referenced by absolute_path(), and relative_path().
| 
 | inline | 
Definition at line 359 of file _stringf.h.
References cleanup_path(), current_working_directory(), ETL_DIRECTORY_SEPARATOR, and is_absolute_path().
Referenced by relative_path().
| 
 | inline | 
Definition at line 371 of file _stringf.h.
References absolute_path(), basename(), cleanup_path(), dirname(), ETL_DIRECTORY_SEPARATOR, get_root_from_path(), is_absolute_path(), and remove_root_from_path().
 1.8.1.2
 1.8.1.2