- /**
- * Put the object to the label of the document.
- * \param theLabel new label of the object
- */
- HYDRODATA_EXPORT virtual void SetLabel(TDF_Label theLabel);
-
- /**
- * Internal method that used to store the byte array attribute
- * \param theTag tag of a label to store attribute (for 0 this is myLab)
- * \param theData pointer to bytes array
- * \param theLen number of bytes in byte array that must be stored
- */
- void SaveByteArray(const int theTag, const char* theData, const int theLen);
-
- /**
- * Internal method that used to retreive the content of byte array attribute
- * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
- * \param theLen number of bytes in byte array
- * \returns pointer to the internal data structure wit harray content,
- * or NULL if array size is zero
- */
- const char* ByteArray(const int theTag, int& theLen) const;
-
- /**
- * Internal method that used to store the reference object label attribute
- * \param theObj pointer to reference object
- * \param theTag tag of a label to store attribute (for 0 this is myLab)
- */
- int NbReferenceObjects( const int theTag = 0 ) const;
-
- /**
- * Internal method that used to store the reference object label attribute
- * \param theObj pointer to reference object
- * \param theTag tag of a label to store attribute (for 0 this is myLab)
- */
- void AddReferenceObject( const Handle_HYDROData_Object& theObj,
- const int theTag = 0 );
-
- /**
- * Internal method that used to store the reference object label attribute
- * \param theObj pointer to reference object
- * \param theTag tag of a label to store attribute (for 0 this is myLab)
- * \param theIndex index in the list of references
- - if more that len then just append it to the end of list
- - if less than zero then prepend to the list
- - indexing starts from 0
- */
- void SetReferenceObject( const Handle_HYDROData_Object& theObj,
- const int theTag = 0,
- const int theIndex = 0 );
-
- /**
- * Internal method that used to retreive the reference object(s) attribute
- * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
- * \param theIndex index in the list of references
- * - indexing starts from 0
- * \returns pointer to reference object or NULL if label is not set
- */
- Handle_HYDROData_Object GetReferenceObject( const int theTag = 0,
- const int theIndex = 0 ) const;
-
- HYDROData_SequenceOfObjects GetReferenceObjects( const int theTag = 0 ) const;