LLVM  8.0.1
Public Member Functions | List of all members
llvm::format_object< Ts > Class Template Referencefinal

#include "llvm/Support/Format.h"

Inheritance diagram for llvm::format_object< Ts >:
Inheritance graph
[legend]
Collaboration diagram for llvm::format_object< Ts >:
Collaboration graph
[legend]

Public Member Functions

 format_object (const char *fmt, const Ts &... vals)
 
int snprint (char *Buffer, unsigned BufferSize) const override
 Call snprintf() for this object, on the given buffer and size. More...
 
- Public Member Functions inherited from llvm::format_object_base
 format_object_base (const char *fmt)
 
unsigned print (char *Buffer, unsigned BufferSize) const
 Format the object into the specified buffer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::format_object_base
 ~format_object_base ()=default
 
 format_object_base (const format_object_base &)=default
 
virtual void home ()
 
- Protected Attributes inherited from llvm::format_object_base
const charFmt
 

Detailed Description

template<typename... Ts>
class llvm::format_object< Ts >

Definition at line 90 of file Format.h.

Constructor & Destructor Documentation

◆ format_object()

template<typename... Ts>
llvm::format_object< Ts >::format_object ( const char fmt,
const Ts &...  vals 
)
inline

Definition at line 104 of file Format.h.

Member Function Documentation

◆ snprint()

template<typename... Ts>
int llvm::format_object< Ts >::snprint ( char Buffer,
unsigned  BufferSize 
) const
inlineoverridevirtual

Call snprintf() for this object, on the given buffer and size.

Implements llvm::format_object_base.

Definition at line 109 of file Format.h.


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