LLVM  10.0.0svn
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]
Collaboration diagram for llvm::MinidumpYAML::detail::ListStream< EntryT >:
Collaboration graph
[legend]

Public Types

using entry_type = EntryT
 
- Public Types inherited from llvm::MinidumpYAML::Stream
enum  StreamKind {
  StreamKind::Exception, StreamKind::MemoryInfoList, StreamKind::MemoryList, StreamKind::ModuleList,
  StreamKind::RawContent, StreamKind::SystemInfo, StreamKind::TextContent, StreamKind::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. More...
 
static std::unique_ptr< Streamcreate (minidump::StreamType Type)
 Create an empty stream of the given Type. More...
 
static Expected< std::unique_ptr< Stream > > create (const minidump::Directory &StreamDesc, const object::MinidumpFile &File)
 Create a stream from the given stream directory entry. More...
 

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 61 of file MinidumpYAML.h.

Member Typedef Documentation

◆ entry_type

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

Definition at line 62 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 66 of file MinidumpYAML.h.

References llvm::MinidumpYAML::Stream::Stream().

Member Function Documentation

◆ classof()

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

Definition at line 69 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 64 of file MinidumpYAML.h.

Referenced by layout(), and streamMapping().


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