Public Member Functions | Private Attributes | List of all members
bloaty::NameMunger Class Reference

#include <bloaty.h>

Public Member Functions

void AddRegex (const std::string &regex, const std::string &replacement)
 
bool IsEmpty () const
 
std::string Munge (absl::string_view name) const
 
 NameMunger ()
 
 NameMunger (const NameMunger &)=delete
 
NameMungeroperator= (const NameMunger &)=delete
 

Private Attributes

std::vector< std::pair< std::unique_ptr< ReImpl >, std::string > > regexes_
 

Detailed Description

Definition at line 236 of file bloaty.h.

Constructor & Destructor Documentation

◆ NameMunger() [1/2]

bloaty::NameMunger::NameMunger ( )
inline

Definition at line 238 of file bloaty.h.

◆ NameMunger() [2/2]

bloaty::NameMunger::NameMunger ( const NameMunger )
delete

Member Function Documentation

◆ AddRegex()

void bloaty::NameMunger::AddRegex ( const std::string &  regex,
const std::string &  replacement 
)

Definition at line 208 of file bloaty.cc.

◆ IsEmpty()

bool bloaty::NameMunger::IsEmpty ( ) const
inline

Definition at line 247 of file bloaty.h.

◆ Munge()

std::string bloaty::NameMunger::Munge ( absl::string_view  name) const

Definition at line 213 of file bloaty.cc.

◆ operator=()

NameMunger& bloaty::NameMunger::operator= ( const NameMunger )
delete

Member Data Documentation

◆ regexes_

std::vector<std::pair<std::unique_ptr<ReImpl>, std::string> > bloaty::NameMunger::regexes_
private

Definition at line 250 of file bloaty.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:58