pianod2
multisource multiuser scriptable networked music player
Public Member Functions | List of all members
MusicLibrary::NameAggregator Class Reference

Make a list of unique strings. More...

Inheritance diagram for MusicLibrary::NameAggregator:
Inheritance graph
[legend]
Collaboration diagram for MusicLibrary::NameAggregator:
Collaboration graph
[legend]

Public Member Functions

std::string str (const std::string &joiner, std::string::size_type limit=0xffff, const std::string &tail="...") const
 Return the results of aggregation. More...
 

Detailed Description

Make a list of unique strings.

Used for artists on compilation albums and genres on playlists.

Member Function Documentation

◆ str()

std::string MusicLibrary::NameAggregator::str ( const std::string &  joiner,
std::string::size_type  limit = 0xffff,
const std::string &  tail = "..." 
) const
inline

Return the results of aggregation.

Parameters
joinerThe string with which to connect members.
limitApproximate maximum length of the returned string.
tailA string to append if members are dropped.
Here is the caller graph for this function:

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