Example #1
0
 /*!
   \brief Sending all active (enabled) fields from client to server.
 Each field is identified uniquely by its string identity. Not only should we
 send the id to server but also we need to send ids of reference domain and reference axis.
 With these two id, it's easier to make reference to grid where all data should be written.
 Remark: This function must be called AFTER all active (enabled) files have been created on the server side
 */
 void CFile::sendEnabledFields()
 {
   size_t size = this->enabledFields.size();
   for (size_t i = 0; i < size; ++i)
   {
     CField* field = this->enabledFields[i];
     this->sendAddField(field->getId());
     field->checkAttributes();
     field->sendAllAttributesToServer();
     field->sendAddAllVariables();
   }
 }