std::dynamic_pointer_cast<Model_Document>(owner()->document());
myRef->Set(anObjLab); // references to the object label
// remove external link attributes (if any)
- anObjLab.ForgetAttribute(TDataStd_Comment::GetID());
- anObjLab.ForgetAttribute(TDataStd_AsciiString::GetID());
+ myRef->Label().ForgetAttribute(TDataStd_Comment::GetID());
+ myRef->Label().ForgetAttribute(TDataStd_AsciiString::GetID());
} else { // different document: store the document name (comment) and entry (string): external
// if these attributes exist, the link is external: keep reference to access the label
TDataStd_Comment::Set(myRef->Label(), theObject->document()->id().c_str());
static const int TAG_FEATURE_ARGUMENTS = 1; ///< where the arguments are located
static const int TAG_FEATURE_RESULTS = 2; ///< where the results are located
+///
+/// 0:1:2 - where features are located
+/// 0:1:2:N:1 - data of the feature N
+/// 0:1:2:N:2:K:1 - data of the K result of the feature N
+
Model_Document::Model_Document(const std::string theID, const std::string theKind)
: myID(theID), myKind(theKind),
myDoc(new TDocStd_Document("BinOcaf")) // binary OCAF format