Prepare archive structure.

This commit is contained in:
Kim Kulling
2017-11-23 22:47:18 +01:00
parent 454b8919b0
commit 09a5946dbd
6 changed files with 119 additions and 31 deletions

View File

@@ -714,7 +714,7 @@ public:
if (floatValue) {
return floatValue->value.size() == 1 ? floatValue->value.front() : 0;
}
return atof(attr->value->toString().c_str());
return static_cast<float>( atof( attr->value->toString().c_str() ) );
}
virtual float getAttributeValueAsFloat(int idx) const /*override*/ {
@@ -725,7 +725,7 @@ public:
if (floatValue) {
return floatValue->value.size() == 1 ? floatValue->value.front() : 0;
}
return atof(attributes[idx].value->toString().c_str());
return static_cast<float>( atof( attributes[ idx ].value->toString().c_str() ) );
}
virtual const char* getNodeName() const /*override*/ {
@@ -1792,7 +1792,7 @@ public:
virtual void registerDecoder(const std::string &/*algorithmUri*/, std::unique_ptr<FIDecoder> /*decoder*/) /*override*/ {}
virtual void registerVocabulary(const std::string &/*vocabularyUri*/, const FIVocabulary */*vocabulary*/) /*override*/ {}
virtual void registerVocabulary(const std::string &/*vocabularyUri*/, const FIVocabulary * /*vocabulary*/) /*override*/ {}
private: