webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Public Attributes | List of all members
webkit.WTFVectorPrinter Class Reference

Classes

class  Iterator
 

Public Member Functions

def __init__ (self, val)
 
def children (self)
 
def to_string (self)
 
def display_hint (self)
 

Public Attributes

 val
 

Detailed Description

Pretty Printer for a WTF::Vector.

The output of this pretty printer is similar to the output of std::vector's
pretty printer, which is bundled in gcc.

Example gdb session should look like:
(gdb) p v
$3 = WTF::Vector of length 7, capacity 16 = {7, 17, 27, 37, 47, 57, 67}
(gdb) set print elements 3
(gdb) p v
$6 = WTF::Vector of length 7, capacity 16 = {7, 17, 27...}
(gdb) set print array
(gdb) p v
$7 = WTF::Vector of length 7, capacity 16 = {
  7,
  17,
  27
  ...
}
(gdb) set print elements 200
(gdb) p v
$8 = WTF::Vector of length 7, capacity 16 = {
  7,
  17,
  27,
  37,
  47,
  57,
  67
}

Constructor & Destructor Documentation

◆ __init__()

def webkit.WTFVectorPrinter.__init__ (   self,
  val 
)

Member Function Documentation

◆ children()

def webkit.WTFVectorPrinter.children (   self)

◆ display_hint()

def webkit.WTFVectorPrinter.display_hint (   self)

◆ to_string()

def webkit.WTFVectorPrinter.to_string (   self)

Member Data Documentation

◆ val

webkit.WTFVectorPrinter.val

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