LLVM API Documentation
#include <Format.h>


Public Member Functions | |
| format_object_base (const char *fmt) | |
| virtual | ~format_object_base () |
| virtual unsigned | print (char *Buffer, unsigned BufferSize) const =0 |
Protected Member Functions | |
| virtual void | home () |
Protected Attributes | |
| const char * | Fmt |
Definition at line 35 of file Format.h.
| llvm::format_object_base::format_object_base | ( | const char * | fmt | ) | [inline] |
| virtual llvm::format_object_base::~format_object_base | ( | ) | [inline, virtual] |
| void format_object_base::home | ( | ) | [protected, virtual] |
Definition at line 193 of file raw_ostream.cpp.
| virtual unsigned llvm::format_object_base::print | ( | char * | Buffer, | |
| unsigned | BufferSize | |||
| ) | const [pure virtual] |
print - Format the object into the specified buffer. On success, this returns the length of the formatted string. If the buffer is too small, this returns a length to retry with, which will be larger than BufferSize.
Implemented in llvm::format_object1< T >, llvm::format_object2< T1, T2 >, and llvm::format_object3< T1, T2, T3 >.
Referenced by llvm::raw_ostream::operator<<().
const char* llvm::format_object_base::Fmt [protected] |
Definition at line 37 of file Format.h.
Referenced by llvm::format_object3< T1, T2, T3 >::print(), llvm::format_object2< T1, T2 >::print(), and llvm::format_object1< T >::print().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.