Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Hewman
IVS_kalkulacka
atom.h
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File atom.h of Package IVS_kalkulacka
/** * @file atom.h * * @brief Hlavickovy subor obsahujuci definicie pre triedu atomu pre vyhodnocovanie matematickych vyrazov * @author xlelke01 xhefka01 xbence01 xfisla00 */ /* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef ATOM_H #define ATOM_H #include <QObject> class Atom : public QObject { Q_OBJECT public: enum Operand { NUM, ADD, SUB, DIV, MOD, MUL, POW, FACT }; enum Priority { PADD = 1, PSUB = 1, PMUL = 2, PDIV = 2, PMOD = 2, PPOW = 3, PFACT = 3 }; explicit Atom(bool isOp, Operand opType = NUM, int value = 0.0, QObject *parent = 0); bool isOp; Operand opType; int value; int priority; signals: public slots: }; #endif // ATOM_H
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor