Generate an accompaniement for a given melody
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Database::Style Class Reference

Public Member Functions

 Style (Style &&o)=default
 
Styleoperator= (Database::Style &&o)=default
 
 Style (const boost::filesystem::path &p, const std::string &name)
 constructor of a given style, based on its name More...
 
void setContent (const std::string &str)
 

Friends

class Database
 

Constructor & Destructor Documentation

Database::Style::Style ( const boost::filesystem::path &  p,
const std::string &  name 
)

constructor of a given style, based on its name

Exceptions
std::runtime_errorif the corresponding file is not readable.
Parameters
name

Member Function Documentation

void Database::Style::setContent ( const std::string &  str)

Delete the content of the file, and replace it by the string

Parameters
strinteded content

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