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