bool TalkerCode::operator!=(TalkerCode &other) const { return d->language != other.language() || d->voiceType != other.voiceType() || d->rate != other.rate() || d->volume != other.volume() || d->pitch != other.pitch() || d->voiceName != other.voiceName() || d->outputModule != other.outputModule() || d->punctuation != other.punctuation(); }
bool TalkerCode::operator==(TalkerCode &other) const { return d->language == other.language() && d->voiceType == other.voiceType() && d->rate == other.rate() && d->volume == other.volume() && d->pitch == other.pitch() && d->voiceName == other.voiceName() && d->outputModule == other.outputModule() && d->punctuation == other.punctuation(); }
/** * Copy Constructor. */ TalkerCode::TalkerCode(const TalkerCode& other) :d(new TalkerCodePrivate(this)) { d->name = other.name(); d->language = other.language(); d->voiceType = other.voiceType(); d->volume = other.volume(); d->rate = other.rate(); d->pitch = other.pitch(); d->voiceName = other.voiceName(); d->outputModule = other.outputModule(); d->punctuation = other.punctuation(); }