Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
bloaty::RollupOutput Struct Reference

#include <bloaty.h>

Public Member Functions

void AddDataSourceName (absl::string_view name)
 
bool diff_mode () const
 
absl::string_view GetDisassembly ()
 
RollupOutputoperator= (const RollupOutput &)=delete
 
void Print (const OutputOptions &options, std::ostream *out)
 
 RollupOutput ()
 
 RollupOutput (const RollupOutput &)=delete
 
void SetDisassembly (absl::string_view disassembly)
 
const std::vector< std::string > & source_names () const
 
const RollupRowtoplevel_row () const
 

Private Member Functions

void PrettyPrint (const OutputOptions &options, std::ostream *out) const
 
void PrettyPrintRow (const RollupRow &row, size_t indent, const OutputOptions &options, std::ostream *out) const
 
void PrettyPrintTree (const RollupRow &row, size_t indent, const OutputOptions &options, std::ostream *out) const
 
void PrintRowToCSV (const RollupRow &row, std::vector< std::string > parent_labels, std::ostream *out, bool tabs) const
 
void PrintToCSV (std::ostream *out, bool tabs) const
 
void PrintTreeToCSV (const RollupRow &row, std::vector< std::string > parent_labels, std::ostream *out, bool tabs) const
 

Static Private Member Functions

static bool IsSame (const std::string &a, const std::string &b)
 

Private Attributes

bool diff_mode_ = false
 
std::string disassembly_
 
std::vector< std::string > source_names_
 
RollupRow toplevel_row_
 

Friends

class Rollup
 

Detailed Description

Definition at line 376 of file bloaty.h.

Constructor & Destructor Documentation

◆ RollupOutput() [1/2]

bloaty::RollupOutput::RollupOutput ( )
inline

Definition at line 378 of file bloaty.h.

◆ RollupOutput() [2/2]

bloaty::RollupOutput::RollupOutput ( const RollupOutput )
delete

Member Function Documentation

◆ AddDataSourceName()

void bloaty::RollupOutput::AddDataSourceName ( absl::string_view  name)
inline

Definition at line 382 of file bloaty.h.

◆ diff_mode()

bool bloaty::RollupOutput::diff_mode ( ) const
inline

Definition at line 396 of file bloaty.h.

◆ GetDisassembly()

absl::string_view bloaty::RollupOutput::GetDisassembly ( )
inline

Definition at line 392 of file bloaty.h.

◆ IsSame()

bool bloaty::RollupOutput::IsSame ( const std::string &  a,
const std::string &  b 
)
staticprivate

Definition at line 722 of file bloaty.cc.

◆ operator=()

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

◆ PrettyPrint()

void bloaty::RollupOutput::PrettyPrint ( const OutputOptions options,
std::ostream *  out 
) const
private

Definition at line 755 of file bloaty.cc.

◆ PrettyPrintRow()

void bloaty::RollupOutput::PrettyPrintRow ( const RollupRow row,
size_t  indent,
const OutputOptions options,
std::ostream *  out 
) const
private

Definition at line 695 of file bloaty.cc.

◆ PrettyPrintTree()

void bloaty::RollupOutput::PrettyPrintTree ( const RollupRow row,
size_t  indent,
const OutputOptions options,
std::ostream *  out 
) const
private

Definition at line 734 of file bloaty.cc.

◆ Print()

void bloaty::RollupOutput::Print ( const OutputOptions options,
std::ostream *  out 
)

Definition at line 673 of file bloaty.cc.

◆ PrintRowToCSV()

void bloaty::RollupOutput::PrintRowToCSV ( const RollupRow row,
std::vector< std::string >  parent_labels,
std::ostream *  out,
bool  tabs 
) const
private

Definition at line 811 of file bloaty.cc.

◆ PrintToCSV()

void bloaty::RollupOutput::PrintToCSV ( std::ostream *  out,
bool  tabs 
) const
private

Definition at line 844 of file bloaty.cc.

◆ PrintTreeToCSV()

void bloaty::RollupOutput::PrintTreeToCSV ( const RollupRow row,
std::vector< std::string >  parent_labels,
std::ostream *  out,
bool  tabs 
) const
private

Definition at line 826 of file bloaty.cc.

◆ SetDisassembly()

void bloaty::RollupOutput::SetDisassembly ( absl::string_view  disassembly)
inline

Definition at line 388 of file bloaty.h.

◆ source_names()

const std::vector<std::string>& bloaty::RollupOutput::source_names ( ) const
inline

Definition at line 386 of file bloaty.h.

◆ toplevel_row()

const RollupRow& bloaty::RollupOutput::toplevel_row ( ) const
inline

Definition at line 395 of file bloaty.h.

Friends And Related Function Documentation

◆ Rollup

friend class Rollup
friend

Definition at line 399 of file bloaty.h.

Member Data Documentation

◆ diff_mode_

bool bloaty::RollupOutput::diff_mode_ = false
private

Definition at line 406 of file bloaty.h.

◆ disassembly_

std::string bloaty::RollupOutput::disassembly_
private

Definition at line 403 of file bloaty.h.

◆ source_names_

std::vector<std::string> bloaty::RollupOutput::source_names_
private

Definition at line 401 of file bloaty.h.

◆ toplevel_row_

RollupRow bloaty::RollupOutput::toplevel_row_
private

Definition at line 402 of file bloaty.h.


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


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