libzypp  15.28.6
zypp::str::FormatNAC Class Reference

Format with (N)o (A)rgument (C)heck. More...

#include <String.h>

Inheritance diagram for zypp::str::FormatNAC:

Public Member Functions

 FormatNAC ()
 
 FormatNAC (const std::string &format_r)
 
- Public Member Functions inherited from zypp::str::Format
 Format ()
 
 Format (const std::string &format_r)
 
template<class Tp >
Formatoperator% (Tp &&arg)
 
 operator std::string () const
 
std::string asString () const
 
std::string str () const
 
const boost::format & fmter () const
 
boost::format & fmter ()
 

Private Member Functions

void relax ()
 

Additional Inherited Members

- Protected Attributes inherited from zypp::str::Format
boost::format _fmter
 

Detailed Description

Format with (N)o (A)rgument (C)heck.

It won't complain about missing or excess arguments. Sometimes usefull when dealing with translations or classes providing a default formater.

Definition at line 278 of file String.h.

Constructor & Destructor Documentation

zypp::str::FormatNAC::FormatNAC ( )
inline

Definition at line 280 of file String.h.

zypp::str::FormatNAC::FormatNAC ( const std::string &  format_r)
inline

Definition at line 281 of file String.h.

Member Function Documentation

void zypp::str::FormatNAC::relax ( )
inlineprivate

Definition at line 284 of file String.h.


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