Lines Matching refs:GetSize

63   Print(res_lib.GetSize()+3, 2, "Reactions associated with Resource ");  in DrawResource()
64 Print(res_lib.GetSize()+4, 2, "--Name-- --Num Rxns (last update)-- --"); in DrawResource()
69 for(int i=0; i<res_lib.GetSize(); i++) in DrawResource()
85 Box(res_lib.GetSize()+2, 0, Height()-res_lib.GetSize()-2, Width(), true); in DrawResource()
102 Print(rxn_lib.GetSize()+3, 2, "Resources associated with Reaction "); in DrawReaction()
103 Print(rxn_lib.GetSize()+4, 2, "--Name-- --Inflow-- --Outflow-- --Quantity--"); in DrawReaction()
108 for(int i=0; i<rxn_lib.GetSize(); i++) in DrawReaction()
116 Box(rxn_lib.GetSize()+2, 0, Height()-rxn_lib.GetSize()-2, Width(), true); in DrawReaction()
135 const int num_resources = m_world->GetPopulation().GetResources(ctx).GetSize(); in UpdateResource()
159 for(int i=0; i<rxn_lib.GetSize(); i++) { in UpdateResource()
160 for(int j=0; j<rxn_lib.GetReaction(i)->GetProcesses().GetSize(); j++) { in UpdateResource()
168 for(int k=0; k<m_world->GetPopulation().GetSize(); ++k) { in UpdateResource()
187 …Print(res_lib.GetSize()+3, 37, "%s", static_cast<const char*>(res_lib.GetResource(res_selection)->… in UpdateResource()
188 Print(res_lib.GetSize()+3, res_lib.GetResource(res_selection)->GetName().GetSize()+37, ":"); in UpdateResource()
189 …Print(res_lib.GetSize()+3, res_lib.GetResource(res_selection)->GetName().GetSize()+38, " "); in UpdateResource()
197 const int num_reactions = m_world->GetStats().GetReactions().GetSize(); in UpdateReaction()
207 for(int i=0; i<m_world->GetPopulation().GetSize(); ++i) { in UpdateReaction()
231 …Print(rxn_lib.GetSize()+3, 37, "%-s", static_cast<const char*>(rxn_lib.GetReaction(rxn_selection)-… in UpdateReaction()
232 Print(rxn_lib.GetSize()+3, rxn_lib.GetReaction(rxn_selection)->GetName().GetSize()+37, ":"); in UpdateReaction()
233 …Print(rxn_lib.GetSize()+3, rxn_lib.GetReaction(rxn_selection)->GetName().GetSize()+38, " "); in UpdateReaction()
238 const int num_processes = rxn_lib.GetReaction(rxn_selection)->GetProcesses().GetSize(); in UpdateReaction()
247 Print(m_world->GetStats().GetReactions().GetSize()+5+offset, 2, in UpdateReaction()
249 Print(m_world->GetStats().GetReactions().GetSize()+5+offset, 13, "%7.2f", in UpdateReaction()
251 Print(m_world->GetStats().GetReactions().GetSize()+5+offset, 25, "%7.2f", in UpdateReaction()
253 for(int j=0; j < res_lib.GetSize(); j++) { in UpdateReaction()
255 Print(m_world->GetStats().GetReactions().GetSize()+5+offset, 40, "%7.2f", in UpdateReaction()
273 const int num_resources = m_world->GetPopulation().GetResources(ctx).GetSize(); in DoInput()
285 const int num_reactions = m_world->GetStats().GetReactions().GetSize(); in DoInput()
301 const int num_resources = m_world->GetPopulation().GetResources(ctx).GetSize(); in DoInput()
313 const int num_reactions = m_world->GetStats().GetReactions().GetSize(); in DoInput()