CYCLUS
resource.cc
Go to the documentation of this file.
1 #include "resource.h"
2 
3 namespace cyclus {
4 
5 int Resource::nextstate_id_ = 1;
6 int Resource::nextobj_id_ = 1;
7 
9  state_id_ = nextstate_id_;
10  nextstate_id_++;
11 }
12 
13 } // namespace cyclus
void BumpStateId()
Assigns a new, unique internal id to this resource and its state.
Definition: resource.cc:8
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or.org/Osi/browser/trunk.
Definition: agent.cc:14