lib3mf 2.5 :
- aggiornamento versione - utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user