All Categories  Class Hierarchy  This Category  Indexes

Briefcase Global Function cOpenBriefcase


int cOpenBriefcase( const char* pathname)
Open the Briefcase with an xml filename. The file is read into memory and parsed.
The xml is then ready for changes in memory via the methods below.
When changes are completed call the cCloseBriefcase() method. This will write xml to the file.
This function discards a current Briefcase, if there was one open. So to undo changes since the last Close all that one needs to do is to use OpenBriefcase() again.
Parameters:
pathname
XML file name.
Returns:
0 on failure or 1 on success.

This object is included in the file: VPMIXmlBriefcase_C.h

Copyright © 2003, Dassault Systèmes. All rights reserved.