Sha256: 2790dbb297c3105fa107466add730d7a134bb3e088636ccc5409eaa0c1628659
Contents?: true
Size: 719 Bytes
Versions: 6
Compression:
Stored size: 719 Bytes
Contents
#ifndef SVG_ATTRIBUTE_PARSER_H #define SVG_ATTRIBUTE_PARSER_H #include <string> #include <map> #include <iostream> #include <libxml/tree.h> #include "Parser.h" namespace SWF { class AttributeParser : public Parser { public: AttributeParser() : Parser(':', ';') { } void parseNode(xmlNodePtr node); std::map<std::string, std::string>& getAttributes(); double getDouble(const char* attribute, double defaultValue = 0, double value100 = 1); const char* getString(const char* attribute); const char* operator[](const char* attribute); private: std::map<std::string, std::string> attributes; void handleData(const std::string& attrib, const std::vector<std::string>& value); }; } #endif
Version data entries
6 entries across 6 versions & 1 rubygems