xapian-core  1.4.22
Namespaces | Functions
str.cc File Reference

Convert types to std::string. More...

#include <config.h>
#include "str.h"
#include "omassert.h"
#include <cstdio>
#include <cstdlib>
#include <string>
#include <type_traits>
+ Include dependency graph for str.cc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 
 Xapian::Internal
 

Functions

template<class T >
static string tostring_unsigned (T value)
 
template<class T >
static string tostring (T value)
 
string Xapian::Internal::str (int value)
 Convert int to std::string. More...
 
string Xapian::Internal::str (unsigned int value)
 Convert unsigned int to std::string. More...
 
string Xapian::Internal::str (long value)
 Convert long to std::string. More...
 
string Xapian::Internal::str (unsigned long value)
 Convert unsigned long to std::string. More...
 
string Xapian::Internal::str (long long value)
 Convert long long to std::string. More...
 
string Xapian::Internal::str (unsigned long long value)
 Convert unsigned long long to std::string. More...
 
template<class T >
static string Xapian::Internal::format (const char *fmt, T value)
 
string Xapian::Internal::str (double value)
 Convert double to std::string. More...
 
string Xapian::Internal::str (const void *value)
 Convert const void * to std::string. More...
 

Detailed Description

Convert types to std::string.

Definition in file str.cc.

Function Documentation

◆ tostring()

template<class T >
static string tostring ( value)
inlinestatic

Definition at line 56 of file str.cc.

References AssertRel.

Referenced by Xapian::Internal::str().

◆ tostring_unsigned()

template<class T >
static string tostring_unsigned ( value)
inlinestatic

Definition at line 37 of file str.cc.

References AssertRel.

Referenced by Xapian::Internal::str().