示例#1
0
//------------------------------------------------------------------------------
bool Formation::SetBooleanParameter(const std::string &label,
                                    const bool value)
{
   #ifdef DEBUG_FORMATION_ACTIONS
      MessageInterface::ShowMessage(
         "Formation::SetBooleanParameter called with label = %s\n",
         label.c_str());
   #endif

   return SetBooleanParameter(GetParameterID(label), value);
}
示例#2
0
//------------------------------------------------------------------------------
bool Propagator::SetBooleanParameter(const wxString &label, const bool value,
                                     const Integer index)
{
   return SetBooleanParameter(GetParameterID(label), value, index);
}