LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MinidumpYAML::detail::ListStream< EntryT > Struct Template Reference

A stream representing a list of abstract entries in a minidump stream. More...

#include "llvm/ObjectYAML/MinidumpYAML.h"

Inheritance diagram for llvm::MinidumpYAML::detail::ListStream< EntryT >:
Inheritance graph
[legend]

Public Types

using entry_type = EntryT
 
- Public Types inherited from llvm::MinidumpYAML::Stream
enum class  StreamKind {
  Exception , MemoryInfoList , MemoryList , Memory64List ,
  ModuleList , RawContent , SystemInfo , TextContent ,
  ThreadList
}
 

Public Member Functions

 ListStream (std::vector< entry_type > Entries={})
 
- Public Member Functions inherited from llvm::MinidumpYAML::Stream
 Stream (StreamKind Kind, minidump::StreamType Type)
 
virtual ~Stream ()
 

Static Public Member Functions

static bool classof (const Stream *S)
 
- Static Public Member Functions inherited from llvm::MinidumpYAML::Stream
static StreamKind getKind (minidump::StreamType Type)
 Get the stream Kind used for representing streams of a given Type.
 
static std::unique_ptr< Streamcreate (minidump::StreamType Type)
 Create an empty stream of the given Type.
 
static Expected< std::unique_ptr< Stream > > create (const minidump::Directory &StreamDesc, const object::MinidumpFile &File)
 Create a stream from the given stream directory entry.
 

Public Attributes

std::vector< entry_typeEntries
 
- Public Attributes inherited from llvm::MinidumpYAML::Stream
const StreamKind Kind
 
const minidump::StreamType Type
 

Detailed Description

template<typename EntryT>
struct llvm::MinidumpYAML::detail::ListStream< EntryT >

A stream representing a list of abstract entries in a minidump stream.

Its instantiations can be used to represent the ModuleList stream and other streams with a similar structure.

Definition at line 62 of file MinidumpYAML.h.

Member Typedef Documentation

◆ entry_type

template<typename EntryT >
using llvm::MinidumpYAML::detail::ListStream< EntryT >::entry_type = EntryT

Definition at line 63 of file MinidumpYAML.h.

Constructor & Destructor Documentation

◆ ListStream()

template<typename EntryT >
llvm::MinidumpYAML::detail::ListStream< EntryT >::ListStream ( std::vector< entry_type Entries = {})
inlineexplicit

Definition at line 67 of file MinidumpYAML.h.

Member Function Documentation

◆ classof()

template<typename EntryT >
static bool llvm::MinidumpYAML::detail::ListStream< EntryT >::classof ( const Stream S)
inlinestatic

Definition at line 70 of file MinidumpYAML.h.

References llvm::MinidumpYAML::Stream::Kind.

Member Data Documentation

◆ Entries

template<typename EntryT >
std::vector<entry_type> llvm::MinidumpYAML::detail::ListStream< EntryT >::Entries

Definition at line 65 of file MinidumpYAML.h.

Referenced by layout().


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