|
NX Open C++ Reference Guide
|
Provides a generic comparator for finding differences between two XML format files. More...
Classes | |
| struct | Options |
Represents config options in comparison For example: More... | |
Public Types | |
| enum | Result { ResultIdentical, ResultDifferent } |
| Specifies result of the comparison. More... | |
Public Member Functions | |
| NXOpen::Validate::XmlComparator::Result | CompareXmlFiles (const NXString &workXmlFile, const NXString &masterXmlFile, const NXOpen::Validate::XmlComparator::Options &compareOptions) |
| Compares two xml format files. | |
| NXOpen::Validate::XmlComparator::Result | CompareXmlFiles (const char *workXmlFile, const char *masterXmlFile, const NXOpen::Validate::XmlComparator::Options &compareOptions) |
| Compares two xml format files. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Provides a generic comparator for finding differences between two XML format files.
The comparator takes @link Validate::XmlComparator::Options Validate::XmlComparator::Options@endlink to further control the comparison process. It returns @link Validate::XmlComparator::Result Validate::XmlComparator::Result@endlink , and generates report of detailed differences in HTML file which can be viewed via web browser. <br> To obtain an instance of this class, refer to @link Session Session @endlink <br>
Created in NX6.0.2.
| NXOpen::Validate::XmlComparator::Result NXOpen::Validate::XmlComparator::CompareXmlFiles | ( | const NXString & | workXmlFile, |
| const NXString & | masterXmlFile, | ||
| const NXOpen::Validate::XmlComparator::Options & | compareOptions | ||
| ) |
Compares two xml format files.
You can use @link Validate::XmlComparator::Options Validate::XmlComparator::Options@endlink to customize the comparison process.
@return comparison result
Created in NX6.0.2.
License requirements : None
| workXmlFile | The first xml file to be compared NOTE: The full Unicode character set is not supported for this parameter. |
| masterXmlFile | The second xml file to be compared against NOTE: The full Unicode character set is not supported for this parameter. |
| compareOptions | comparison options |
| NXOpen::Validate::XmlComparator::Result NXOpen::Validate::XmlComparator::CompareXmlFiles | ( | const char * | workXmlFile, |
| const char * | masterXmlFile, | ||
| const NXOpen::Validate::XmlComparator::Options & | compareOptions | ||
| ) |
Compares two xml format files.
You can use @link Validate::XmlComparator::Options Validate::XmlComparator::Options@endlink to customize the comparison process.
@return comparison result
Created in NX6.0.2.
License requirements : None
| workXmlFile | The first xml file to be compared NOTE: The full Unicode character set is not supported for this parameter. |
| masterXmlFile | The second xml file to be compared against NOTE: The full Unicode character set is not supported for this parameter. |
| compareOptions | comparison options |
| tag_t NXOpen::Validate::XmlComparator::Tag | ( | ) | const |
Returns the tag of this object.