lib3mf 2.5 :

- aggiornamento versione
- utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
SaraP
2026-08-25 12:44:11 +02:00
parent ea6efc1e36
commit 513f08e691
544 changed files with 52634 additions and 30760 deletions
+18 -1
View File
@@ -83,8 +83,18 @@ namespace NMR {
writeConstStringAttribute(pAttributeName, sStream.str().c_str());
}
void CModelWriterNode::writeUintAttribute(_In_z_ const nfChar * pAttributeName, _In_ nfUint32 nAttributeValue)
void CModelWriterNode::writePrefixedIntAttribute(
const nfChar* pPrefix, const nfChar* pAttributeName,
nfInt32 nAttributeValue)
{
std::stringstream sStream;
sStream << nAttributeValue;
writeConstPrefixedStringAttribute(pPrefix, pAttributeName, sStream.str().c_str());
}
void CModelWriterNode::writeUintAttribute(
_In_z_ const nfChar* pAttributeName, _In_ nfUint32 nAttributeValue)
{
std::stringstream sStream;
sStream << nAttributeValue;
writeConstStringAttribute(pAttributeName, sStream.str().c_str());
@@ -97,6 +107,13 @@ namespace NMR {
writeConstStringAttribute(pAttributeName, sStream.str().c_str());
}
void CModelWriterNode::writeDoubleAttribute(_In_z_ const nfChar* pAttributeName, _In_ nfDouble dAttributeValue)
{
std::stringstream sStream;
sStream << dAttributeValue;
writeConstStringAttribute(pAttributeName, sStream.str().c_str());
}
void CModelWriterNode::writeStartElement(_In_z_ const nfChar * pElementName)
{
m_pXMLWriter->WriteStartElement(nullptr, pElementName, nullptr);