Anonymous (not verified) Fri, 03/03/2000 - 01:18 Forums: Other usage issuesHi ! I guess the topic says it all, what is the TDataStd_Directory class used for, can someone give an example of when it would be useful and for what ? Mikael Sergey RUIN (not verified) Fri, 03/03/2000 - 08:57 Hi Mikael! Here's a short example of using TDataStd_Directory attribute: // Setting TDataStd_Directory to a label Handle(TDataStd_Directory) directory = TDataStd_Directory::New(aLabel); // Creating a new sub directory of the given directory Handle(TDataStd_Directory) newdirectory = TDataStd_Directory::AddDirectory(directory); // Creating a new label in directory TDF_Label newlabel = TDataStd_Directory::MakeObjectLabel(newdirectory); Regards Sergey Log in to post comments
Fri, 03/03/2000 - 08:57
Hi Mikael!
Here's a short example of using TDataStd_Directory attribute:
// Setting TDataStd_Directory to a label
Handle(TDataStd_Directory) directory = TDataStd_Directory::New(aLabel);
// Creating a new sub directory of the given directory
Handle(TDataStd_Directory) newdirectory = TDataStd_Directory::AddDirectory(directory);
// Creating a new label in directory
TDF_Label newlabel = TDataStd_Directory::MakeObjectLabel(newdirectory);
Regards
Sergey