Files
eepp/include/eepp/system/functionstring.hpp
Martín Lucas Golini 220cf0f510 DrawableImageParser: now supports "icon" and "glyph" functions.
StyleSheetSpecification: Added "background-tint" and "foreground-tint" (tints the "background-image" and "foreground-image" respectively).
FunctionString: minor fix and now stores if the parameters was parsed as a string.
2022-08-07 02:09:52 -03:00

35 lines
731 B
C++

#ifndef EE_SYSTEM_FUNCTIONSTRING_HPP
#define EE_SYSTEM_FUNCTIONSTRING_HPP
#include <eepp/config.hpp>
#include <string>
#include <vector>
namespace EE { namespace System {
class EE_API FunctionString {
public:
static FunctionString parse( const std::string& function );
FunctionString( const std::string& name, const std::vector<std::string>& parameters,
const std::vector<bool>& typeStringData );
const std::string& getName() const;
const std::vector<std::string>& getParameters() const;
bool parameterWasString( const Uint32& index ) const;
bool isEmpty() const;
protected:
std::string name;
std::vector<std::string> parameters;
std::vector<bool> typeStringData;
};
}} // namespace EE::System
#endif