Produced by Araxis Merge on 4/12/2018 10:18:30 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MSSRe Build 4.zip\Applications\OncoTrax-E40 | ONC_Requests.h | Tue Apr 10 19:43:38 2018 UTC |
| 2 | MSSRe Build 4.zip\Applications\OncoTrax-E40 | ONC_Requests.h | Wed Apr 11 17:42:01 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 422 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 2 | /* Packag e: ON C – Oncolo gy * / | |
| 3 | /* Date C reated: Ju l 26,2004 * / | |
| 4 | /* Site N ame: Hi nes OIFO * / | |
| 5 | /* Developers : Sergey Gav rilov PII ) */ | |
| 6 | /* Descri ption: De clarations of reques t processi ng classes for Oncol ogy * / | |
| 7 | /* We b-service * / | |
| 8 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 9 | ||
| 10 | #ifndef _O NCREQUESTS _H | |
| 11 | #define _O NCREQUESTS _H | |
| 12 | ||
| 13 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 14 | /* GENERAL RE QUESTS * / | |
| 15 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 16 | ||
| 17 | class TONC ReqGetVers ion: publi c TONCRequ est { | |
| 18 | private: | |
| 19 | st ring EDITS Version; // Versiuon of the def ault EDITS metafile | |
| 20 | ||
| 21 | protected: | |
| 22 | vi rtual void execute() ; | |
| 23 | ||
| 24 | public: | |
| 25 | TO NCReqGetVe rsion(cons t TONCTagC ode aCode) : TONCRequ est(aCode) {}; | |
| 26 | ||
| 27 | vi rtual bool parseTagS tart(TONCP arser* Par ser, const TONCTagCo de TagCode , const XM L_Char **a tts); | |
| 28 | ||
| 29 | }; | |
| 30 | ||
| 31 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 32 | /* COLLAB ORATIVE ST AGING REQU ESTS * / | |
| 33 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 34 | ||
| 35 | class TONC ReqCS: pub lic TONCRe quest { | |
| 36 | protected: | |
| 37 | ch ar Site [6]; // P rimary sit e | |
| 38 | ch ar Hist [5]; // H istology | |
| 39 | in t Schema Number; // S chema numb er | |
| 40 | in t TableN umber; // T able numbe r | |
| 41 | ch ar Disc riminator[ 4]; // Discrimin ator | |
| 42 | ||
| 43 | vi rtual void responseT ag(bool op en_tag); | |
| 44 | ||
| 45 | public: | |
| 46 | TO NCReqCS(co nst TONCTa gCode aCod e); | |
| 47 | ||
| 48 | vi rtual bool parseTagE nd(TONCPar ser* Parse r, const T ONCTagCode TagCode); | |
| 49 | ||
| 50 | }; | |
| 51 | ||
| 52 | class TONC ReqCSCalcu late: publ ic TONCReq CS { | |
| 53 | protected: | |
| 54 | da tacard dc; // C S data car d | |
| 55 | ||
| 56 | vi rtual void execute() ; | |
| 57 | ||
| 58 | public: | |
| 59 | TO NCReqCSCal culate(con st TONCTag Code aCode ); | |
| 60 | ||
| 61 | vi rtual bool parseTagE nd(TONCPar ser* Parse r, const T ONCTagCode TagCode); | |
| 62 | ||
| 63 | }; | |
| 64 | ||
| 65 | class TONC ReqCSGetSc hema: publ ic TONCReq CS { | |
| 66 | ||
| 67 | protected: | |
| 68 | vi rtual void execute() ; | |
| 69 | ||
| 70 | public: | |
| 71 | TO NCReqCSGet Schema(con st TONCTag Code aCode ): TONCReq CS(aCode) {}; | |
| 72 | ||
| 73 | }; | |
| 74 | ||
| 75 | class TONC ReqCSGetTa bles: publ ic TONCReq CS { | |
| 76 | public: | |
| 77 | TO NCReqCSGet Tables(con st TONCTag Code aCode ): TONCReq CS(aCode) {}; | |
| 78 | ||
| 79 | vi rtual void execute() ; | |
| 80 | ||
| 81 | }; | |
| 82 | ||
| 83 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 84 | /* EDITS RE QUESTS * / | |
| 85 | /********* ********** ********** ********** ********** ********** ********** ********** / | |
| 86 | ||
| 87 | typedef st ruct { | |
| 88 | co nst char* Name; // N ame of the edit | |
| 89 | in t Options; // Edi t options | |
| 90 | } TONCEdit Cfg; | |
| 91 | ||
| 92 | typedef st ruct { | |
| 93 | co nst char* Name; // N ame of the edit set | |
| 94 | in t Option; // Par ameter for RunBatch | |
| 95 | } TONCEdit SetCfg; | |
| 96 | ||
| 97 | typedef st ruct { | |
| 98 | co nst char* Name; // S tandard na me of the field | |
| 99 | in t Options; // Fie ld options | |
| 100 | } TONCFiel dCfg; | |
| 101 | ||
| 102 | typedef st ruct { | |
| 103 | co nst char* Name; // N ame of the configura tion | |
| 104 | ch ar* Metafile ; // N ame of the metafile | |
| 105 | un signed RecordLe ngth; // Length of the NAACC R record | |
| 106 | TO NCEditSetC fg EditSe ts[10]; // List of edit set options | |
| 107 | TO NCEditCfg Edits[25 ]; // L ist of edi t options | |
| 108 | TO NCFieldCfg Fields [10]; // List of f ield optio ns | |
| 109 | } TONCEDIT SConfig; | |
| 110 | ||
| 111 | class TONC ReqED: pub lic TONCRe quest { | |
| 112 | st ring Meta file; // F ull name o f the EDIT S metafile | |
| 113 | st ring Meta fileVersio n; // Version o f the meta file | |
| 114 | ||
| 115 | protected: | |
| 116 | co nst TONCED ITSConfig* Config; // Pointer to the ED ITS config uration de scriptor ( static) | |
| 117 | ||
| 118 | /* **** The getMetafil e() functi on returns the point er to the null-termi nated | |
| 119 | string that stor es the ful l name (dr ive, path, name, and extension ) | |
| 120 | of the EDITS met afile. | |
| 121 | */ | |
| 122 | co nst char* getMetafil e() { retu rn Metafil e.c_str(); }; | |
| 123 | ||
| 124 | ||
| 125 | vi rtual void responseT ag(bool op en_tag); | |
| 126 | ||
| 127 | public: | |
| 128 | TO NCReqED(co nst TONCTa gCode aCod e); | |
| 129 | vi rtual ~TON CReqED(); | |
| 130 | ||
| 131 | ||
| 132 | /* **** The getMetafil eVersion() function returns th e pointer to the nul l- | |
| 133 | termin ated strin g value of the Metaf ileVersion property (version o f | |
| 134 | the ED ITS metafi le). | |
| 135 | */ | |
| 136 | co nst char* getMetafil eVersion() { return MetafileVe rsion.c_st r(); }; | |
| 137 | ||
| 138 | vi rtual bool parseTagS tart(TONCP arser* Par ser, const TONCTagCo de TagCode , const XM L_Char **a tts); | |
| 139 | ||
| 140 | /* **** The GetVersion () functio n returns the versio n number o ncsrv.ini file. | |
| 141 | */ | |
| 142 | ch ar* GetMet aFileVersi on(); | |
| 143 | }; | |
| 144 | ||
| 145 | class TONC ReqEDGetEd itInfo: pu blic TONCR eqED { | |
| 146 | in t EditIn dex; // Ind ex of the requested edit in th e edit set | |
| 147 | st ring Edit SetName; // Name of t he edit se t | |
| 148 | in t TextWi dth; // Max imum width for forma tting the descriptio n and help text | |
| 149 | ||
| 150 | protected: | |
| 151 | vi rtual void execute() ; | |
| 152 | ||
| 153 | public: | |
| 154 | TO NCReqEDGet EditInfo(c onst TONCT agCode aCo de); | |
| 155 | ||
| 156 | vi rtual bool parseTagE nd(TONCPar ser* Parse r, const T ONCTagCode TagCode); | |
| 157 | ||
| 158 | }; | |
| 159 | ||
| 160 | class TONC ReqEDRunBa tch: publi c TONCReqE D { | |
| 161 | in t Record Handle; // H andle of i nternal re cord buffe r | |
| 162 | ||
| 163 | protected: | |
| 164 | ||
| 165 | vi rtual void execute() ; | |
| 166 | ||
| 167 | ||
| 168 | /* **** The executeEdi tSet() fun ction perf orms the v alidations defined b y the | |
| 169 | edit s et on the NAACCR rec ord stored in the Re cord buffe r. | |
| 170 | ||
| 171 | name Name of the edit s et (pointe r to a nul l-terminat ed string) . | |
| 172 | */ | |
| 173 | vo id execute EditSet(co nst char* name, cons t int opti on = 2); | |
| 174 | ||
| 175 | ||
| 176 | /* **** The outputMess ages() fun ction anal yzes resul ts of the EE_RunBatc h() | |
| 177 | functi on, genera tes the co rrespondin g XML resp onse, and outputs it | |
| 178 | to the stdout. | |
| 179 | ||
| 180 | setH andle Handle o f the edit set (see the EDITS API docume ntation fo r | |
| 181 | details). | |
| 182 | ||
| 183 | setN ame Name of the edit s et (pointe r to a nul l-terminat ed string) . | |
| 184 | */ | |
| 185 | vo id outputM essages(EE t_mh setHa ndle, cons t char* se tName); | |
| 186 | ||
| 187 | ||
| 188 | /* **** The setEditOpt ions() fun ction pass es edit op tions from the | |
| 189 | curren t configur ation to t he EDITS e ngine. | |
| 190 | */ | |
| 191 | vo id setEdit Options(EE t_mh EditS etHandle); | |
| 192 | ||
| 193 | ||
| 194 | /* **** The setFieldOp tions() fu nction pas ses field options fr om the | |
| 195 | curren t configur ation to t he EDITS e ngine. | |
| 196 | */ | |
| 197 | vo id setFiel dOptions(v oid); | |
| 198 | ||
| 199 | /* **** The GetFileLay outName() function r eturns the file layo ut name. | |
| 200 | The ve rsion numb er is from oncsrv.in i file. | |
| 201 | */ | |
| 202 | ch ar* GetMet aFileLayou tName(); | |
| 203 | ||
| 204 | ||
| 205 | public: | |
| 206 | TO NCReqEDRun Batch(cons t TONCTagC ode aCode) ; | |
| 207 | ||
| 208 | vi rtual bool parseTagE nd(TONCPar ser* Parse r, const T ONCTagCode TagCode); | |
| 209 | ||
| 210 | }; | |
| 211 | ||
| 212 | #endif |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.