LLVM  6.0.0svn
Classes | Public Member Functions | Friends | List of all members
llvm::pdb::NamedStreamMap Class Reference

#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"

Public Member Functions

 NamedStreamMap ()
 
Error load (BinaryStreamReader &Stream)
 
Error commit (BinaryStreamWriter &Writer) const
 
uint32_t finalize ()
 
uint32_t size () const
 
bool get (StringRef Stream, uint32_t &StreamNo) const
 
void set (StringRef Stream, uint32_t StreamNo)
 
void remove (StringRef Stream)
 
const StringMap< uint32_t > & getStringMap () const
 
iterator_range< StringMapConstIterator< uint32_t > > entries () const
 

Friends

class NamedStreamMapBuilder
 

Detailed Description

Definition at line 28 of file NamedStreamMap.h.

Constructor & Destructor Documentation

◆ NamedStreamMap()

NamedStreamMap::NamedStreamMap ( )
default

Member Function Documentation

◆ commit()

Error NamedStreamMap::commit ( BinaryStreamWriter Writer) const

◆ entries()

iterator_range< StringMapConstIterator< uint32_t > > NamedStreamMap::entries ( ) const

◆ finalize()

uint32_t NamedStreamMap::finalize ( )

◆ get()

bool NamedStreamMap::get ( StringRef  Stream,
uint32_t StreamNo 
) const

◆ getStringMap()

const StringMap<uint32_t>& llvm::pdb::NamedStreamMap::getStringMap ( ) const
inline

Definition at line 47 of file NamedStreamMap.h.

References entries().

◆ load()

Error NamedStreamMap::load ( BinaryStreamReader Stream)

◆ remove()

void NamedStreamMap::remove ( StringRef  Stream)

◆ set()

void NamedStreamMap::set ( StringRef  Stream,
uint32_t  StreamNo 
)

◆ size()

uint32_t NamedStreamMap::size ( ) const

Definition at line 134 of file NamedStreamMap.cpp.

References llvm::StringMapImpl::size().

Friends And Related Function Documentation

◆ NamedStreamMapBuilder

friend class NamedStreamMapBuilder
friend

Definition at line 29 of file NamedStreamMap.h.


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