WPILibC++  unspecified
llvm::format_object< Ts > Class Template Referencefinal

These are templated helper classes used by the format function that capture the object to be formated and the format string. More...

#include <Format.h>

Inheritance diagram for llvm::format_object< Ts >:
Collaboration diagram for llvm::format_object< Ts >:

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.
 
- 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 (const format_object_base &)=default
 
virtual void home ()
 
- Protected Attributes inherited from llvm::format_object_base
const char * Fmt
 

Detailed Description

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

These are templated helper classes used by the format function that capture the object to be formated and the format string.

When actually printed, this synthesizes the string into a temporary buffer provided and returns whether or not it is big enough.


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