LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::BinarySubstreamRef Struct Reference

#include "llvm/Support/BinaryStreamRef.h"

Collaboration diagram for llvm::BinarySubstreamRef:
Collaboration graph

Public Member Functions

BinarySubstreamRef slice (uint32_t Off, uint32_t Size) const
BinarySubstreamRef drop_front (uint32_t N) const
BinarySubstreamRef keep_front (uint32_t N) const
std::pair< BinarySubstreamRef, BinarySubstreamRefsplit (uint32_t Offset) const
uint32_t size () const
bool empty () const

Public Attributes

uint32_t Offset
BinaryStreamRef StreamData

Detailed Description

Definition at line 171 of file BinaryStreamRef.h.

Member Function Documentation

◆ drop_front()

BinarySubstreamRef llvm::BinarySubstreamRef::drop_front ( uint32_t  N) const

◆ empty()

bool llvm::BinarySubstreamRef::empty ( ) const

◆ keep_front()

BinarySubstreamRef llvm::BinarySubstreamRef::keep_front ( uint32_t  N) const

◆ size()

uint32_t llvm::BinarySubstreamRef::size ( ) const

◆ slice()

BinarySubstreamRef llvm::BinarySubstreamRef::slice ( uint32_t  Off,
uint32_t  Size 
) const

◆ split()

std::pair<BinarySubstreamRef, BinarySubstreamRef> llvm::BinarySubstreamRef::split ( uint32_t  Offset) const

Member Data Documentation

◆ Offset

uint32_t llvm::BinarySubstreamRef::Offset

Definition at line 172 of file BinaryStreamRef.h.

Referenced by llvm::BinaryStreamReader::readSubstream().

◆ StreamData

BinaryStreamRef llvm::BinarySubstreamRef::StreamData

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