LLVM  4.0.0
Public Member Functions | Protected Attributes | List of all members
llvm::msf::StreamRefBase< StreamType, RefType > Class Template Reference

#include <StreamRef.h>

Inheritance diagram for llvm::msf::StreamRefBase< StreamType, RefType >:
[legend]
Collaboration diagram for llvm::msf::StreamRefBase< StreamType, RefType >:
[legend]

Public Member Functions

 StreamRefBase ()
 
 StreamRefBase (const StreamType &Stream, uint32_t Offset, uint32_t Length)
 
uint32_t getLength () const
 
const StreamType * getStream () const
 
RefType drop_front (uint32_t N) const
 
RefType keep_front (uint32_t N) const
 
RefType slice (uint32_t Offset, uint32_t Len) const
 
bool operator== (const RefType &Other) const
 

Protected Attributes

const StreamType * Stream
 
uint32_t ViewOffset
 
uint32_t Length
 

Detailed Description

template<class StreamType, class RefType>
class llvm::msf::StreamRefBase< StreamType, RefType >

Definition at line 23 of file StreamRef.h.

Constructor & Destructor Documentation

template<class StreamType, class RefType>
llvm::msf::StreamRefBase< StreamType, RefType >::StreamRefBase ( )
inline

Definition at line 25 of file StreamRef.h.

template<class StreamType, class RefType>
llvm::msf::StreamRefBase< StreamType, RefType >::StreamRefBase ( const StreamType &  Stream,
uint32_t  Offset,
uint32_t  Length 
)
inline

Definition at line 26 of file StreamRef.h.

Member Function Documentation

template<class StreamType, class RefType>
RefType llvm::msf::StreamRefBase< StreamType, RefType >::drop_front ( uint32_t  N) const
inline
template<class StreamType, class RefType>
uint32_t llvm::msf::StreamRefBase< StreamType, RefType >::getLength ( ) const
inline
template<class StreamType, class RefType>
const StreamType* llvm::msf::StreamRefBase< StreamType, RefType >::getStream ( ) const
inline

Definition at line 30 of file StreamRef.h.

template<class StreamType, class RefType>
RefType llvm::msf::StreamRefBase< StreamType, RefType >::keep_front ( uint32_t  N) const
inline

Definition at line 40 of file StreamRef.h.

template<class StreamType, class RefType>
bool llvm::msf::StreamRefBase< StreamType, RefType >::operator== ( const RefType &  Other) const
inline

Definition at line 51 of file StreamRef.h.

template<class StreamType, class RefType>
RefType llvm::msf::StreamRefBase< StreamType, RefType >::slice ( uint32_t  Offset,
uint32_t  Len 
) const
inline

Member Data Documentation

template<class StreamType, class RefType>
uint32_t llvm::msf::StreamRefBase< StreamType, RefType >::Length
protected
template<class StreamType, class RefType>
const StreamType* llvm::msf::StreamRefBase< StreamType, RefType >::Stream
protected
template<class StreamType, class RefType>
uint32_t llvm::msf::StreamRefBase< StreamType, RefType >::ViewOffset
protected

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