Ardour  9.0-pre0-582-g084a23a80d
compose.h File Reference
#include <sstream>
#include <string>
#include <list>
#include <map>
#include "pbd/libpbd_visibility.h"
Include dependency graph for compose.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringPrivate::Composition
 

Namespaces

 StringPrivate
 

Functions

int StringPrivate::char_to_int (char c)
 
bool StringPrivate::is_number (int n)
 
template<typename T1 >
std::string string_compose (const std::string &fmt, const T1 &o1)
 
template<typename T1 , typename T2 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2)
 
template<typename T1 , typename T2 , typename T3 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13, const T14 &o14)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 >
std::string string_compose (const std::string &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13, const T14 &o14, const T15 &o15)
 

Function Documentation

◆ string_compose() [1/15]

template<typename T1 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1 
)
inline

Definition at line 246 of file compose.h.

◆ string_compose() [2/15]

template<typename T1 , typename T2 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2 
)
inline

Definition at line 254 of file compose.h.

◆ string_compose() [3/15]

template<typename T1 , typename T2 , typename T3 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3 
)
inline

Definition at line 263 of file compose.h.

◆ string_compose() [4/15]

template<typename T1 , typename T2 , typename T3 , typename T4 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4 
)
inline

Definition at line 272 of file compose.h.

◆ string_compose() [5/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5 
)
inline

Definition at line 282 of file compose.h.

◆ string_compose() [6/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6 
)
inline

Definition at line 293 of file compose.h.

◆ string_compose() [7/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7 
)
inline

Definition at line 304 of file compose.h.

◆ string_compose() [8/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8 
)
inline

Definition at line 316 of file compose.h.

◆ string_compose() [9/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9 
)
inline

Definition at line 328 of file compose.h.

◆ string_compose() [10/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10 
)
inline

Definition at line 340 of file compose.h.

◆ string_compose() [11/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10,
const T11 &  o11 
)
inline

Definition at line 355 of file compose.h.

◆ string_compose() [12/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10,
const T11 &  o11,
const T12 &  o12 
)
inline

Definition at line 370 of file compose.h.

◆ string_compose() [13/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10,
const T11 &  o11,
const T12 &  o12,
const T13 &  o13 
)
inline

Definition at line 385 of file compose.h.

◆ string_compose() [14/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10,
const T11 &  o11,
const T12 &  o12,
const T13 &  o13,
const T14 &  o14 
)
inline

Definition at line 401 of file compose.h.

◆ string_compose() [15/15]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 >
std::string string_compose ( const std::string &  fmt,
const T1 &  o1,
const T2 &  o2,
const T3 &  o3,
const T4 &  o4,
const T5 &  o5,
const T6 &  o6,
const T7 &  o7,
const T8 &  o8,
const T9 &  o9,
const T10 &  o10,
const T11 &  o11,
const T12 &  o12,
const T13 &  o13,
const T14 &  o14,
const T15 &  o15 
)
inline

Definition at line 418 of file compose.h.