*/
typedef std::vector<syntaxElement> CMLFile;
+ /**
+ * Reads a file as string and returns the read data.
+ * @param file_path Full path of the CMakeLists file.
+ * @return A string with the contents of the given file.
+ */
+ std::string readFile(const std::string& file_path);
+
/**
* Reads a CMakeLists file and returns the read data.
* @param file_path Full path of the CMakeLists file.
*/
bool writeCMLFile(const std::string& file_path, const CMLFile& data);
+ /**
+ * @param st Strips all space character at the beginning and at the end of the string.
+ */
+ void normalizeStr(std::string& st);
+
};
#endif /* CDMUTILITIES_H_ */