Revision 4061b346
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
samples/simple/article.cpp | ||
---|---|---|
}
|
||
|
||
Article::~Article() {
|
||
|
||
}
|
||
|
||
Article::Article() : Entity() {
|
||
... | ... | |
this->name = name;
|
||
}
|
||
|
||
double Article::getPrice() const
|
||
{
|
||
double Article::getPrice() const {
|
||
return price;
|
||
}
|
||
|
||
void Article::setPrice(double value)
|
||
{
|
||
void Article::setPrice(double value) {
|
||
price = value;
|
||
}
|
Auch abrufbar als: Unified diff
samples again