libzypp 8.13.6
Public Member Functions | Public Attributes

zypp::str::SafeBuf Struct Reference

Assert free called for allocated char *. More...

#include <String.h>

List of all members.

Public Member Functions

 SafeBuf ()
 ~SafeBuf ()
std::string asString () const

Public Attributes

char * _buf

Detailed Description

Assert free called for allocated char *.

 ...
 SafeBuf safe;
 vasprintf( &safe._buf, format, ap );
 return safe.asString();

Definition at line 156 of file String.h.


Constructor & Destructor Documentation

zypp::str::SafeBuf::SafeBuf ( ) [inline]

Definition at line 159 of file String.h.

zypp::str::SafeBuf::~SafeBuf ( ) [inline]

Definition at line 160 of file String.h.


Member Function Documentation

std::string zypp::str::SafeBuf::asString ( ) const [inline]

Definition at line 161 of file String.h.

Referenced by zypp::str::form().


Member Data Documentation

Definition at line 158 of file String.h.

Referenced by zypp::str::form().


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