hydrogen 1.1.1
SoundLibraryInfo Class Reference

This class holds information about a soundlibrary. More...

#include <SoundLibraryDatastructures.h>

Inheritance diagram for SoundLibraryInfo:
Object

Public Member Functions

 SoundLibraryInfo ()
 
 SoundLibraryInfo (const QString &path)
 
 ~SoundLibraryInfo ()
 
QString getName () const
 
QString getUrl () const
 
QString getInfo () const
 
QString getAuthor () const
 
QString getCategory () const
 
QString getType () const
 
QString getLicense () const
 
QString getImage () const
 
QString getImageLicense () const
 
void setName (const QString &name)
 
void setUrl (const QString &url)
 
void setInfo (const QString &info)
 
void setAuthor (const QString &author)
 
void setType (const QString &type)
 
void setCategory (const QString &category)
 
void setLicense (const QString &license)
 
void setImage (const QString &image)
 
void setImageLicense (const QString &imageLicense)
 
void setPath (const QString &path)
 
QString getPath ()
 
- Public Member Functions inherited from Object
 ~Object ()
 destructor More...
 
 Object (const Object &obj)
 copy constructor More...
 
 Object (const char *class_name)
 constructor More...
 
const char * class_name () const
 return the class name More...
 
virtual QString toQString (const QString &sPrefix, bool bShort=true) const
 Formatted string version for debugging purposes. More...
 
void Print (bool bShort=true) const
 Prints content of toQString() via DEBUGLOG. More...
 

Private Attributes

QString m_sName
 
QString m_sURL
 
QString m_sInfo
 
QString m_sAuthor
 
QString m_sCategory
 
QString m_sType
 
QString m_sLicense
 
QString m_sImage
 
QString m_sImageLicense
 
QString m_sPath
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static void set_count (bool flag)
 enable/disable class instances counting More...
 
static bool count_active ()
 return true if class instances counting is enabled More...
 
static unsigned objects_count ()
 return the number of objects More...
 
static void write_objects_map_to (std::ostream &out)
 output the full objects map to a given ostream More...
 
static void write_objects_map_to_cerr ()
 output objects map to stderr More...
 
static int bootstrap (Logger *logger, bool count=false)
 must be called before any Object instantiation ! More...
 
static Loggerlogger ()
 return the logger instance More...
 
- Static Public Attributes inherited from Object
static QString sPrintIndention = " "
 String used to format the debugging string output of some core classes. More...
 
- Static Protected Attributes inherited from Object
static Logger__logger = nullptr
 logger instance pointer More...
 

Detailed Description

This class holds information about a soundlibrary.

This class is used to represent soundlibrary items. It contains the metadata for songs, pattern and drumkits.

Author
Sebastian Moors

Constructor & Destructor Documentation

◆ SoundLibraryInfo() [1/2]

◆ SoundLibraryInfo() [2/2]

SoundLibraryInfo ( const QString &  path)
explicit

◆ ~SoundLibraryInfo()

Member Function Documentation

◆ getAuthor()

QString getAuthor ( ) const
inline

◆ getCategory()

QString getCategory ( ) const
inline

◆ getImage()

QString getImage ( ) const
inline

◆ getImageLicense()

QString getImageLicense ( ) const
inline

◆ getInfo()

QString getInfo ( ) const
inline

◆ getLicense()

QString getLicense ( ) const
inline

◆ getName()

QString getName ( ) const
inline

◆ getPath()

QString getPath ( )
inline

◆ getType()

QString getType ( ) const
inline

◆ getUrl()

QString getUrl ( ) const
inline

◆ setAuthor()

void setAuthor ( const QString &  author)
inline

◆ setCategory()

void setCategory ( const QString &  category)
inline

◆ setImage()

void setImage ( const QString &  image)
inline

◆ setImageLicense()

void setImageLicense ( const QString &  imageLicense)
inline

◆ setInfo()

void setInfo ( const QString &  info)
inline

◆ setLicense()

void setLicense ( const QString &  license)
inline

◆ setName()

void setName ( const QString &  name)
inline

◆ setPath()

void setPath ( const QString &  path)
inline

◆ setType()

void setType ( const QString &  type)
inline

◆ setUrl()

void setUrl ( const QString &  url)
inline

Field Documentation

◆ m_sAuthor

QString m_sAuthor
private

◆ m_sCategory

QString m_sCategory
private

◆ m_sImage

QString m_sImage
private

◆ m_sImageLicense

QString m_sImageLicense
private

◆ m_sInfo

QString m_sInfo
private

◆ m_sLicense

QString m_sLicense
private

◆ m_sName

QString m_sName
private

◆ m_sPath

QString m_sPath
private

◆ m_sType

QString m_sType
private

◆ m_sURL

QString m_sURL
private