eis/eqpalg/exp_macro/hold.h

29 lines
620 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* @file hold.h
* @brief 保存不变
* hold(n,time)
* @author your name (you@domain.com)
* @version 0.1
* @date 2023-12-06
*
* Copyright: Baosight Co. Ltd.
* DO NOT COPY/USE WITHOUT PERMISSION
*
*/
#pragma once
#include <string>
#include <boost/regex.hpp>
/**
* @brief 解析hold(tag[n],T)
* 含义tag[n]保持T分钟数值不变
* @param exp_str My Param doc
* @return std::string
*/
std::string replace_hold_macro(std::string&& exp_str);
/**
* @brief
* @param exp_str My Param doc
* @return std::string
*/
std::string replace_hold_dot_macro(std::string&& exp_str);