1 /**
2  * @file SedTask.h
3  * @brief Definition of the SedTask class.
4  * @author DEVISER
5  *
6  * <!--------------------------------------------------------------------------
7  * This file is part of libSEDML. Please visit http://sed-ml.org for more
8  * information about SED-ML. The latest version of libSEDML can be found on
9  * github: https://github.com/fbergmann/libSEDML/
10  *
11 
12  * Copyright (c) 2013-2019, Frank T. Bergmann
13  * All rights reserved.
14  *
15 
16  * Redistribution and use in source and binary forms, with or without
17  * modification, are permitted provided that the following conditions are met:
18  *
19 
20  * 1. Redistributions of source code must retain the above copyright notice,
21  * this
22  * list of conditions and the following disclaimer.
23  * 2. Redistributions in binary form must reproduce the above copyright notice,
24  * this list of conditions and the following disclaimer in the documentation
25  * and/or other materials provided with the distribution.
26  *
27  * This library is free software; you can redistribute it and/or modify it
28  * under the terms of the GNU Lesser General Public License as published by the
29  * Free Software Foundation. A copy of the license agreement is provided in the
30  * file named "LICENSE.txt" included with this software distribution and also
31  * available online as http://sbml.org/software/libsbml/license.html
32  * ------------------------------------------------------------------------ -->
33  *
34  * @class SedTask
35  * @sbmlbrief{sedml} TODO:Definition of the SedTask class.
36  */
37 
38 
39 #ifndef SedTask_H__
40 #define SedTask_H__
41 
42 
43 #include <sedml/common/extern.h>
44 #include <sedml/common/sedmlfwd.h>
45 
46 
47 #ifdef __cplusplus
48 
49 
50 #include <string>
51 
52 
53 #include <sedml/SedAbstractTask.h>
54 #include <sbml/common/libsbml-namespace.h>
55 
56 
57 LIBSEDML_CPP_NAMESPACE_BEGIN
58 
59 
60 class LIBSEDML_EXTERN SedTask : public SedAbstractTask
61 {
62 protected:
63 
64   /** @cond doxygenLibSEDMLInternal */
65 
66   std::string mModelReference;
67   std::string mSimulationReference;
68 
69   /** @endcond */
70 
71 public:
72 
73   /**
74    * Creates a new SedTask using the given SED-ML Level and @ p version values.
75    *
76    * @param level an unsigned int, the SED-ML Level to assign to this SedTask.
77    *
78    * @param version an unsigned int, the SED-ML Version to assign to this
79    * SedTask.
80    *
81    * @copydetails doc_note_setting_lv_pkg
82    */
83   SedTask(unsigned int level = SEDML_DEFAULT_LEVEL,
84           unsigned int version = SEDML_DEFAULT_VERSION);
85 
86 
87   /**
88    * Creates a new SedTask using the given SedNamespaces object @p sedmlns.
89    *
90    * @param sedmlns the SedNamespaces object.
91    *
92    * @copydetails doc_note_setting_lv_pkg
93    */
94   SedTask(SedNamespaces *sedmlns);
95 
96 
97   /**
98    * Copy constructor for SedTask.
99    *
100    * @param orig the SedTask instance to copy.
101    */
102   SedTask(const SedTask& orig);
103 
104 
105   /**
106    * Assignment operator for SedTask.
107    *
108    * @param rhs the SedTask object whose values are to be used as the basis of
109    * the assignment.
110    */
111   SedTask& operator=(const SedTask& rhs);
112 
113 
114   /**
115    * Creates and returns a deep copy of this SedTask object.
116    *
117    * @return a (deep) copy of this SedTask object.
118    */
119   virtual SedTask* clone() const;
120 
121 
122   /**
123    * Destructor for SedTask.
124    */
125   virtual ~SedTask();
126 
127 
128   /**
129    * Returns the value of the "modelReference" attribute of this SedTask.
130    *
131    * @return the value of the "modelReference" attribute of this SedTask as a
132    * string.
133    */
134   const std::string& getModelReference() const;
135 
136 
137   /**
138    * Returns the value of the "simulationReference" attribute of this SedTask.
139    *
140    * @return the value of the "simulationReference" attribute of this SedTask
141    * as a string.
142    */
143   const std::string& getSimulationReference() const;
144 
145 
146   /**
147    * Predicate returning @c true if this SedTask's "modelReference" attribute
148    * is set.
149    *
150    * @return @c true if this SedTask's "modelReference" attribute has been set,
151    * otherwise @c false is returned.
152    */
153   bool isSetModelReference() const;
154 
155 
156   /**
157    * Predicate returning @c true if this SedTask's "simulationReference"
158    * attribute is set.
159    *
160    * @return @c true if this SedTask's "simulationReference" attribute has been
161    * set, otherwise @c false is returned.
162    */
163   bool isSetSimulationReference() const;
164 
165 
166   /**
167    * Sets the value of the "modelReference" attribute of this SedTask.
168    *
169    * @param modelReference std::string& value of the "modelReference" attribute
170    * to be set.
171    *
172    * @copydetails doc_returns_success_code
173    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
174    * @li @sedmlconstant{LIBSEDML_INVALID_ATTRIBUTE_VALUE,
175    * OperationReturnValues_t}
176    */
177   int setModelReference(const std::string& modelReference);
178 
179 
180   /**
181    * Sets the value of the "simulationReference" attribute of this SedTask.
182    *
183    * @param simulationReference std::string& value of the "simulationReference"
184    * attribute to be set.
185    *
186    * @copydetails doc_returns_success_code
187    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
188    * @li @sedmlconstant{LIBSEDML_INVALID_ATTRIBUTE_VALUE,
189    * OperationReturnValues_t}
190    */
191   int setSimulationReference(const std::string& simulationReference);
192 
193 
194   /**
195    * Unsets the value of the "modelReference" attribute of this SedTask.
196    *
197    * @copydetails doc_returns_success_code
198    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
199    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
200    */
201   int unsetModelReference();
202 
203 
204   /**
205    * Unsets the value of the "simulationReference" attribute of this SedTask.
206    *
207    * @copydetails doc_returns_success_code
208    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
209    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
210    */
211   int unsetSimulationReference();
212 
213 
214   /**
215    * @copydoc doc_renamesidref_common
216    */
217   virtual void renameSIdRefs(const std::string& oldid,
218                              const std::string& newid);
219 
220 
221   /**
222    * Returns the XML element name of this SedTask object.
223    *
224    * For SedTask, the XML element name is always @c "task".
225    *
226    * @return the name of this element, i.e. @c "task".
227    */
228   virtual const std::string& getElementName() const;
229 
230 
231   /**
232    * Returns the libSEDML type code for this SedTask object.
233    *
234    * @copydetails doc_what_are_typecodes
235    *
236    * @return the SED-ML type code for this object:
237    * @sedmlconstant{SEDML_TASK, SedTypeCode_t}.
238    *
239    * @copydetails doc_warning_typecodes_not_unique
240    *
241    * @see getElementName()
242    */
243   virtual int getTypeCode() const;
244 
245 
246   /**
247    * Predicate returning @c true if all the required attributes for this
248    * SedTask object have been set.
249    *
250    * @return @c true to indicate that all the required attributes of this
251    * SedTask have been set, otherwise @c false is returned.
252    */
253   virtual bool hasRequiredAttributes() const;
254 
255 
256 
257   /** @cond doxygenLibSEDMLInternal */
258 
259   /**
260    * Write any contained elements
261    */
262   virtual void writeElements(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream&
263     stream) const;
264 
265   /** @endcond */
266 
267 
268 
269   /** @cond doxygenLibSEDMLInternal */
270 
271   /**
272    * Accepts the given SedVisitor
273    */
274   virtual bool accept(SedVisitor& v) const;
275 
276   /** @endcond */
277 
278 
279 
280   /** @cond doxygenLibSEDMLInternal */
281 
282   /**
283    * Sets the parent SedDocument
284    */
285   virtual void setSedDocument(SedDocument* d);
286 
287   /** @endcond */
288 
289 
290 
291 
292   #ifndef SWIG
293 
294 
295 
296   /** @cond doxygenLibSEDMLInternal */
297 
298   /**
299    * Gets the value of the "attributeName" attribute of this SedTask.
300    *
301    * @param attributeName, the name of the attribute to retrieve.
302    *
303    * @param value, the address of the value to record.
304    *
305    * @copydetails doc_returns_success_code
306    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
307    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
308    */
309   virtual int getAttribute(const std::string& attributeName, bool& value)
310     const;
311 
312   /** @endcond */
313 
314 
315 
316   /** @cond doxygenLibSEDMLInternal */
317 
318   /**
319    * Gets the value of the "attributeName" attribute of this SedTask.
320    *
321    * @param attributeName, the name of the attribute to retrieve.
322    *
323    * @param value, the address of the value to record.
324    *
325    * @copydetails doc_returns_success_code
326    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
327    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
328    */
329   virtual int getAttribute(const std::string& attributeName, int& value) const;
330 
331   /** @endcond */
332 
333 
334 
335   /** @cond doxygenLibSEDMLInternal */
336 
337   /**
338    * Gets the value of the "attributeName" attribute of this SedTask.
339    *
340    * @param attributeName, the name of the attribute to retrieve.
341    *
342    * @param value, the address of the value to record.
343    *
344    * @copydetails doc_returns_success_code
345    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
346    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
347    */
348   virtual int getAttribute(const std::string& attributeName,
349                            double& value) const;
350 
351   /** @endcond */
352 
353 
354 
355   /** @cond doxygenLibSEDMLInternal */
356 
357   /**
358    * Gets the value of the "attributeName" attribute of this SedTask.
359    *
360    * @param attributeName, the name of the attribute to retrieve.
361    *
362    * @param value, the address of the value to record.
363    *
364    * @copydetails doc_returns_success_code
365    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
366    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
367    */
368   virtual int getAttribute(const std::string& attributeName,
369                            unsigned int& value) const;
370 
371   /** @endcond */
372 
373 
374 
375   /** @cond doxygenLibSEDMLInternal */
376 
377   /**
378    * Gets the value of the "attributeName" attribute of this SedTask.
379    *
380    * @param attributeName, the name of the attribute to retrieve.
381    *
382    * @param value, the address of the value to record.
383    *
384    * @copydetails doc_returns_success_code
385    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
386    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
387    */
388   virtual int getAttribute(const std::string& attributeName,
389                            std::string& value) const;
390 
391   /** @endcond */
392 
393 
394 
395   /** @cond doxygenLibSEDMLInternal */
396 
397   /**
398    * Predicate returning @c true if this SedTask's attribute "attributeName" is
399    * set.
400    *
401    * @param attributeName, the name of the attribute to query.
402    *
403    * @return @c true if this SedTask's attribute "attributeName" has been set,
404    * otherwise @c false is returned.
405    */
406   virtual bool isSetAttribute(const std::string& attributeName) const;
407 
408   /** @endcond */
409 
410 
411 
412   /** @cond doxygenLibSEDMLInternal */
413 
414   /**
415    * Sets the value of the "attributeName" attribute of this SedTask.
416    *
417    * @param attributeName, the name of the attribute to set.
418    *
419    * @param value, the value of the attribute to set.
420    *
421    * @copydetails doc_returns_success_code
422    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
423    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
424    */
425   virtual int setAttribute(const std::string& attributeName, bool value);
426 
427   /** @endcond */
428 
429 
430 
431   /** @cond doxygenLibSEDMLInternal */
432 
433   /**
434    * Sets the value of the "attributeName" attribute of this SedTask.
435    *
436    * @param attributeName, the name of the attribute to set.
437    *
438    * @param value, the value of the attribute to set.
439    *
440    * @copydetails doc_returns_success_code
441    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
442    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
443    */
444   virtual int setAttribute(const std::string& attributeName, int value);
445 
446   /** @endcond */
447 
448 
449 
450   /** @cond doxygenLibSEDMLInternal */
451 
452   /**
453    * Sets the value of the "attributeName" attribute of this SedTask.
454    *
455    * @param attributeName, the name of the attribute to set.
456    *
457    * @param value, the value of the attribute to set.
458    *
459    * @copydetails doc_returns_success_code
460    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
461    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
462    */
463   virtual int setAttribute(const std::string& attributeName, double value);
464 
465   /** @endcond */
466 
467 
468 
469   /** @cond doxygenLibSEDMLInternal */
470 
471   /**
472    * Sets the value of the "attributeName" attribute of this SedTask.
473    *
474    * @param attributeName, the name of the attribute to set.
475    *
476    * @param value, the value of the attribute to set.
477    *
478    * @copydetails doc_returns_success_code
479    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
480    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
481    */
482   virtual int setAttribute(const std::string& attributeName,
483                            unsigned int value);
484 
485   /** @endcond */
486 
487 
488 
489   /** @cond doxygenLibSEDMLInternal */
490 
491   /**
492    * Sets the value of the "attributeName" attribute of this SedTask.
493    *
494    * @param attributeName, the name of the attribute to set.
495    *
496    * @param value, the value of the attribute to set.
497    *
498    * @copydetails doc_returns_success_code
499    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
500    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
501    */
502   virtual int setAttribute(const std::string& attributeName,
503                            const std::string& value);
504 
505   /** @endcond */
506 
507 
508 
509   /** @cond doxygenLibSEDMLInternal */
510 
511   /**
512    * Unsets the value of the "attributeName" attribute of this SedTask.
513    *
514    * @param attributeName, the name of the attribute to query.
515    *
516    * @copydetails doc_returns_success_code
517    * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
518    * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
519    */
520   virtual int unsetAttribute(const std::string& attributeName);
521 
522   /** @endcond */
523 
524 
525 
526 
527   #endif /* !SWIG */
528 
529 
530 protected:
531 
532 
533   /** @cond doxygenLibSEDMLInternal */
534 
535   /**
536    * Creates a new object from the next XMLToken on the XMLInputStream
537    */
538   virtual SedBase* createObject(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream&
539     stream);
540 
541   /** @endcond */
542 
543 
544 
545   /** @cond doxygenLibSEDMLInternal */
546 
547   /**
548    * Adds the expected attributes for this element
549    */
550   virtual void addExpectedAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER
551     ExpectedAttributes& attributes);
552 
553   /** @endcond */
554 
555 
556 
557   /** @cond doxygenLibSEDMLInternal */
558 
559   /**
560    * Reads the expected attributes into the member data variables
561    */
562   virtual void readAttributes(
563                               const LIBSBML_CPP_NAMESPACE_QUALIFIER
564                                 XMLAttributes& attributes,
565                               const LIBSBML_CPP_NAMESPACE_QUALIFIER
566                                 ExpectedAttributes& expectedAttributes);
567 
568   /** @endcond */
569 
570 
571 
572   /** @cond doxygenLibSEDMLInternal */
573 
574   /**
575    * Writes the attributes to the stream
576    */
577   virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream&
578     stream) const;
579 
580   /** @endcond */
581 
582 
583 };
584 
585 
586 
587 LIBSEDML_CPP_NAMESPACE_END
588 
589 
590 
591 
592 #endif /* __cplusplus */
593 
594 
595 
596 
597 #ifndef SWIG
598 
599 
600 
601 
602 LIBSEDML_CPP_NAMESPACE_BEGIN
603 
604 
605 
606 
607 BEGIN_C_DECLS
608 
609 
610 /**
611  * Creates a new SedTask_t using the given SED-ML Level and @ p version values.
612  *
613  * @param level an unsigned int, the SED-ML Level to assign to this SedTask_t.
614  *
615  * @param version an unsigned int, the SED-ML Version to assign to this
616  * SedTask_t.
617  *
618  * @copydetails doc_note_setting_lv_pkg
619  *
620  * @copydetails doc_returned_owned_pointer
621  *
622  * @memberof SedTask_t
623  */
624 LIBSEDML_EXTERN
625 SedTask_t *
626 SedTask_create(unsigned int level, unsigned int version);
627 
628 
629 /**
630  * Creates and returns a deep copy of this SedTask_t object.
631  *
632  * @param st the SedTask_t structure.
633  *
634  * @return a (deep) copy of this SedTask_t object.
635  *
636  * @copydetails doc_returned_owned_pointer
637  *
638  * @memberof SedTask_t
639  */
640 LIBSEDML_EXTERN
641 SedTask_t*
642 SedTask_clone(const SedTask_t* st);
643 
644 
645 /**
646  * Frees this SedTask_t object.
647  *
648  * @param st the SedTask_t structure.
649  *
650  * @memberof SedTask_t
651  */
652 LIBSEDML_EXTERN
653 void
654 SedTask_free(SedTask_t* st);
655 
656 
657 /**
658  * Returns the value of the "modelReference" attribute of this SedTask_t.
659  *
660  * @param st the SedTask_t structure whose modelReference is sought.
661  *
662  * @return the value of the "modelReference" attribute of this SedTask_t as a
663  * pointer to a string.
664  *
665  * @copydetails doc_returned_owned_char
666  *
667  * @memberof SedTask_t
668  */
669 LIBSEDML_EXTERN
670 char *
671 SedTask_getModelReference(const SedTask_t * st);
672 
673 
674 /**
675  * Returns the value of the "simulationReference" attribute of this SedTask_t.
676  *
677  * @param st the SedTask_t structure whose simulationReference is sought.
678  *
679  * @return the value of the "simulationReference" attribute of this SedTask_t
680  * as a pointer to a string.
681  *
682  * @copydetails doc_returned_owned_char
683  *
684  * @memberof SedTask_t
685  */
686 LIBSEDML_EXTERN
687 char *
688 SedTask_getSimulationReference(const SedTask_t * st);
689 
690 
691 /**
692  * Predicate returning @c 1 (true) if this SedTask_t's "modelReference"
693  * attribute is set.
694  *
695  * @param st the SedTask_t structure.
696  *
697  * @return @c 1 (true) if this SedTask_t's "modelReference" attribute has been
698  * set, otherwise @c 0 (false) is returned.
699  *
700  * @memberof SedTask_t
701  */
702 LIBSEDML_EXTERN
703 int
704 SedTask_isSetModelReference(const SedTask_t * st);
705 
706 
707 /**
708  * Predicate returning @c 1 (true) if this SedTask_t's "simulationReference"
709  * attribute is set.
710  *
711  * @param st the SedTask_t structure.
712  *
713  * @return @c 1 (true) if this SedTask_t's "simulationReference" attribute has
714  * been set, otherwise @c 0 (false) is returned.
715  *
716  * @memberof SedTask_t
717  */
718 LIBSEDML_EXTERN
719 int
720 SedTask_isSetSimulationReference(const SedTask_t * st);
721 
722 
723 /**
724  * Sets the value of the "modelReference" attribute of this SedTask_t.
725  *
726  * @param st the SedTask_t structure.
727  *
728  * @param modelReference const char * value of the "modelReference" attribute
729  * to be set.
730  *
731  * @copydetails doc_returns_success_code
732  * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
733  * @li @sedmlconstant{LIBSEDML_INVALID_ATTRIBUTE_VALUE,
734  * OperationReturnValues_t}
735  * @li @sedmlconstant{LIBSEDML_INVALID_OBJECT, OperationReturnValues_t}
736  *
737  * @memberof SedTask_t
738  */
739 LIBSEDML_EXTERN
740 int
741 SedTask_setModelReference(SedTask_t * st, const char * modelReference);
742 
743 
744 /**
745  * Sets the value of the "simulationReference" attribute of this SedTask_t.
746  *
747  * @param st the SedTask_t structure.
748  *
749  * @param simulationReference const char * value of the "simulationReference"
750  * attribute to be set.
751  *
752  * @copydetails doc_returns_success_code
753  * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
754  * @li @sedmlconstant{LIBSEDML_INVALID_ATTRIBUTE_VALUE,
755  * OperationReturnValues_t}
756  * @li @sedmlconstant{LIBSEDML_INVALID_OBJECT, OperationReturnValues_t}
757  *
758  * @memberof SedTask_t
759  */
760 LIBSEDML_EXTERN
761 int
762 SedTask_setSimulationReference(SedTask_t * st,
763                                const char * simulationReference);
764 
765 
766 /**
767  * Unsets the value of the "modelReference" attribute of this SedTask_t.
768  *
769  * @param st the SedTask_t structure.
770  *
771  * @copydetails doc_returns_success_code
772  * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
773  * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
774  * @li @sedmlconstant{LIBSEDML_INVALID_OBJECT, OperationReturnValues_t}
775  *
776  * @memberof SedTask_t
777  */
778 LIBSEDML_EXTERN
779 int
780 SedTask_unsetModelReference(SedTask_t * st);
781 
782 
783 /**
784  * Unsets the value of the "simulationReference" attribute of this SedTask_t.
785  *
786  * @param st the SedTask_t structure.
787  *
788  * @copydetails doc_returns_success_code
789  * @li @sedmlconstant{LIBSEDML_OPERATION_SUCCESS, OperationReturnValues_t}
790  * @li @sedmlconstant{LIBSEDML_OPERATION_FAILED, OperationReturnValues_t}
791  * @li @sedmlconstant{LIBSEDML_INVALID_OBJECT, OperationReturnValues_t}
792  *
793  * @memberof SedTask_t
794  */
795 LIBSEDML_EXTERN
796 int
797 SedTask_unsetSimulationReference(SedTask_t * st);
798 
799 
800 /**
801  * Predicate returning @c 1 (true) if all the required attributes for this
802  * SedTask_t object have been set.
803  *
804  * @param st the SedTask_t structure.
805  *
806  * @return @c 1 (true) to indicate that all the required attributes of this
807  * SedTask_t have been set, otherwise @c 0 (false) is returned.
808  *
809  * @memberof SedTask_t
810  */
811 LIBSEDML_EXTERN
812 int
813 SedTask_hasRequiredAttributes(const SedTask_t * st);
814 
815 
816 
817 
818 END_C_DECLS
819 
820 
821 
822 
823 LIBSEDML_CPP_NAMESPACE_END
824 
825 
826 
827 
828 #endif /* !SWIG */
829 
830 
831 
832 
833 #endif /* !SedTask_H__ */
834 
835 
836