LLVM  4.0.0
Classes | Public Member Functions | List of all members
llvm::codeview::CodeViewRecordIO Class Reference

#include <CodeViewRecordIO.h>

Public Member Functions

 CodeViewRecordIO (msf::StreamReader &Reader)
 
 CodeViewRecordIO (msf::StreamWriter &Writer)
 
Error beginRecord (Optional< uint32_t > MaxLength)
 
Error endRecord ()
 
Error mapInteger (TypeIndex &TypeInd)
 
bool isReading () const
 
bool isWriting () const
 
uint32_t maxFieldLength () const
 
template<typename T >
Error mapObject (T &Value)
 
template<typename T >
Error mapInteger (T &Value)
 
template<typename T >
Error mapEnum (T &Value)
 
Error mapEncodedInteger (int64_t &Value)
 
Error mapEncodedInteger (uint64_t &Value)
 
Error mapEncodedInteger (APSInt &Value)
 
Error mapStringZ (StringRef &Value)
 
Error mapGuid (StringRef &Guid)
 
Error mapStringZVectorZ (std::vector< StringRef > &Value)
 
template<typename SizeType , typename T , typename ElementMapper >
Error mapVectorN (T &Items, const ElementMapper &Mapper)
 
template<typename T , typename ElementMapper >
Error mapVectorTail (T &Items, const ElementMapper &Mapper)
 
Error mapByteVectorTail (ArrayRef< uint8_t > &Bytes)
 
Error mapByteVectorTail (std::vector< uint8_t > &Bytes)
 
Error skipPadding ()
 

Detailed Description

Definition at line 30 of file CodeViewRecordIO.h.

Constructor & Destructor Documentation

llvm::codeview::CodeViewRecordIO::CodeViewRecordIO ( msf::StreamReader Reader)
inlineexplicit

Definition at line 36 of file CodeViewRecordIO.h.

llvm::codeview::CodeViewRecordIO::CodeViewRecordIO ( msf::StreamWriter Writer)
inlineexplicit

Definition at line 37 of file CodeViewRecordIO.h.

Member Function Documentation

Error CodeViewRecordIO::beginRecord ( Optional< uint32_t MaxLength)
Error CodeViewRecordIO::endRecord ( )
bool llvm::codeview::CodeViewRecordIO::isReading ( ) const
inline

Definition at line 44 of file CodeViewRecordIO.h.

Referenced by isWriting(), and mapEnum().

bool llvm::codeview::CodeViewRecordIO::isWriting ( ) const
inline
Error CodeViewRecordIO::mapByteVectorTail ( ArrayRef< uint8_t > &  Bytes)
Error CodeViewRecordIO::mapByteVectorTail ( std::vector< uint8_t > &  Bytes)
Error CodeViewRecordIO::mapEncodedInteger ( int64_t &  Value)
Error CodeViewRecordIO::mapEncodedInteger ( uint64_t &  Value)
Error CodeViewRecordIO::mapEncodedInteger ( APSInt Value)
template<typename T >
Error llvm::codeview::CodeViewRecordIO::mapEnum ( T Value)
inline
Error CodeViewRecordIO::mapGuid ( StringRef Guid)
Error CodeViewRecordIO::mapInteger ( TypeIndex TypeInd)
template<typename T >
Error llvm::codeview::CodeViewRecordIO::mapInteger ( T Value)
inline
template<typename T >
Error llvm::codeview::CodeViewRecordIO::mapObject ( T Value)
inline
Error CodeViewRecordIO::mapStringZ ( StringRef Value)
Error CodeViewRecordIO::mapStringZVectorZ ( std::vector< StringRef > &  Value)
template<typename SizeType , typename T , typename ElementMapper >
Error llvm::codeview::CodeViewRecordIO::mapVectorN ( T Items,
const ElementMapper &  Mapper 
)
inline
template<typename T , typename ElementMapper >
Error llvm::codeview::CodeViewRecordIO::mapVectorTail ( T Items,
const ElementMapper &  Mapper 
)
inline
uint32_t CodeViewRecordIO::maxFieldLength ( ) const
Error CodeViewRecordIO::skipPadding ( )

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