Debian Codegraph @

HercPrinter/Trigger.h

raw symbols SCIP
1 /*
2 * File: Trigger.h
3 *
4 * Author: Jacob Dekel
5 * Created on: May 10, 2014
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 * This object represents a trigger for the Hercules Studio printer. A trigger changes the behavior of the printer
11 * (E.g., creation of a job file).
12 *
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 *
26 */
27 #ifndef TRIGGER_H
28 #define TRIGGER_Hcxx . . $ `HercPrinter/Trigger.h:28:9`!
29
30 #include <QString>
31
32 class Triggercxx . . $ Trigger#
33 {
34 public:
35 Triggercxx . . $ Trigger#Trigger(49f6e7a06ebc5aa8).();
36 Triggercxx . . $ Trigger#Trigger(3520e46b33348bf6).(const QStringcxx . . $ QString#& triggerString);
37 enum TriggerTypecxx . . $ Trigger#TriggerType#
38 {
39 TriggerStringcxx . . $ Trigger#TriggerString.,
40 TriggerRegExpcxx . . $ Trigger#TriggerRegExp.
41 };
42 void setcxx . . $ Trigger#set(276dce1a1c58a955).(int line, int column, TriggerTypecxx . . $ Trigger#TriggerType# trigger, QStringcxx . . $ QString#& text);
43 void setcxx . . $ Trigger#set(8742dea680450b36).(int line, int column, int trigger, QStringcxx . . $ QString#& text);
44 static const QStringcxx . . $ QString# &decodeTriggerTypecxx . . $ Trigger#decodeTriggerType(17c918784cb078a9).(TriggerTypecxx . . $ Trigger#TriggerType# type);
45 static TriggerTypecxx . . $ Trigger#TriggerType# encodeTriggerTypecxx . . $ Trigger#encodeTriggerType(9e18fb0ba6a204fe).(const QStringcxx . . $ QString# &type);
46
47 inline int linecxx . . $ Trigger#line(b126dc7c1de90089).() { return mLinecxx . . $ Trigger#mLine.; }
48 inline int columncxx . . $ Trigger#column(b126dc7c1de90089).() { return mColumncxx . . $ Trigger#mColumn.; }
49 inline TriggerTypecxx . . $ Trigger#TriggerType# triggerTypecxx . . $ Trigger#triggerType(4cc0b1ca9dfa2a03).() { return mTriggerTypecxx . . $ Trigger#mTriggerType.; }
50 inline QStringcxx . . $ QString# textcxx . . $ Trigger#text(4365c3963150523e).() { return mTextcxx . . $ QString#QString(3520e46b33348bf6).; }
51
52 inline void setLinecxx . . $ Trigger#setLine(d4f767463ce0a6b3).(int line) { mLinecxx . . $ Trigger#mLine. = line; }
53 inline void setColumncxx . . $ Trigger#setColumn(d4f767463ce0a6b3).(int column) { mColumncxx . . $ Trigger#mColumn. = column; }
54 inline void setTriggerTypecxx . . $ Trigger#setTriggerType(6ec3fc4b22ba8d9b).(TriggerTypecxx . . $ Trigger#TriggerType# triggerType) { mTriggerTypecxx . . $ Trigger#mTriggerType. = triggerType; }
55 inline void setTextcxx . . $ Trigger#setText(7df51288a9ebd664).(QStringcxx . . $ QString# text) { mTextcxx . . $ Trigger#mText. =cxx . . $ QString#`operator=`(6a89d0b7f4d2681c). text; }
56
57 private:
58 int mLinecxx . . $ Trigger#mLine.; // line to look for
59 int mColumncxx . . $ Trigger#mColumn.; // column to look for
60 TriggerTypecxx . . $ Trigger#TriggerType# mTriggerTypecxx . . $ Trigger#mTriggerType.; // trigger type
61 QStringcxx . . $ QString# mTextcxx . . $ Trigger#mText.; // validation text
62 };
63
64 #endif // TRIGGER_H