35 using CLevelParserLineUPtr = std::unique_ptr<CLevelParserLine>;
51 const std::string& GetLevelFilename();
53 std::string GetCommand();
54 void SetCommand(std::string command);
57 void AddParam(std::string name, CLevelParserParamUPtr value);
59 friend std::ostream& operator<<(std::ostream& str,
const CLevelParserLine& line);
63 std::string m_levelFilename;
65 std::string m_command;
66 std::map<std::string, CLevelParserParamUPtr> m_params;
Value of command argument in level file.
Definition: parserline.h:37
Definition: parserparam.h:51
void SetLevel(CLevelParser *level)
Set CLevelParser this line is part of.
Definition: parserline.cpp:51
int GetLineNumber()
Get line number.
Definition: parserline.cpp:41
CLevelParser * GetLevel()
Get CLevelParser this line is part of.
Definition: parserline.cpp:46