Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.33 KB | None | 0 0
  1. %----------------------------------------------------------------------------------------
  2. % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
  3. %----------------------------------------------------------------------------------------
  4.  
  5. \documentclass{book}
  6.  
  7. \usepackage[svgnames]{xcolor} % Required to specify font color
  8.  
  9. \newcommand*{\plogo}{\fbox{$\mathcal{PL}$}} % Generic publisher logo
  10.  
  11. %----------------------------------------------------------------------------------------
  12. % TITLE PAGE
  13. %----------------------------------------------------------------------------------------
  14.  
  15. \newcommand*{\titleAT}{\begingroup % Create the command for including the title page in the document
  16. \newlength{\drop} % Command for generating a specific amount of whitespace
  17. \drop=0.1\textheight % Define the command as 10% of the total text height
  18.  
  19. \rule{\textwidth}{1pt}\par % Thick horizontal line
  20. \vspace{2pt}\vspace{-\baselineskip} % Whitespace between lines
  21. \rule{\textwidth}{0.4pt}\par % Thin horizontal line
  22.  
  23. \vspace{\drop} % Whitespace between the top lines and title
  24. \centering % Center all text
  25. \textcolor{Red}{ % Red font color
  26. {\Huge Assignment 1: Design}\\[0.5\baselineskip] % Title line 1
  27. {\Large 4/29/16}\\[0.75\baselineskip] % Title line 2
  28. {\Large Spring 2016}} % Title line 3
  29.  
  30. \vspace{0.25\drop} % Whitespace between the title and short horizontal line
  31. \rule{0.3\textwidth}{0.4pt}\par % Short horizontal line under the title
  32. \vspace{\drop} % Whitespace between the thin horizontal line and the author name
  33.  
  34. {\Large \textsc{Glenn Cochran}\\[0.5\baselineskip]}
  35. {\Large \textsc{\&}\\[0.75\baselineskip]}
  36. {\Large \textsc{Montana Esguerra}}\par % Author name
  37.  
  38. \vfill % Whitespace between the author name and publisher text
  39.  
  40. \vspace*{\drop} % Whitespace under the publisher text
  41.  
  42. \rule{\textwidth}{0.4pt}\par % Thin horizontal line
  43. \vspace{2pt}\vspace{-\baselineskip} % Whitespace between lines
  44. \rule{\textwidth}{1pt}\par % Thick horizontal line
  45.  
  46. \endgroup}
  47. %----------------------------------------------------------------------------------------
  48. % BLANK DOCUMENT
  49. %----------------------------------------------------------------------------------------
  50. \usepackage{tikz}
  51. \usepackage{pdflscape}
  52. \usepackage{rotating}
  53. \usepackage{listings}
  54. \usepackage[T1]{tipa}
  55. \usepackage{xcolor} % for setting colors
  56.  
  57. \begin{document}
  58.  
  59. \pagestyle{empty} % Removes page numbers
  60.  
  61. \titleAT % This command includes the title page
  62.  
  63. \newpage
  64.  
  65. \section*{Introduction}
  66. \noindent
  67. \paragraph{}
  68. For this assignment, we are using the composite design pattern to design a C++implementation of rshell. In this design,
  69. executables and their argument lists are going to be leafs, and connectors will be composite classes. Our base class will
  70. have a pure virtual function “execute” which will be used to execute the commands the user types. The three connectors,
  71. ||
  72. %“\|\|” “\&\&”, and “\#”, will each have their own classes. The “\|\|” and “\&\&” classes will have private data members
  73. consisting of 2 base pointers (Base *), one corresponding to its left node and the other its right node. The execute
  74. function’s job in each of these classes is to determine whether the executable in the right node should be executed or
  75. not based on the success or failure of the left node’s execution. When rshell reads the \# connector, child nodes of
  76. this connector will be treated as string literals and be ignored by rshell. In other words, anything that comes after “\#”
  77. will be commented blocks of code. The leaf class’s execute function’s job is to execute the command and to return if the
  78. execution succeeded or failed.
  79.  
  80. \newpage
  81.  
  82. % set the default code style
  83. \lstset{
  84. frame=tb, % draw a frame at the top and bottom of the code block
  85. tabsize=4, % tab space width
  86. showstringspaces=false, % don't mark spaces in strings
  87. numbers=left, % display line numbers on the left
  88. commentstyle=\color{green}, % comment color
  89. keywordstyle=\color{blue}, % keyword color
  90. stringstyle=\color{red} % string color
  91. }
  92.  
  93. \begin{lstlisting}[language=C++, caption={C++ Pseudo Code for Assignment 1}]
  94. #include <iostream>
  95.  
  96. using namespace std;
  97.  
  98. class Base {
  99. private:
  100. bool executed;
  101. string name;
  102. string arguement;
  103.  
  104. public:
  105. Base() { }
  106. virtual void execute() = 0;
  107.  
  108. bool getExecuted()
  109. {
  110. return executed;
  111. }
  112.  
  113. void setExecuted(bool x)
  114. {
  115. executed = x;
  116. }
  117.  
  118. string getName()
  119. {
  120. return name;
  121. }
  122.  
  123. void setName(string x)
  124. {
  125. name = x;
  126. }
  127.  
  128. void setArguement(string x) {
  129. arguement = x;
  130. }
  131.  
  132. string getArguement() {
  133. return arguement;
  134. }
  135.  
  136. };
  137.  
  138. class Or:public Base
  139. {
  140. private:
  141. Base* left;
  142. Base* right;
  143.  
  144. public:
  145. Or(Base *x, Base* y)
  146. {
  147. left = x;
  148. right = y;
  149. }
  150. void execute()
  151. {
  152. left->execute();
  153. if(!left->getExecuted)
  154. {
  155. right->execute();
  156. }
  157. }
  158. };
  159.  
  160. class And:public Base
  161. {
  162. private:
  163. Base* left;
  164. Base* right;
  165.  
  166. public:
  167. And(Base *x, Base* y)
  168. {
  169. left = x;
  170. right = y;
  171. }
  172. void execute()
  173. {
  174. left->execute();
  175. if(left->getExecuted)
  176. {
  177. right->execute();
  178. }
  179. }
  180. };
  181.  
  182. class Comment:public Base
  183. {
  184. private:
  185. Base* child;
  186.  
  187. public:
  188. Comment(Base* x)
  189. {
  190. child = x;
  191. }
  192. void execute()
  193. {
  194. child->setArguement("");
  195. child->execute();
  196. }
  197.  
  198. };
  199.  
  200. class Executable:public Base
  201. {
  202. private:
  203. Base* child;
  204.  
  205. public:
  206. Executable(Base* x)
  207. {
  208. child = x;
  209. }
  210.  
  211. void execute()
  212. {
  213. //implement syscalls
  214. }
  215. }
  216.  
  217. class Parser
  218. {
  219. vector<string> Parse(string x)
  220. {
  221. //implement parse with strtok
  222. //return vector of separated x
  223. }
  224. };
  225.  
  226. int main()
  227. {
  228. // vector<string>userInput;
  229. // string temp;
  230. // cout << "Enter command: " << endl;
  231. // getline(cin, temp);
  232. // userInput = Parse(temp);
  233. // for(int i = 0; i < userInput.size(); i++)
  234. // {
  235. // construct objects
  236. // }
  237.  
  238. return 0;
  239. }
  240.  
  241. \end{lstlisting}
  242.  
  243.  
  244.  
  245. % Graphic for TeX using PGF
  246. % Title: C:\Users\Glenn\Pictures\Assn1.dia
  247. % Creator: Dia v0.97.2
  248. % CreationDate: Thu Apr 28 21:40:16 2016
  249. % For: Glenn
  250. % \usepackage{tikz}
  251. % The following commands are not supported in PSTricks at present
  252. % We define them conditionally, so when they are implemented,
  253. % this pgf file will use them
  254. %\documentclass{article}
  255. %\begin{document}
  256. \begin{landscape}
  257. \pagenumbering{gobble}
  258. \ifx\du\undefined
  259. \newlength{\du}
  260. \fi
  261. \setlength{\du}{15\unitlength}
  262. \begin{tikzpicture}
  263. \pgftransformxscale{1.000000}
  264. \pgftransformyscale{-1.000000}
  265. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  266. \pgfsetstrokecolor{dialinecolor}
  267. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  268. \pgfsetfillcolor{dialinecolor}
  269. \pgfsetlinewidth{0.100000\du}
  270. \pgfsetdash{}{0pt}
  271. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  272. \pgfsetfillcolor{dialinecolor}
  273. \fill (34.100000\du,5.650000\du)--(34.100000\du,7.050000\du)--(44.225000\du,7.050000\du)--(44.225000\du,5.650000\du)--cycle;
  274. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  275. \pgfsetstrokecolor{dialinecolor}
  276. \draw (34.100000\du,5.650000\du)--(34.100000\du,7.050000\du)--(44.225000\du,7.050000\du)--(44.225000\du,5.650000\du)--cycle;
  277. % setfont left to latex
  278. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  279. \pgfsetstrokecolor{dialinecolor}
  280. \node at (39.162500\du,6.650000\du){Base};
  281. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  282. \pgfsetfillcolor{dialinecolor}
  283. \fill (34.100000\du,7.050000\du)--(34.100000\du,9.650000\du)--(44.225000\du,9.650000\du)--(44.225000\du,7.050000\du)--cycle;
  284. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  285. \pgfsetstrokecolor{dialinecolor}
  286. \draw (34.100000\du,7.050000\du)--(34.100000\du,9.650000\du)--(44.225000\du,9.650000\du)--(44.225000\du,7.050000\du)--cycle;
  287. % setfont left to latex
  288. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  289. \pgfsetstrokecolor{dialinecolor}
  290. \node[anchor=west] at (34.250000\du,7.710000\du){-name: string};
  291. % setfont left to latex
  292. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  293. \pgfsetstrokecolor{dialinecolor}
  294. \node[anchor=west] at (34.250000\du,8.510000\du){-argument: string};
  295. % setfont left to latex
  296. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  297. \pgfsetstrokecolor{dialinecolor}
  298. \node[anchor=west] at (34.250000\du,9.310000\du){-executed: bool};
  299. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  300. \pgfsetfillcolor{dialinecolor}
  301. \fill (34.100000\du,9.650000\du)--(34.100000\du,15.450000\du)--(44.225000\du,15.450000\du)--(44.225000\du,9.650000\du)--cycle;
  302. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  303. \pgfsetstrokecolor{dialinecolor}
  304. \draw (34.100000\du,9.650000\du)--(34.100000\du,15.450000\du)--(44.225000\du,15.450000\du)--(44.225000\du,9.650000\du)--cycle;
  305. % setfont left to latex
  306. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  307. \pgfsetstrokecolor{dialinecolor}
  308. \node[anchor=west] at (34.250000\du,10.310000\du){+executed(): virtual void};
  309. % setfont left to latex
  310. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  311. \pgfsetstrokecolor{dialinecolor}
  312. \node[anchor=west] at (34.250000\du,11.110000\du){+getName(): string};
  313. % setfont left to latex
  314. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  315. \pgfsetstrokecolor{dialinecolor}
  316. \node[anchor=west] at (34.250000\du,11.910000\du){+setName(): void};
  317. % setfont left to latex
  318. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  319. \pgfsetstrokecolor{dialinecolor}
  320. \node[anchor=west] at (34.250000\du,12.710000\du){+getArgument(): string};
  321. % setfont left to latex
  322. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  323. \pgfsetstrokecolor{dialinecolor}
  324. \node[anchor=west] at (34.250000\du,13.510000\du){+setArgument(): void};
  325. % setfont left to latex
  326. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  327. \pgfsetstrokecolor{dialinecolor}
  328. \node[anchor=west] at (34.250000\du,14.310000\du){+getExecuted(): bool};
  329. % setfont left to latex
  330. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  331. \pgfsetstrokecolor{dialinecolor}
  332. \node[anchor=west] at (34.250000\du,15.110000\du){+setExecuted(): void};
  333. \pgfsetlinewidth{0.100000\du}
  334. \pgfsetdash{}{0pt}
  335. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  336. \pgfsetfillcolor{dialinecolor}
  337. \fill (22.744500\du,19.062500\du)--(22.744500\du,20.462500\du)--(29.404500\du,20.462500\du)--(29.404500\du,19.062500\du)--cycle;
  338. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  339. \pgfsetstrokecolor{dialinecolor}
  340. \draw (22.744500\du,19.062500\du)--(22.744500\du,20.462500\du)--(29.404500\du,20.462500\du)--(29.404500\du,19.062500\du)--cycle;
  341. % setfont left to latex
  342. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  343. \pgfsetstrokecolor{dialinecolor}
  344. \node at (26.074500\du,20.062500\du){Executable};
  345. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  346. \pgfsetfillcolor{dialinecolor}
  347. \fill (22.744500\du,20.462500\du)--(22.744500\du,21.462500\du)--(29.404500\du,21.462500\du)--(29.404500\du,20.462500\du)--cycle;
  348. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  349. \pgfsetstrokecolor{dialinecolor}
  350. \draw (22.744500\du,20.462500\du)--(22.744500\du,21.462500\du)--(29.404500\du,21.462500\du)--(29.404500\du,20.462500\du)--cycle;
  351. % setfont left to latex
  352. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  353. \pgfsetstrokecolor{dialinecolor}
  354. \node[anchor=west] at (22.894500\du,21.122500\du){-Child: Base*};
  355. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  356. \pgfsetfillcolor{dialinecolor}
  357. \fill (22.744500\du,21.462500\du)--(22.744500\du,22.462500\du)--(29.404500\du,22.462500\du)--(29.404500\du,21.462500\du)--cycle;
  358. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  359. \pgfsetstrokecolor{dialinecolor}
  360. \draw (22.744500\du,21.462500\du)--(22.744500\du,22.462500\du)--(29.404500\du,22.462500\du)--(29.404500\du,21.462500\du)--cycle;
  361. % setfont left to latex
  362. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  363. \pgfsetstrokecolor{dialinecolor}
  364. \node[anchor=west] at (22.894500\du,22.122500\du){+execute(): void};
  365. \pgfsetlinewidth{0.100000\du}
  366. \pgfsetdash{}{0pt}
  367. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  368. \pgfsetfillcolor{dialinecolor}
  369. \fill (31.519500\du,19.062500\du)--(31.519500\du,20.462500\du)--(38.179500\du,20.462500\du)--(38.179500\du,19.062500\du)--cycle;
  370. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  371. \pgfsetstrokecolor{dialinecolor}
  372. \draw (31.519500\du,19.062500\du)--(31.519500\du,20.462500\du)--(38.179500\du,20.462500\du)--(38.179500\du,19.062500\du)--cycle;
  373. % setfont left to latex
  374. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  375. \pgfsetstrokecolor{dialinecolor}
  376. \node at (34.849500\du,20.062500\du){Comment};
  377. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  378. \pgfsetfillcolor{dialinecolor}
  379. \fill (31.519500\du,20.462500\du)--(31.519500\du,21.462500\du)--(38.179500\du,21.462500\du)--(38.179500\du,20.462500\du)--cycle;
  380. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  381. \pgfsetstrokecolor{dialinecolor}
  382. \draw (31.519500\du,20.462500\du)--(31.519500\du,21.462500\du)--(38.179500\du,21.462500\du)--(38.179500\du,20.462500\du)--cycle;
  383. % setfont left to latex
  384. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  385. \pgfsetstrokecolor{dialinecolor}
  386. \node[anchor=west] at (31.669500\du,21.122500\du){-Child: Base*};
  387. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  388. \pgfsetfillcolor{dialinecolor}
  389. \fill (31.519500\du,21.462500\du)--(31.519500\du,22.462500\du)--(38.179500\du,22.462500\du)--(38.179500\du,21.462500\du)--cycle;
  390. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  391. \pgfsetstrokecolor{dialinecolor}
  392. \draw (31.519500\du,21.462500\du)--(31.519500\du,22.462500\du)--(38.179500\du,22.462500\du)--(38.179500\du,21.462500\du)--cycle;
  393. % setfont left to latex
  394. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  395. \pgfsetstrokecolor{dialinecolor}
  396. \node[anchor=west] at (31.669500\du,22.122500\du){+execute(): void};
  397. \pgfsetlinewidth{0.100000\du}
  398. \pgfsetdash{}{0pt}
  399. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  400. \pgfsetfillcolor{dialinecolor}
  401. \fill (40.319500\du,19.062500\du)--(40.319500\du,20.462500\du)--(46.979500\du,20.462500\du)--(46.979500\du,19.062500\du)--cycle;
  402. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  403. \pgfsetstrokecolor{dialinecolor}
  404. \draw (40.319500\du,19.062500\du)--(40.319500\du,20.462500\du)--(46.979500\du,20.462500\du)--(46.979500\du,19.062500\du)--cycle;
  405. % setfont left to latex
  406. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  407. \pgfsetstrokecolor{dialinecolor}
  408. \node at (43.649500\du,20.062500\du){And};
  409. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  410. \pgfsetfillcolor{dialinecolor}
  411. \fill (40.319500\du,20.462500\du)--(40.319500\du,22.262500\du)--(46.979500\du,22.262500\du)--(46.979500\du,20.462500\du)--cycle;
  412. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  413. \pgfsetstrokecolor{dialinecolor}
  414. \draw (40.319500\du,20.462500\du)--(40.319500\du,22.262500\du)--(46.979500\du,22.262500\du)--(46.979500\du,20.462500\du)--cycle;
  415. % setfont left to latex
  416. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  417. \pgfsetstrokecolor{dialinecolor}
  418. \node[anchor=west] at (40.469500\du,21.122500\du){-left: Base*};
  419. % setfont left to latex
  420. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  421. \pgfsetstrokecolor{dialinecolor}
  422. \node[anchor=west] at (40.469500\du,21.922500\du){-right: Base*};
  423. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  424. \pgfsetfillcolor{dialinecolor}
  425. \fill (40.319500\du,22.262500\du)--(40.319500\du,23.262500\du)--(46.979500\du,23.262500\du)--(46.979500\du,22.262500\du)--cycle;
  426. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  427. \pgfsetstrokecolor{dialinecolor}
  428. \draw (40.319500\du,22.262500\du)--(40.319500\du,23.262500\du)--(46.979500\du,23.262500\du)--(46.979500\du,22.262500\du)--cycle;
  429. % setfont left to latex
  430. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  431. \pgfsetstrokecolor{dialinecolor}
  432. \node[anchor=west] at (40.469500\du,22.922500\du){+execute(): void};
  433. \pgfsetlinewidth{0.100000\du}
  434. \pgfsetdash{}{0pt}
  435. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  436. \pgfsetfillcolor{dialinecolor}
  437. \fill (49.132000\du,19.062500\du)--(49.132000\du,20.462500\du)--(55.792000\du,20.462500\du)--(55.792000\du,19.062500\du)--cycle;
  438. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  439. \pgfsetstrokecolor{dialinecolor}
  440. \draw (49.132000\du,19.062500\du)--(49.132000\du,20.462500\du)--(55.792000\du,20.462500\du)--(55.792000\du,19.062500\du)--cycle;
  441. % setfont left to latex
  442. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  443. \pgfsetstrokecolor{dialinecolor}
  444. \node at (52.462000\du,20.062500\du){Or};
  445. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  446. \pgfsetfillcolor{dialinecolor}
  447. \fill (49.132000\du,20.462500\du)--(49.132000\du,22.262500\du)--(55.792000\du,22.262500\du)--(55.792000\du,20.462500\du)--cycle;
  448. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  449. \pgfsetstrokecolor{dialinecolor}
  450. \draw (49.132000\du,20.462500\du)--(49.132000\du,22.262500\du)--(55.792000\du,22.262500\du)--(55.792000\du,20.462500\du)--cycle;
  451. % setfont left to latex
  452. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  453. \pgfsetstrokecolor{dialinecolor}
  454. \node[anchor=west] at (49.282000\du,21.122500\du){-left: Base*};
  455. % setfont left to latex
  456. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  457. \pgfsetstrokecolor{dialinecolor}
  458. \node[anchor=west] at (49.282000\du,21.922500\du){-right: Base*};
  459. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  460. \pgfsetfillcolor{dialinecolor}
  461. \fill (49.132000\du,22.262500\du)--(49.132000\du,23.262500\du)--(55.792000\du,23.262500\du)--(55.792000\du,22.262500\du)--cycle;
  462. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  463. \pgfsetstrokecolor{dialinecolor}
  464. \draw (49.132000\du,22.262500\du)--(49.132000\du,23.262500\du)--(55.792000\du,23.262500\du)--(55.792000\du,22.262500\du)--cycle;
  465. % setfont left to latex
  466. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  467. \pgfsetstrokecolor{dialinecolor}
  468. \node[anchor=west] at (49.282000\du,22.922500\du){+execute(): void};
  469. \pgfsetlinewidth{0.100000\du}
  470. \pgfsetdash{}{0pt}
  471. \pgfsetmiterjoin
  472. \pgfsetbuttcap
  473. {
  474. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  475. \pgfsetfillcolor{dialinecolor}
  476. % was here!!!
  477. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  478. \pgfsetstrokecolor{dialinecolor}
  479. \draw (39.162500\du,15.450000\du)--(39.162500\du,17.656250\du)--(34.849500\du,17.656250\du)--(34.849500\du,19.062500\du);
  480. }
  481. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  482. \pgfsetstrokecolor{dialinecolor}
  483. \draw (39.162500\du,16.361803\du)--(39.162500\du,17.656250\du)--(34.849500\du,17.656250\du)--(34.849500\du,19.062500\du);
  484. \pgfsetmiterjoin
  485. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  486. \pgfsetfillcolor{dialinecolor}
  487. \fill (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  488. \pgfsetlinewidth{0.100000\du}
  489. \pgfsetdash{}{0pt}
  490. \pgfsetmiterjoin
  491. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  492. \pgfsetstrokecolor{dialinecolor}
  493. \draw (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  494. % setfont left to latex
  495. \pgfsetlinewidth{0.100000\du}
  496. \pgfsetdash{}{0pt}
  497. \pgfsetmiterjoin
  498. \pgfsetbuttcap
  499. {
  500. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  501. \pgfsetfillcolor{dialinecolor}
  502. % was here!!!
  503. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  504. \pgfsetstrokecolor{dialinecolor}
  505. \draw (39.162500\du,15.450000\du)--(39.162500\du,17.656250\du)--(26.074500\du,17.656250\du)--(26.074500\du,19.062500\du);
  506. }
  507. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  508. \pgfsetstrokecolor{dialinecolor}
  509. \draw (39.162500\du,16.361803\du)--(39.162500\du,17.656250\du)--(26.074500\du,17.656250\du)--(26.074500\du,19.062500\du);
  510. \pgfsetmiterjoin
  511. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  512. \pgfsetfillcolor{dialinecolor}
  513. \fill (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  514. \pgfsetlinewidth{0.100000\du}
  515. \pgfsetdash{}{0pt}
  516. \pgfsetmiterjoin
  517. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  518. \pgfsetstrokecolor{dialinecolor}
  519. \draw (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  520. % setfont left to latex
  521. \pgfsetlinewidth{0.100000\du}
  522. \pgfsetdash{}{0pt}
  523. \pgfsetmiterjoin
  524. \pgfsetbuttcap
  525. {
  526. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  527. \pgfsetfillcolor{dialinecolor}
  528. % was here!!!
  529. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  530. \pgfsetstrokecolor{dialinecolor}
  531. \draw (39.162500\du,15.450000\du)--(39.162500\du,17.656250\du)--(43.649500\du,17.656250\du)--(43.649500\du,19.062500\du);
  532. }
  533. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  534. \pgfsetstrokecolor{dialinecolor}
  535. \draw (39.162500\du,16.361803\du)--(39.162500\du,17.656250\du)--(43.649500\du,17.656250\du)--(43.649500\du,19.062500\du);
  536. \pgfsetmiterjoin
  537. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  538. \pgfsetfillcolor{dialinecolor}
  539. \fill (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  540. \pgfsetlinewidth{0.100000\du}
  541. \pgfsetdash{}{0pt}
  542. \pgfsetmiterjoin
  543. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  544. \pgfsetstrokecolor{dialinecolor}
  545. \draw (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  546. % setfont left to latex
  547. \pgfsetlinewidth{0.100000\du}
  548. \pgfsetdash{}{0pt}
  549. \pgfsetmiterjoin
  550. \pgfsetbuttcap
  551. {
  552. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  553. \pgfsetfillcolor{dialinecolor}
  554. % was here!!!
  555. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  556. \pgfsetstrokecolor{dialinecolor}
  557. \draw (39.162500\du,15.450000\du)--(39.162500\du,17.656250\du)--(52.462000\du,17.656250\du)--(52.462000\du,19.062500\du);
  558. }
  559. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  560. \pgfsetstrokecolor{dialinecolor}
  561. \draw (39.162500\du,16.361803\du)--(39.162500\du,17.656250\du)--(52.462000\du,17.656250\du)--(52.462000\du,19.062500\du);
  562. \pgfsetmiterjoin
  563. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  564. \pgfsetfillcolor{dialinecolor}
  565. \fill (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  566. \pgfsetlinewidth{0.100000\du}
  567. \pgfsetdash{}{0pt}
  568. \pgfsetmiterjoin
  569. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  570. \pgfsetstrokecolor{dialinecolor}
  571. \draw (39.562500\du,16.361803\du)--(39.162500\du,15.561803\du)--(38.762500\du,16.361803\du)--cycle;
  572. % setfont left to latex
  573. \pgfsetlinewidth{0.100000\du}
  574. \pgfsetdash{}{0pt}
  575. \pgfsetmiterjoin
  576. \pgfsetbuttcap
  577. {
  578. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  579. \pgfsetfillcolor{dialinecolor}
  580. % was here!!!
  581. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  582. \pgfsetstrokecolor{dialinecolor}
  583. \draw (55.792000\du,20.962500\du)--(57.542000\du,20.962500\du)--(57.542000\du,6.350000\du)--(44.225000\du,6.350000\du);
  584. }
  585. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  586. \pgfsetstrokecolor{dialinecolor}
  587. \draw (57.050579\du,20.962500\du)--(57.542000\du,20.962500\du)--(57.542000\du,6.350000\du)--(44.225000\du,6.350000\du);
  588. \pgfsetdash{}{0pt}
  589. \pgfsetmiterjoin
  590. \pgfsetbuttcap
  591. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  592. \pgfsetfillcolor{dialinecolor}
  593. \fill (55.792000\du,20.962500\du)--(56.492000\du,20.722500\du)--(57.192000\du,20.962500\du)--(56.492000\du,21.202500\du)--cycle;
  594. \pgfsetlinewidth{0.100000\du}
  595. \pgfsetdash{}{0pt}
  596. \pgfsetmiterjoin
  597. \pgfsetbuttcap
  598. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  599. \pgfsetstrokecolor{dialinecolor}
  600. \draw (55.792000\du,20.962500\du)--(56.492000\du,20.722500\du)--(57.192000\du,20.962500\du)--(56.492000\du,21.202500\du)--cycle;
  601. % setfont left to latex
  602. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  603. \pgfsetstrokecolor{dialinecolor}
  604. \node[anchor=west] at (57.642000\du,13.456250\du){};
  605. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  606. \pgfsetstrokecolor{dialinecolor}
  607. \node[anchor=west] at (57.392000\du,20.762500\du){};
  608. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  609. \pgfsetstrokecolor{dialinecolor}
  610. \node[anchor=west] at (44.425000\du,6.150000\du){};
  611. \pgfsetlinewidth{0.100000\du}
  612. \pgfsetdash{}{0pt}
  613. \pgfsetmiterjoin
  614. \pgfsetbuttcap
  615. {
  616. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  617. \pgfsetfillcolor{dialinecolor}
  618. % was here!!!
  619. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  620. \pgfsetstrokecolor{dialinecolor}
  621. \draw (46.979500\du,20.962500\du)--(48.729500\du,20.962500\du)--(48.729500\du,6.350000\du)--(44.225000\du,6.350000\du);
  622. }
  623. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  624. \pgfsetstrokecolor{dialinecolor}
  625. \draw (48.238079\du,20.962500\du)--(48.729500\du,20.962500\du)--(48.729500\du,6.350000\du)--(44.225000\du,6.350000\du);
  626. \pgfsetdash{}{0pt}
  627. \pgfsetmiterjoin
  628. \pgfsetbuttcap
  629. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  630. \pgfsetfillcolor{dialinecolor}
  631. \fill (46.979500\du,20.962500\du)--(47.679500\du,20.722500\du)--(48.379500\du,20.962500\du)--(47.679500\du,21.202500\du)--cycle;
  632. \pgfsetlinewidth{0.100000\du}
  633. \pgfsetdash{}{0pt}
  634. \pgfsetmiterjoin
  635. \pgfsetbuttcap
  636. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  637. \pgfsetstrokecolor{dialinecolor}
  638. \draw (46.979500\du,20.962500\du)--(47.679500\du,20.722500\du)--(48.379500\du,20.962500\du)--(47.679500\du,21.202500\du)--cycle;
  639. % setfont left to latex
  640. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  641. \pgfsetstrokecolor{dialinecolor}
  642. \node[anchor=west] at (48.829500\du,13.456250\du){};
  643. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  644. \pgfsetstrokecolor{dialinecolor}
  645. \node[anchor=west] at (48.579500\du,20.762500\du){};
  646. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  647. \pgfsetstrokecolor{dialinecolor}
  648. \node[anchor=west] at (44.425000\du,6.150000\du){};
  649. \pgfsetlinewidth{0.100000\du}
  650. \pgfsetdash{}{0pt}
  651. \pgfsetmiterjoin
  652. \pgfsetbuttcap
  653. {
  654. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  655. \pgfsetfillcolor{dialinecolor}
  656. % was here!!!
  657. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  658. \pgfsetstrokecolor{dialinecolor}
  659. \draw (31.469087\du,20.762500\du)--(29.719087\du,20.762500\du)--(29.719087\du,6.350000\du)--(34.100000\du,6.350000\du);
  660. }
  661. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  662. \pgfsetstrokecolor{dialinecolor}
  663. \draw (30.210509\du,20.762500\du)--(29.719087\du,20.762500\du)--(29.719087\du,6.350000\du)--(34.100000\du,6.350000\du);
  664. \pgfsetdash{}{0pt}
  665. \pgfsetmiterjoin
  666. \pgfsetbuttcap
  667. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  668. \pgfsetfillcolor{dialinecolor}
  669. \fill (31.469087\du,20.762500\du)--(30.769087\du,21.002500\du)--(30.069087\du,20.762500\du)--(30.769087\du,20.522500\du)--cycle;
  670. \pgfsetlinewidth{0.100000\du}
  671. \pgfsetdash{}{0pt}
  672. \pgfsetmiterjoin
  673. \pgfsetbuttcap
  674. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  675. \pgfsetstrokecolor{dialinecolor}
  676. \draw (31.469087\du,20.762500\du)--(30.769087\du,21.002500\du)--(30.069087\du,20.762500\du)--(30.769087\du,20.522500\du)--cycle;
  677. % setfont left to latex
  678. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  679. \pgfsetstrokecolor{dialinecolor}
  680. \node[anchor=west] at (29.819087\du,13.356250\du){};
  681. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  682. \pgfsetstrokecolor{dialinecolor}
  683. \node[anchor=east] at (29.869087\du,20.562500\du){};
  684. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  685. \pgfsetstrokecolor{dialinecolor}
  686. \node[anchor=east] at (33.900000\du,6.150000\du){};
  687. \end{tikzpicture}
  688. \end{landscape}
  689. \end {document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement