libopenmpt  0.2.5787-autotools
cross-platform C++ and C library to decode tracked music files
libopenmpt.hpp File Reference
#include "libopenmpt_config.h"
#include <exception>
#include <iosfwd>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Classes

class  openmpt::exception
 
class  openmpt::module
 

Namespaces

 openmpt
 
 openmpt::string
 

Functions

LIBOPENMPT_CXX_API std::uint32_t openmpt::get_library_version ()
 Get the libopenmpt version number. More...
 
LIBOPENMPT_CXX_API std::uint32_t openmpt::get_core_version ()
 Get the core version number. More...
 
LIBOPENMPT_CXX_API std::string openmpt::string::get (const std::string &key)
 Get library related metadata. More...
 
LIBOPENMPT_CXX_API std::vector< std::string > openmpt::get_supported_extensions ()
 Get a list of supported file extensions. More...
 
LIBOPENMPT_CXX_API bool openmpt::is_extension_supported (const std::string &extension)
 Query whether a file extension is supported. More...
 
LIBOPENMPT_CXX_API double openmpt::could_open_propability (std::istream &stream, double effort=1.0, std::ostream &log=std::clog)
 Roughly scan the input stream to find out whether libopenmpt might be able to open it. More...
 

Variables

static const char openmpt::string::library_version [] = "library_version"
 Return a verbose library version string from openmpt::string::get(). More...
 
static const char openmpt::string::library_features [] = "library_features"
 Return a verbose library features string from openmpt::string::get(). More...
 
static const char openmpt::string::core_version [] = "core_version"
 Return a verbose OpenMPT core version string from openmpt::string::get(). More...
 
static const char openmpt::string::build [] = "build"
 Return information about the current build (e.g. the build date or compiler used) from openmpt::string::get(). More...
 
static const char openmpt::string::credits [] = "credits"
 Return all contributors from openmpt::string::get(). More...
 
static const char openmpt::string::contact [] = "contact"
 Return contact infromation about libopenmpt from openmpt::string::get(). More...
 
static const char openmpt::string::license [] = "license"
 Return the libopenmpt license from openmpt::string::get(). More...