#include <cstdio>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include "TClassEdit.h"
#include <cctype>
#include "Rstrstream.h"
#include <set>
#include <stack>
#include <memory>
#include <string_view>
#include <algorithm>
#include <string>
#include "TSpinLockGuard.h"
|
static size_t | findNameEnd (const std::string &full, size_t pos) |
|
static size_t | findNameEnd (const std::string_view full) |
|
static bool | IsDefElement (const char *elementName, const char *defaultElementName, const char *classname) |
| return whether or not 'elementName' is the STL default Element for type 'classname'
|
|
static void | R__FindTrailing (std::string &full, std::string &stars) |
|
static void | RemoveStd (std::string &name, size_t pos=0) |
| Remove std:: and any potential inline namespace (well compiler detail namespace.
|
|
static void | RemoveStd (std::string_view &name) |
| Remove std:: and any potential inline namespace (well compiler detail namespace.
|
|
static void | ResolveTypedefImpl (const char *tname, unsigned int len, unsigned int &cursor, bool &modified, std::string &result) |
|
static void | ResolveTypedefProcessType (const char *tname, unsigned int, unsigned int cursor, bool constprefix, unsigned int start_of_type, unsigned int end_of_type, unsigned int mod_start_of_type, bool &modified, std::string &result) |
|
static size_t | StdLen (const std::string_view name) |
| Return the length, if any, taken by std:: and any potential inline namespace (well compiler detail namespace).
|
|
- Author
- Victor Perev
-
Philippe Canal
- Date
- 04/10/2003
Definition in file TClassEdit.cxx.
◆ findNameEnd() [1/2]
static size_t findNameEnd |
( |
const std::string & |
full, |
|
|
size_t |
pos |
|
) |
| |
|
static |
◆ findNameEnd() [2/2]
static size_t findNameEnd |
( |
const std::string_view |
full | ) |
|
|
static |
◆ IsDefElement()
static bool IsDefElement |
( |
const char * |
elementName, |
|
|
const char * |
defaultElementName, |
|
|
const char * |
classname |
|
) |
| |
|
static |
return whether or not 'elementName' is the STL default Element for type 'classname'
Definition at line 786 of file TClassEdit.cxx.
◆ R__FindTrailing()
static void R__FindTrailing |
( |
std::string & |
full, |
|
|
std::string & |
stars |
|
) |
| |
|
static |
◆ RemoveStd() [1/2]
static void RemoveStd |
( |
std::string & |
name, |
|
|
size_t |
pos = 0 |
|
) |
| |
|
static |
Remove std:: and any potential inline namespace (well compiler detail namespace.
Definition at line 116 of file TClassEdit.cxx.
◆ RemoveStd() [2/2]
static void RemoveStd |
( |
std::string_view & |
name | ) |
|
|
static |
Remove std:: and any potential inline namespace (well compiler detail namespace.
Definition at line 128 of file TClassEdit.cxx.
◆ ResolveTypedefImpl()
static void ResolveTypedefImpl |
( |
const char * |
tname, |
|
|
unsigned int |
len, |
|
|
unsigned int & |
cursor, |
|
|
bool & |
modified, |
|
|
std::string & |
result |
|
) |
| |
|
static |
◆ ResolveTypedefProcessType()
static void ResolveTypedefProcessType |
( |
const char * |
tname, |
|
|
unsigned int |
, |
|
|
unsigned int |
cursor, |
|
|
bool |
constprefix, |
|
|
unsigned int |
start_of_type, |
|
|
unsigned int |
end_of_type, |
|
|
unsigned int |
mod_start_of_type, |
|
|
bool & |
modified, |
|
|
std::string & |
result |
|
) |
| |
|
static |
◆ StdLen()
static size_t StdLen |
( |
const std::string_view |
name | ) |
|
|
static |
Return the length, if any, taken by std:: and any potential inline namespace (well compiler detail namespace).
Definition at line 57 of file TClassEdit.cxx.