2024-08-03 17:11:34 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include <YYCCommonplace.hpp>
|
|
|
|
|
#include <cinttypes>
|
|
|
|
|
|
|
|
|
|
namespace VSW {
|
|
|
|
|
|
|
|
|
|
class Reporter {
|
|
|
|
|
public:
|
|
|
|
|
Reporter();
|
|
|
|
|
~Reporter();
|
|
|
|
|
|
|
|
|
|
protected:
|
2024-08-04 17:43:18 +08:00
|
|
|
virtual void PrePrint(const YYCC::yycc_char8_t* strl);
|
2024-08-03 17:11:34 +08:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
void Err(const YYCC::yycc_char8_t* strl);
|
|
|
|
|
void ErrF(const YYCC::yycc_char8_t* fmt, ...);
|
|
|
|
|
void Warn(const YYCC::yycc_char8_t* strl);
|
|
|
|
|
void WarnF(const YYCC::yycc_char8_t* fmt, ...);
|
|
|
|
|
void Info(const YYCC::yycc_char8_t* strl);
|
|
|
|
|
void InfoF(const YYCC::yycc_char8_t* fmt, ...);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
namespace DataTypes {
|
|
|
|
|
|
|
|
|
|
enum class BehaviorLinkIOType : int {
|
|
|
|
|
Input,
|
|
|
|
|
Output
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
enum class ParameterLinkIOType : int {
|
|
|
|
|
ParameterIn,
|
|
|
|
|
ParameterOut,
|
|
|
|
|
/// @brief When using this, ignore [index] and [input_is_bb], set [input_index] to -1
|
|
|
|
|
ParameterLocal,
|
|
|
|
|
/// @brief When using this, ignore [index] and [input_is_bb], set [input_index] to -1
|
|
|
|
|
ParameterTarget,
|
|
|
|
|
/// @brief When using this, ignore [index], and [input_is_bb] will become [input_is_dataarray]
|
|
|
|
|
pParameterAttribute
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|