// // FBXToJSON.h // libraries/model-serializers/src // // Created by Simon Walton on 5/4/2018. // Copyright 2018 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_FBXToJSON_h #define hifi_FBXToJSON_h #include #include // Forward declarations. class FBXNode; template class QVector; class FBXToJSON : public std::ostringstream { public: FBXToJSON& operator<<(const FBXNode& fbxNode); private: template FBXToJSON& operator<<(const QVector& arrayProp); static std::string stringEscape(const std::string& in); int _indentLevel { 0 }; }; #endif // hifi_FBXToJSON_h