ROOT  6.06/09
Reference Guide
Functions
TClassEdit.cxx File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "TClassEdit.h"
#include <ctype.h>
#include "Rstrstream.h"
#include <set>
#include <memory>
#include "RStringView.h"
#include <iostream>
+ Include dependency graph for TClassEdit.cxx:

Go to the source code of this file.

Functions

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). More...
 
static void RemoveStd (std::string &name, size_t pos=0)
 Remove std:: and any potential inline namespace (well compiler detail namespace. More...
 
static void RemoveStd (std::string_view &name)
 Remove std:: and any potential inline namespace (well compiler detail namespace. More...
 
static size_t findNameEnd (const std::string_view full)
 
static size_t findNameEnd (const std::string &full, size_t pos)
 
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' More...
 
static void R__FindTrailing (std::string &full, std::string &stars)
 
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 void ResolveTypedefImpl (const char *tname, unsigned int len, unsigned int &cursor, bool &modified, std::string &result)
 

Function Documentation

static size_t findNameEnd ( const std::string_view  full)
static

Definition at line 524 of file TClassEdit.cxx.

Referenced by findNameEnd(), TClassEdit::IsDefAlloc(), and IsDefElement().

static size_t findNameEnd ( const std::string &  full,
size_t  pos 
)
static

Definition at line 547 of file TClassEdit.cxx.

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 712 of file TClassEdit.cxx.

Referenced by TClassEdit::IsDefComp(), TClassEdit::IsDefHash(), and TClassEdit::IsDefPred().

static void R__FindTrailing ( std::string &  full,
std::string &  stars 
)
static

Definition at line 870 of file TClassEdit.cxx.

Referenced by TClassEdit::GetSplit().

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 74 of file TClassEdit.cxx.

Referenced by TClassEdit::GetSplit(), TClassEdit::IsDefAlloc(), and TClassEdit::TSplitType::ShortType().

static void RemoveStd ( std::string_view name)
static

Remove std:: and any potential inline namespace (well compiler detail namespace.

Definition at line 86 of file TClassEdit.cxx.

static void ResolveTypedefImpl ( const char *  tname,
unsigned int  len,
unsigned int &  cursor,
bool &  modified,
std::string &  result 
)
static

Definition at line 1405 of file TClassEdit.cxx.

Referenced by TClassEdit::ResolveTypedef().

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

Definition at line 1350 of file TClassEdit.cxx.

Referenced by ResolveTypedefImpl().

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 27 of file TClassEdit.cxx.

Referenced by IsDefElement(), TClassEdit::IsStdClass(), TClassEdit::IsSTLBitset(), RemoveStd(), and TClassEdit::STLKind().