1 | /* |
---|
2 | Copyright (C) 2012 |
---|
3 | Alejandro Mujica (amujica@cenditel.gob.ve) |
---|
4 | Erwin Paredes (eparedes@cenditel.gob.ve) |
---|
5 | José Ruiz (jruiz@cenditel.gob.ve) |
---|
6 | Rodolfo Rangel (rrangel@cenditel.gob.ve) |
---|
7 | Julie Vera (jvera@cenditel.gob.ve) |
---|
8 | |
---|
9 | CENDITEL Fundación Centro Nacional de Desarrollo e Investigación en |
---|
10 | Tecnologías Libres |
---|
11 | |
---|
12 | Este programa es software libre; Usted puede usarlo bajo los términos de la |
---|
13 | licencia de software GPL versión 2.0 de la Free Software Foundation. |
---|
14 | |
---|
15 | Este programa se distribuye con la esperanza de que sea útil, pero SIN |
---|
16 | NINGUNA GARANTÍA; tampoco las implícitas garantías de MERCANTILIDAD o |
---|
17 | ADECUACIÓN A UN PROPÓSITO PARTICULAR. |
---|
18 | Consulte la licencia GPL para más detalles. Usted debe recibir una copia |
---|
19 | de la GPL junto con este programa; si no, escriba a la Free Software |
---|
20 | Foundation Inc. 51 Franklin Street,5 Piso, Boston, MA 02110-1301, USA. |
---|
21 | */ |
---|
22 | |
---|
23 | /* |
---|
24 | Autor: Alejandro J. Mujica |
---|
25 | Fecha de creación: 01/08/2013 |
---|
26 | Este archivo contiene la implementación de la clase IOManager. |
---|
27 | */ |
---|
28 | |
---|
29 | # include <ioManager.H> |
---|
30 | |
---|
31 | const std::string IOManager::PRODUCTION = "production"; |
---|
32 | |
---|
33 | const std::string IOManager::ATTRIBUTES = "attributes"; |
---|
34 | |
---|
35 | const std::string IOManager::YEAR = "year"; |
---|
36 | |
---|
37 | const std::string IOManager::ROOTS = "roots"; |
---|
38 | |
---|
39 | const std::string IOManager::ROOT_NODE = "root"; |
---|
40 | |
---|
41 | const std::string IOManager::CODE = "code"; |
---|
42 | |
---|
43 | const std::string IOManager::RANKS = "ranks"; |
---|
44 | |
---|
45 | const std::string IOManager::UP = "up"; |
---|
46 | |
---|
47 | const std::string IOManager::DOWN = "down"; |
---|
48 | |
---|
49 | const std::string IOManager::GRAPH = "graph"; |
---|
50 | |
---|
51 | const std::string IOManager::ALTER_GRAPH = "alter_graph"; |
---|
52 | |
---|
53 | const std::string IOManager::NODES = "nodes"; |
---|
54 | |
---|
55 | const std::string IOManager::NODE = "node"; |
---|
56 | |
---|
57 | const std::string IOManager::ARCS = "arcs"; |
---|
58 | |
---|
59 | const std::string IOManager::ARC = "arc"; |
---|
60 | |
---|
61 | const std::string IOManager::SIMULATION = "simulation"; |
---|
62 | |
---|
63 | const std::string IOManager::OPTION = "option"; |
---|
64 | |
---|
65 | const std::string IOManager::VARIATION = "variation"; |
---|
66 | |
---|
67 | const std::string IOManager::POSITION = "position"; |
---|
68 | |
---|
69 | const std::string IOManager::ID = "id"; |
---|
70 | |
---|
71 | const std::string IOManager::LEVELS = "levels"; |
---|
72 | |
---|
73 | const std::string IOManager::LEVEL = "level"; |
---|
74 | |
---|
75 | const std::string IOManager::PLANT_ID = "plant_id"; |
---|
76 | |
---|
77 | const std::string IOManager::PLANT = "plant_name"; |
---|
78 | |
---|
79 | const std::string IOManager::COMPANY = "company_name"; |
---|
80 | |
---|
81 | const std::string IOManager::COMPANY_RIF = "company_rif"; |
---|
82 | |
---|
83 | const std::string IOManager::COMPANY_NATIONALITY = "company_nationality"; |
---|
84 | |
---|
85 | const std::string IOManager::COMPANY_ORIG_COUNTRY = "company_orig_country"; |
---|
86 | |
---|
87 | const std::string IOManager::COMPANY_PROC_COUNTRY = "company_proc_country"; |
---|
88 | |
---|
89 | const std::string IOManager::PRODUCT_ID = "product_id"; |
---|
90 | |
---|
91 | const std::string IOManager::PRODUCT = "product_name"; |
---|
92 | |
---|
93 | const std::string IOManager::TECHNICAL_SPECIFICATIONS = |
---|
94 | "technical_specifications"; |
---|
95 | |
---|
96 | const std::string IOManager::TARIFF_CODE = "tariff_code"; |
---|
97 | |
---|
98 | const std::string IOManager::MEASUREMENT_UNIT = "measurement_unit"; |
---|
99 | |
---|
100 | const std::string IOManager::TRADEMARK = "trademark"; |
---|
101 | |
---|
102 | const std::string IOManager::QUANTITY = "quantity"; |
---|
103 | |
---|
104 | const std::string IOManager::TOTAL_QUANTITY = "total_quantity"; |
---|
105 | |
---|
106 | const std::string IOManager::USED_QUANTITY = "used_quantity"; |
---|
107 | |
---|
108 | const std::string IOManager::REQ_QUANTITY = "req_quantity"; |
---|
109 | |
---|
110 | const std::string IOManager::USED_CAPACITY = "used_capacity"; |
---|
111 | |
---|
112 | const std::string IOManager::UNITARIAN_PRICE = "unitarian_price"; |
---|
113 | |
---|
114 | const std::string IOManager::TYPE = "type"; |
---|
115 | |
---|
116 | const std::string IOManager::SRC = "src"; |
---|
117 | |
---|
118 | const std::string IOManager::TGT = "tgt"; |
---|
119 | |
---|
120 | const std::string IOManager::INPUT_ID = "input_id"; |
---|
121 | |
---|
122 | const std::string IOManager::IS_MIN = "is_min"; |
---|
123 | |
---|
124 | const std::string IOManager::ZERO = "0"; |
---|
125 | |
---|
126 | const std::string IOManager::ONE = "1"; |
---|
127 | |
---|
128 | const std::string IOManager::UTF_8 = "UTF-8"; |
---|
129 | |
---|
130 | const std::string IOManager::VALUE = "value"; |
---|
131 | |
---|
132 | const std::string IOManager::INCREASE = "increase_production"; |
---|
133 | |
---|
134 | const std::string IOManager::DECREASE = "decrease_production"; |
---|
135 | |
---|
136 | const std::string IOManager::COST = "cost_change"; |
---|
137 | |
---|
138 | const std::string IOManager::PRICE = "price"; |
---|
139 | |
---|
140 | const std::string IOManager::NEW_VALUE_1 = "new_value_1"; |
---|
141 | |
---|
142 | const std::string IOManager::NEW_VALUE_2 = "new_value_2"; |
---|
143 | |
---|
144 | const std::string IOManager::NEW_VALUE_3 = "new_value_3"; |
---|
145 | |
---|
146 | const std::string IOManager::COPYRIGHT = "\ |
---|
147 | Copyright (C) 2012\n\ |
---|
148 | Alejandro Mujica (amujica@cenditel.gob.ve)\n\ |
---|
149 | Erwin Paredes (eparedes@cenditel.gob.ve)\n\ |
---|
150 | José Ruiz (jruiz@cenditel.gob.ve)\n\ |
---|
151 | Rodolfo Rangel (rrangel@cenditel.gob.ve)\n\ |
---|
152 | Julie Vera (jvera@cenditel.gob.ve)\n\n\ |
---|
153 | CENDITEL Fundación Centro Nacional de Desarrollo e Investigación en\n\ |
---|
154 | Tecnologías Libres\n\n\ |
---|
155 | Este programa es software libre; Usted puede usarlo bajo los términos de la\n\ |
---|
156 | licencia de software GPL versión 2.0 de la Free Software Foundation.\n\n\ |
---|
157 | Este programa se distribuye con la esperanza de que sea útil, pero SIN\n\ |
---|
158 | NINGUNA GARANTÍA; tampoco las implícitas garantías de MERCANTILIDAD o\n\ |
---|
159 | ADECUACIÓN A UN PROPÓSITO PARTICULAR.\n\ |
---|
160 | Consulte la licencia GPL para más detalles. Usted debe recibir una copia\n\ |
---|
161 | de la GPL junto con este programa; si no, escriba a la Free Software\n\ |
---|
162 | Foundation Inc. 51 Franklin Street,5 Piso, Boston, MA 02110-1301, USA."; |
---|
163 | |
---|